public abstract class AbstractSortedDocValues
extends org.apache.lucene.index.SortedDocValues
IOException
for the
DocIdSetIterator
APIs. This impl is safe to use for sorting and
aggregations, which only use advanceExact(int)
and
SortedDocValues.ordValue()
.Constructor | Description |
---|---|
AbstractSortedDocValues() |
Modifier and Type | Method | Description |
---|---|---|
int |
advance(int target) |
|
abstract boolean |
advanceExact(int arg0) |
|
long |
cost() |
|
int |
nextDoc() |
all, docID, empty, slowAdvance
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
public abstract boolean advanceExact(int arg0) throws java.io.IOException
java.io.IOException