public class PGSegment extends Object
| Constructor and Description |
|---|
PGSegment(int parameterGroupId,
long segmentStart,
SortedIntArray parameterIds) |
| Modifier and Type | Method and Description |
|---|---|
void |
addRecord(long instant,
List<ParameterValue> 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 ParameterGroup
|
void |
consolidate() |
List<ParameterStatusSegment> |
getConsolidatedParameterStatusSegments() |
List<BaseSegment> |
getConsolidatedRawValueSegments() |
List<BaseSegment> |
getConsolidatedValueSegments() |
int |
getParameterGroupId() |
int |
getParameterId(int index) |
long |
getSegmentStart() |
SortedTimeSegment |
getTimeSegment() |
public PGSegment(int parameterGroupId,
long segmentStart,
SortedIntArray parameterIds)
public void addRecord(long instant,
List<ParameterValue> sortedPvList)
instant - sortedPvList - public void consolidate()
public long getSegmentStart()
public SortedTimeSegment getTimeSegment()
public int getParameterGroupId()
public int getParameterId(int index)
public List<BaseSegment> getConsolidatedValueSegments()
public List<BaseSegment> getConsolidatedRawValueSegments()
public List<ParameterStatusSegment> getConsolidatedParameterStatusSegments()
Copyright © 2017 Space Applications Services. All rights reserved.