Package whistleDetector
Class WhistleEventLogger
java.lang.Object
generalDatabase.SQLLogging
whistleDetector.WhistleEventLogger
- 
Field Summary
Fields inherited from class generalDatabase.SQLLogging
superDetLogging, UPDATE_POLICY_OVERWRITE, UPDATE_POLICY_WRITENEW - 
Constructor Summary
ConstructorsConstructorDescriptionWhistleEventLogger(WhistleEventDetector whistleEventDetector, PamDataBlock pamDataBlock)  - 
Method Summary
Modifier and TypeMethodDescriptionbooleanlogData(PamConnection con, PamDataUnit dataUnit) Called when a new PamDataUnit is added to a PamDataBlock to write those data to the database.booleanlogData(PamDataUnit dataUnit) voidsetTableData(SQLTypes sqlTypes, PamDataUnit pamDataUnit) Callback function when new data are created that allows the user to set the data for each column.Methods inherited from class generalDatabase.SQLLogging
addAddOn, clearAllAddOns, countTableItems, countTableItems, createDataUnit, 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, logSubtableData, prepareEmulation, prepareForMixedMode, readLastData, readMixedModeData, readNextEmulation, reCheckTable, reLogData, reLogData, removeAddOn, removeAddOn, reset, saveOfflineData, setCanView, setColumnData, setLoadViewData, setTableDefinition, setUpdatePolicy, transferDataFromResult, updateCursorRow, updateSubtable 
- 
Constructor Details
- 
WhistleEventLogger
 
 - 
 - 
Method Details
- 
setTableData
Description copied from class:SQLLoggingCallback function when new data are created that allows the user to set the data for each column. Columns that have data which can be filled automatically (counters, primary keys and columns cross referenced to data in other tables) are filled automatically in fillTableData()- Specified by:
 setTableDatain classSQLLogging- Parameters:
 pamDataUnit-
 - 
logData
Description copied from class:SQLLoggingCalled when a new PamDataUnit is added to a PamDataBlock to write those data to the database. Functionality moved down to PamCursor so that exact writing method can become database specific if necessary.- Overrides:
 logDatain classSQLLogging- Parameters:
 con- Database ConnectiondataUnit- Pamguard Data unit.- Returns:
 - true if written and new index of dataUnit retrieved OK
 - See Also:
 
 - 
logData
 
 -