Package GPS
Class GpsLogger
java.lang.Object
generalDatabase.SQLLogging
GPS.GpsLogger
- Direct Known Subclasses:
 NetGPSLogging
- 
Field Summary
FieldsFields inherited from class generalDatabase.SQLLogging
superDetLogging, UPDATE_POLICY_OVERWRITE, UPDATE_POLICY_WRITENEW - 
Constructor Summary
Constructors - 
Method Summary
Modifier and TypeMethodDescriptionprotected PamDataUnitcreateDataUnit(SQLTypes sqlTypes, long dataTime, int iD) Turn the data, which have been transferred back into the PamTableItems back into a usable data.protected ResultSetcreateViewResultSet(PamConnection con, PamViewParameters pamViewParameters) Get a results set for the viewer.booleandoExtraChecks(DBProcess dbProcess, PamConnection connection) Gives each module a chance to do additional checks and alterations to the database table at connection time.booleanvoidsetTableData(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, createEarlyResultSet, createInClause, createViewResultSet, deleteData, deleteData, deleteData, deleteIndexedItems, deleteSubtableItem, deleteSubtableItems, 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
- 
defaultDataTableName
- See Also:
 
 
 - 
 - 
Constructor Details
- 
GpsLogger
 
 - 
 - 
Method Details
- 
doExtraChecks
Description copied from class:SQLLoggingGives each module a chance to do additional checks and alterations to the database table at connection time. e.g. the GPS module may want to check that the table is not an old Logger table and if necessary alter the columns into the PAMGUARD format.- Overrides:
 doExtraChecksin classSQLLogging- Parameters:
 connection-- Returns:
 - true if tests and alterations OK.
 
 - 
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-
 - 
createDataUnit
Description copied from class:SQLLoggingTurn the data, which have been transferred back into the PamTableItems back into a usable data. Don't add to datablock. This will happen in calling function after additional add-ons and annotations have been added to the data unit. .- Overrides:
 createDataUnitin classSQLLogging- Returns:
 - true if a data unit was successfully created
 
 - 
getCanLog
public boolean getCanLog() - 
createViewResultSet
Description copied from class:SQLLoggingGet a results set for the viewer. In principle, the view parameters can contain information about the analysis time as well as the actual data view time, but this is never used- Overrides:
 createViewResultSetin classSQLLogging- Parameters:
 con- connectionpamViewParameters- view parameters.- Returns:
 - a result set
 
 
 -