java.lang.Object
org.yamcs.parameterarchive.PGSegment
Parameter Group segment - keeps references to Time and Value segments for a given parameter group and segment.
This class is used during the parameter archive buildup
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddRecord(long instant, List<BasicParameterValue> sortedPvList) Add a new record instant goes into the timeSegment the values goes each into a value segment the sortedPvList list has to be already sorted according to the definition of the ParameterGroupvoidlongintintgetParameterId(int index) getParameterValue(int pid) longlongintsize()toString()
-
Constructor Details
-
PGSegment
-
-
Method Details
-
addRecord
Add a new record instant goes into the timeSegment the values goes each into a value segment the sortedPvList list has to be already sorted according to the definition of the ParameterGroup- Parameters:
instant-sortedPvList-
-
consolidate
public void consolidate() -
getParameterValue
-
getInterval
public long getInterval() -
getSegmentStart
public long getSegmentStart() -
getSegmentEnd
public long getSegmentEnd()- Returns:
- timestamp of the last parameter in this segment
-
getTimeSegment
-
getParameterGroupId
public int getParameterGroupId() -
getParameterId
public int getParameterId(int index) -
getConsolidatedValueSegments
-
getConsolidatedRawValueSegments
-
getConsolidatedParameterStatusSegments
-
size
public int size() -
toString
-