Class AbstractSortedNumericDocValues
org.apache.lucene.search.DocIdSetIterator
org.apache.lucene.index.SortedNumericDocValues
org.elasticsearch.index.fielddata.AbstractSortedNumericDocValues
- Direct Known Subclasses:
BooleanScriptDocValues
,LongScriptDocValues
public abstract class AbstractSortedNumericDocValues
extends org.apache.lucene.index.SortedNumericDocValues
Base implementation that throws an for the
DocIdSetIterator
APIs. This impl is safe to use for sorting and
aggregations, which only use advanceExact(int)
and
SortedNumericDocValues.docValueCount()
and SortedNumericDocValues.nextValue()
.-
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
docID()
int
nextDoc()
Methods inherited from class org.apache.lucene.index.SortedNumericDocValues
docValueCount, nextValue
Methods inherited from class org.apache.lucene.search.DocIdSetIterator
all, empty, range, slowAdvance
Methods inherited from class java.lang.
, , , , , , , , , ,
-
Constructor Details
-
AbstractSortedNumericDocValues
public AbstractSortedNumericDocValues()
-
-
Method Details
-
docID
public int docID()- Specified by:
docID
in classorg.apache.lucene.search.DocIdSetIterator
-
nextDoc
public int nextDoc() throws- Specified by:
nextDoc
in classorg.apache.lucene.search.DocIdSetIterator
- Throws:
-
advance
public int advance(int target) throws- Specified by:
advance
in classorg.apache.lucene.search.DocIdSetIterator
- Throws:
-
cost
public long cost()- Specified by:
cost
in classorg.apache.lucene.search.DocIdSetIterator
-
advanceExact
public abstract boolean advanceExact(int arg0) throws- Throws:
-