Package rocca
Class RoccaDetectionLogger
java.lang.Object
generalDatabase.SQLLogging
rocca.RoccaDetectionLogger
Databse logging information for Rocca statistics.
- Author:
- Michael Oswald
-
Field Summary
FieldsModifier and TypeFieldDescriptionThe RoccaLoggingDataBlock to be saved to the databasestatic final int
static final int
Fields inherited from class generalDatabase.SQLLogging
superDetLogging, UPDATE_POLICY_OVERWRITE, UPDATE_POLICY_WRITENEW
-
Constructor Summary
ConstructorsConstructorDescriptionRoccaDetectionLogger
(RoccaSidePanel roccaSidePanel, PamDataBlock pamDataBlock) -
Method Summary
Modifier and TypeMethodDescriptionprotected PamDataUnit
createDataUnit
(SQLTypes sqlTypes, long timeMilliseconds, int databaseIndex) Create a new RoccaSightingDataUnit and fill it with values from the databasevoid
setTableData
(SQLTypes sqlTypes, PamDataUnit pamDataUnit) Load up the class fields with the data to saveMethods inherited from class generalDatabase.SQLLogging
addAddOn, clearAllAddOns, countTableItems, countTableItems, createEarlyResultSet, createInClause, createViewResultSet, createViewResultSet, deleteData, deleteData, deleteData, deleteIndexedItems, deleteSubtableItem, deleteSubtableItems, doExtraChecks, double2Float, fillTableData, finalize, findClosestDataPoint, findLogger, getBaseTableDefinition, getEarlyLoadClause, getIdListUpdatClause, getLastLoadIndex, getLastLoadUID, getLastTime, getLoggingAddOns, getPamDataBlock, getTableDefinition, getTimesUpdateClause, getUIDMatchClause, getUpdatePolicy, getViewerCursorFinder, getViewerEverythingClause, getViewerLessThanClause, getViewerLoadClause, getViewerOverlapClause, getViewerUpdateClause, insertCursorRow, isCanView, isLoadViewData, loadDataFrom, loadEarlyData, loadEarlyData, loadLastDataUnit, loadSubtableData, loadSubtableData, loadViewData, loadViewData, loadViewerData, logData, logData, logSubtableData, prepareEmulation, prepareForMixedMode, readLastData, readMixedModeData, readNextEmulation, reCheckTable, reLogData, reLogData, removeAddOn, removeAddOn, reset, saveOfflineData, setCanView, setColumnData, setLoadViewData, setTableDefinition, setUpdatePolicy, transferDataFromResult, updateCursorRow, updateSubtable
-
Field Details
-
Constructor Details
-
Method Details
-
setTableData
Load up the class fields with the data to save- Specified by:
setTableData
in classSQLLogging
- Parameters:
pamDataUnit
- The RoccaSightingDataUnit that contains the detection stats to save
-
createDataUnit
Create a new RoccaSightingDataUnit and fill it with values from the database- Overrides:
createDataUnit
in classSQLLogging
- Parameters:
timeMilliseconds
- parameter from the databasedatabaseIndex
- database index- Returns:
- boolean indicating method success
-