java.lang.Object
org.apache.lucene.search.DocIdSetIterator
org.elasticsearch.common.lucene.search.BitsIterator
public final class BitsIterator
extends org.apache.lucene.search.DocIdSetIterator
A
DocIdSetIterator over set bits of a Bits instance.-
Field Summary
Fields inherited from class org.apache.lucene.search.DocIdSetIterator
NO_MORE_DOCS -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class org.apache.lucene.search.DocIdSetIterator
all, docIDRunEnd, empty, intoBitSet, range, slowAdvance
-
Constructor Details
-
BitsIterator
public BitsIterator(org.apache.lucene.util.Bits bits)
-
-
Method Details
-
docID
public int docID()- Specified by:
docIDin classorg.apache.lucene.search.DocIdSetIterator
-
nextDoc
public int nextDoc()- Specified by:
nextDocin classorg.apache.lucene.search.DocIdSetIterator
-
advance
public int advance(int target) - Specified by:
advancein classorg.apache.lucene.search.DocIdSetIterator
-
cost
public long cost()- Specified by:
costin classorg.apache.lucene.search.DocIdSetIterator
-