Interface AcquiredParameterValuesService
public interface AcquiredParameterValuesService
-
Method Summary
Modifier and TypeMethodDescriptiongetDataDistribution(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.cern.japc.core.AcquiredParameterValuegetParameterValueAtTimestamp(JapcParameterDefinition param, Timestamp stamp) Gets an AcquiredParameterValue for the given AcquiredParameter having a timestamp corresponding exactly to the given timestamp.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.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.
-
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 datastartTime- - Start of the query time windowendTime- - 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 datastartTime- - Start of the query time windowendTime- - 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 datastamp- - 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 datastart- - Start of the query time windowend- - End of the query time windowfundamentals- - Fundamental variableSet to filter results with.- Returns:
- List<AcquiredParameterValue> - list of acquired parameter values
-