java.lang.Object
org.yamcs.parameterarchive.SimpleParameterIterator
- All Implemented Interfaces:
AutoCloseable,ParameterIterator,ParchiveIterator<TimedValue>
For a given parameter id and group id, iterates over all parameters in the parameter archive (across all segments and
partitions).
Provides objects of type TimedValue.
It embeds an SegmentIterator object.
-
Constructor Summary
ConstructorsConstructorDescriptionSimpleParameterIterator(ParameterArchive parchive, ParameterId parameterId, int parameterGroupId, ParameterRequest req) -
Method Summary
-
Constructor Details
-
SimpleParameterIterator
public SimpleParameterIterator(ParameterArchive parchive, ParameterId parameterId, int parameterGroupId, ParameterRequest req)
-
-
Method Details
-
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>
-
close
public void close()- Specified by:
closein interfaceAutoCloseable- Specified by:
closein interfaceParchiveIterator<TimedValue>
-
getParameterId
- Specified by:
getParameterIdin interfaceParameterIterator
-
getParameterGroupId
public int getParameterGroupId()- Specified by:
getParameterGroupIdin interfaceParameterIterator
-