Class DetectorSQLLogging

java.lang.Object
generalDatabase.SQLLogging
likelihoodDetectionModule.thresholdDetector.DetectorSQLLogging

public class DetectorSQLLogging extends SQLLogging
This class is responsible for writing ThresholdDetectorDataUnits to the database (if configured). This code was mostly borrowed from the workshop demo, with some custom fields added.
Author:
Dave Flogeras
  • Constructor Details

  • Method Details

    • createTableDefinition

      public PamTableDefinition createTableDefinition()
    • 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