public abstract class XFilteredDocIdSetIterator
extends org.apache.lucene.search.DocIdSetIterator
Modifier and Type | Field and Description |
---|---|
protected org.apache.lucene.search.DocIdSetIterator |
_innerIter |
Constructor and Description |
---|
XFilteredDocIdSetIterator(org.apache.lucene.search.DocIdSetIterator innerIter)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
int |
advance(int target) |
long |
cost() |
int |
docID() |
org.apache.lucene.search.DocIdSetIterator |
getDelegate()
Return the wrapped
DocIdSetIterator . |
protected abstract boolean |
match(int doc)
Validation method to determine whether a docid should be in the result set.
|
int |
nextDoc() |
public XFilteredDocIdSetIterator(org.apache.lucene.search.DocIdSetIterator innerIter)
innerIter
- Underlying DocIdSetIterator.public org.apache.lucene.search.DocIdSetIterator getDelegate()
DocIdSetIterator
.protected abstract boolean match(int doc)
doc
- docid to be testedCollectionTerminatedException
- if the underlying iterator is exhausted.XFilteredDocIdSetIterator(DocIdSetIterator)
public int docID()
docID
in class org.apache.lucene.search.DocIdSetIterator
public int nextDoc() throws java.io.IOException
nextDoc
in class org.apache.lucene.search.DocIdSetIterator
java.io.IOException
public int advance(int target) throws java.io.IOException
advance
in class org.apache.lucene.search.DocIdSetIterator
java.io.IOException
public long cost()
cost
in class org.apache.lucene.search.DocIdSetIterator