Package Array

Class StreamerLogging


public class StreamerLogging extends SQLLogging
  • Method Details

    • setTableData

      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
    • prepareForMixedMode

      public boolean prepareForMixedMode(PamConnection con)
      Clear the existing streamers since they will have timestamps from the start of mixed-mode rather than the start of the data. Then try to load the streamers from the database. But check and make sure that there is at least one streamerDataUnit for each of the streamers. If there is no prior streamerDataUnit in the database, then create a new default one with the timestamp from the start of the mixed-mode data.
      Overrides:
      prepareForMixedMode in class SQLLogging