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
-
Constructor Summary
Constructors Constructor Description AbstractNumericDocValues()
-
Method Summary
Modifier and Type Method Description int
advance(int target)
abstract boolean
advanceExact(int arg0)
long
cost()
int
nextDoc()
-
Constructor Details
-
AbstractNumericDocValues
public AbstractNumericDocValues()
-
-
Method Details
-
nextDoc
public int nextDoc() throws java.io.IOException- Specified by:
nextDoc
in classorg.apache.lucene.search.DocIdSetIterator
- Throws:
java.io.IOException
-
advance
public int advance(int target) throws java.io.IOException- Specified by:
advance
in classorg.apache.lucene.search.DocIdSetIterator
- Throws:
java.io.IOException
-
cost
public long cost()- Specified by:
cost
in classorg.apache.lucene.search.DocIdSetIterator
-
advanceExact
public abstract boolean advanceExact(int arg0) throws java.io.IOException- Throws:
java.io.IOException
-