Module datarush.library
Package com.pervasive.datarush.sequences
Interface SeekableTokenValuedIterator
-
- All Superinterfaces:
TokenTyped
,TokenValued
,TokenValuedIterator
- All Known Subinterfaces:
SeekableRecordValuedIterator
,SeekableScalarValuedIterator
public interface SeekableTokenValuedIterator extends TokenValuedIterator
ATokenValuedIterator
that is also seekable.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
seekAbsoluteIndex(int absIndex)
Positions the iterator such that the next call toTokenValuedIterator.stepNext()
will advance to the specified absolute index if the index exists.-
Methods inherited from interface com.pervasive.datarush.tokens.TokenValued
getType, isNull
-
Methods inherited from interface com.pervasive.datarush.sequences.TokenValuedIterator
getAbsoluteIndex, resetIteration, stepNext
-
-
-
-
Method Detail
-
seekAbsoluteIndex
void seekAbsoluteIndex(int absIndex)
Positions the iterator such that the next call toTokenValuedIterator.stepNext()
will advance to the specified absolute index if the index exists. If the index doesn't exist, the next call to stepNext will either return false, indicating that the specified absoluteIndex is larger than any other in the list or true, in which case the absoluteIndex will be greater than than specified.- Parameters:
absIndex
- the absolute index to seek
-
-