Interface AcquiredParameterValuesService


  • public interface AcquiredParameterValuesService
    • Method Detail

      • getDataDistribution

        java.util.List<java.sql.Timestamp> getDataDistribution​(JapcParameterDefinition param,
                                                               java.sql.Timestamp startTime,
                                                               java.sql.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

        java.util.List<cern.japc.core.AcquiredParameterValue> getParameterValuesInTimeWindow​(JapcParameterDefinition param,
                                                                                             java.sql.Timestamp startTime,
                                                                                             java.sql.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,
                                                                           java.sql.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

        java.util.List<cern.japc.core.AcquiredParameterValue> getParameterValuesInTimeWindowFilteredByFundamentals​(JapcParameterDefinition param,
                                                                                                                   java.sql.Timestamp start,
                                                                                                                   java.sql.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