java.lang.Object
org.yamcs.parameterarchive.AggrrayIterator
- All Implemented Interfaces:
AutoCloseable,ParameterIterator,ParchiveIterator<TimedValue>
Iterates over parameter archive segments storing components of an aggregate or array value and reconstructs the
aggregate/array value from those components.
All the values belong to a single parameter group whose id is passed in the constructor.
-
Constructor Summary
ConstructorsConstructorDescriptionAggrrayIterator(ParameterArchive parchive, ParameterId parameterId, int parameterGroupId, ParameterRequest req) -
Method Summary
-
Constructor Details
-
AggrrayIterator
public AggrrayIterator(ParameterArchive parchive, ParameterId parameterId, int parameterGroupId, ParameterRequest req)
-
-
Method Details
-
close
public void close()- Specified by:
closein interfaceAutoCloseable- Specified by:
closein interfaceParchiveIterator<TimedValue>
-
isValid
public boolean isValid()- Specified by:
isValidin interfaceParchiveIterator<TimedValue>
-
value
- Specified by:
valuein interfaceParameterIterator- Specified by:
valuein interfaceParchiveIterator<TimedValue>
-
next
public void next()- Specified by:
nextin interfaceParchiveIterator<TimedValue>
-
getParameterId
- Specified by:
getParameterIdin interfaceParameterIterator
-
getParameterGroupId
public int getParameterGroupId()- Specified by:
getParameterGroupIdin interfaceParameterIterator
-