Class TrackedGroupSqlLogging

java.lang.Object
generalDatabase.SQLLogging
difar.trackedGroups.TrackedGroupSqlLogging

public class TrackedGroupSqlLogging extends SQLLogging
Database storage of DIFAR information. May as well write out the buoy lat and long. These aren't needed for Viewer operation, but will help with any further offline analysis of the data that get's done. The only really interesting things in the data are the angle and the species selection.
Author:
Brian Miller
  • Constructor Details Link icon

  • Method Details Link icon

    • setTableData Link icon

      public void setTableData(SQLTypes sqlTypes, PamDataUnit pamDataUnit)
      Description copied from class: SQLLogging
      Callback 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:
      setTableData in class SQLLogging
      Parameters:
      pamDataUnit -
    • createDataUnit Link icon

      protected PamDataUnit createDataUnit(SQLTypes sqlTypes, long timeMilliseconds, int databaseIndex)
      Description copied from class: SQLLogging
      Turn 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:
      createDataUnit in class SQLLogging
      Returns:
      true if a data unit was successfully created
    • updateData Link icon

      protected void updateData(SQLTypes sqlTypes, PamDataUnit pamDataUnit)
      Automatically fills table data columns that can be done automatically (counters, primary keys and columns cross referenced to data in other tables). The abstract function setTableData is then called to fill in the other columns with detector specific data.
      Parameters:
      pamDataUnit -
    • loadViewData Link icon

      public boolean loadViewData(PamConnection con, PamViewParameters pamViewParameters, ViewLoadObserver loadObserver)
      After loading the tracked groups, triangulate the positions of all the loaded groups
      Overrides:
      loadViewData in class SQLLogging
      Parameters:
      con - database connection
      pamViewParameters - viewer parameters.
      loadObserver -
      Returns: