Interface TokenValuedIterator

    • Method Detail

      • stepNext

        boolean stepNext()
        Advances to the next value not equal to "zero".
        Returns:
        true if position is beyond the end.
        Throws:
        IteratorEndOfDataException - If an attempt is made to call after it has already returned false
      • getAbsoluteIndex

        int getAbsoluteIndex()
        Returns the dense value index for the current value. Dense value index is the index of the value in the "dense" representation; If this represents an iterator over fields in a record, RecordTokenType.get(denseIndex) will return the associated field.

        NOTE: Iteration order is unspecified on this interface. Some implementations guarantee sort order whereas others do not. Please refer to the documentation on the factory method from which this iterator was constructed for ordering information.

        Returns:
        The dense index.
      • resetIteration

        void resetIteration()
        Resets the iteration to the beginning.