Class DocValuesIterator

java.lang.Object
org.apache.lucene.search.DocIdSetIterator
org.apache.lucene.index.DocValuesIterator
Direct Known Subclasses:
BinaryDocValues, DocValuesFieldUpdates.Iterator, NumericDocValues, ReadersAndUpdates.MergedDocValues, SortedDocValues, SortedNumericDocValues, SortedSetDocValues

abstract class DocValuesIterator extends DocIdSetIterator
  • Constructor Details

    • DocValuesIterator

      DocValuesIterator()
  • Method Details

    • advanceExact

      public abstract boolean advanceExact(int target) throws IOException
      Advance the iterator to exactly target and return whether target has a value. target must be greater than or equal to the current doc ID and must be a valid doc ID, ie. ≥ 0 and < maxDoc. After this method returns, DocIdSetIterator.docID() returns target.
      Throws:
      IOException