Interface AcquiredParameterValuesService
-
public interface AcquiredParameterValuesService
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description 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.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.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.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.
-
-
-
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 datastartTime
- - Start of the query time windowendTime
- - End of the query time window- Returns:
- List
- 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 datastartTime
- - Start of the query time windowendTime
- - End of the query time window- Returns:
- List
- 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 datastamp
- - 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 datastart
- - Start of the query time windowend
- - End of the query time windowfundamentals
- - Fundamental variableSet to filter results with.- Returns:
- List
- list of acquired parameter values
-
-