Interface AcquiredParameterValuesService


public interface AcquiredParameterValuesService
  • Method Details

    • getDataDistribution

      List<Timestamp> getDataDistribution(JapcParameterDefinition param, Timestamp startTime, Timestamp endTime)
      Gets a list of all the timestamps of the data of the given JAPC parameter logged within the given time window.
      Parameters:
      param - - Acquired parameter object to get data
      startTime - - Start of the query time window
      endTime - - End of the query time window
      Returns:
      List<Timestamp> - a list of java.sql Timestamp objects representing the times at which the given JAPC parameter was logged within the given time window.
    • getParameterValuesInTimeWindow

      List<cern.japc.core.AcquiredParameterValue> getParameterValuesInTimeWindow(JapcParameterDefinition param, Timestamp startTime, Timestamp endTime)
      Gets a list of AcquiredParameterValues for the given JAPC parameter logged within the given time window.
      Parameters:
      param - - Acquired parameter object to get data
      startTime - - Start of the query time window
      endTime - - End of the query time window
      Returns:
      List<AcquiredParameterValue> - list of acquired parameter values
    • getParameterValueAtTimestamp

      cern.japc.core.AcquiredParameterValue getParameterValueAtTimestamp(JapcParameterDefinition param, Timestamp stamp)
      Gets an AcquiredParameterValue for the given AcquiredParameter having a timestamp corresponding exactly to the given timestamp.
      Parameters:
      param - - Acquired parameter object to get data
      stamp - - timestamp at which to extract data
      Returns:
      - AcquiredParameterValue
    • getParameterValuesInTimeWindowFilteredByFundamentals

      List<cern.japc.core.AcquiredParameterValue> getParameterValuesInTimeWindowFilteredByFundamentals(JapcParameterDefinition param, Timestamp start, Timestamp end, VariableSet fundamentals)
      Gets a list of AcquiredParameterValues for the given JAPC parameter logged within the given time window having timestamps matching those of the given Fundamental Variables.
      Parameters:
      param - - Acquired parameter object to get data
      start - - Start of the query time window
      end - - End of the query time window
      fundamentals - - Fundamental variableSet to filter results with.
      Returns:
      List<AcquiredParameterValue> - list of acquired parameter values