Package org.apache.lucene.index
Class DocValuesIterator
- java.lang.Object
-
- org.apache.lucene.search.DocIdSetIterator
-
- org.apache.lucene.index.DocValuesIterator
-
- Direct Known Subclasses:
BinaryDocValues,DocValuesFieldUpdates.Iterator,NumericDocValues,ReadersAndUpdates.MergedDocValues,SortedNumericDocValues,SortedSetDocValues
abstract class DocValuesIterator extends DocIdSetIterator
-
-
Field Summary
-
Fields inherited from class org.apache.lucene.search.DocIdSetIterator
NO_MORE_DOCS
-
-
Constructor Summary
Constructors Constructor Description DocValuesIterator()
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description abstract booleanadvanceExact(int target)Advance the iterator to exactlytargetand return whethertargethas a value.-
Methods inherited from class org.apache.lucene.search.DocIdSetIterator
advance, all, cost, docID, empty, nextDoc, range, slowAdvance
-
-
-
-
Method Detail
-
advanceExact
public abstract boolean advanceExact(int target) throws java.io.IOExceptionAdvance the iterator to exactlytargetand return whethertargethas a value.targetmust be greater than or equal to the currentdoc IDand must be a valid doc ID, ie. ≥ 0 and <maxDoc. After this method returns,DocIdSetIterator.docID()returnstarget.- Throws:
java.io.IOException
-
-