Class AbstractNumericDocValues
java.lang.Object
org.apache.lucene.search.DocIdSetIterator
org.apache.lucene.index.NumericDocValues
org.elasticsearch.index.fielddata.AbstractNumericDocValues
public abstract class AbstractNumericDocValues
extends org.apache.lucene.index.NumericDocValues
Base implementation that throws an
IOException
for the
DocIdSetIterator
APIs. This impl is safe to use for sorting and
aggregations, which only use advanceExact(int)
and
NumericDocValues.longValue()
.-
Field Summary
Fields inherited from class org.apache.lucene.search.DocIdSetIterator
NO_MORE_DOCS
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionint
advance(int target)
abstract boolean
advanceExact(int arg0)
long
cost()
int
nextDoc()
Methods inherited from class org.apache.lucene.index.NumericDocValues
longValue
Methods inherited from class org.apache.lucene.search.DocIdSetIterator
all, docID, empty, range, slowAdvance
-
Constructor Details
-
AbstractNumericDocValues
public AbstractNumericDocValues()
-
-
Method Details
-
nextDoc
- Specified by:
nextDoc
in classorg.apache.lucene.search.DocIdSetIterator
- Throws:
IOException
-
advance
- Specified by:
advance
in classorg.apache.lucene.search.DocIdSetIterator
- Throws:
IOException
-
cost
public long cost()- Specified by:
cost
in classorg.apache.lucene.search.DocIdSetIterator
-
advanceExact
- Throws:
IOException
-