Class AbstractSortingNumericDocValues
java.lang.Object
org.apache.lucene.search.DocIdSetIterator
org.apache.lucene.index.SortedNumericDocValues
org.elasticsearch.index.fielddata.SortingNumericDocValues
org.elasticsearch.index.fielddata.AbstractSortingNumericDocValues
- Direct Known Subclasses:
ScriptLongValues
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
SortingNumericDocValues.docValueCount() and SortingNumericDocValues.nextValue().-
Field Summary
Fields inherited from class org.elasticsearch.index.fielddata.SortingNumericDocValues
values, valuesCursorFields inherited from class org.apache.lucene.search.DocIdSetIterator
NO_MORE_DOCS -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintadvance(int target)abstract booleanadvanceExact(int arg0)longcost()intdocID()intnextDoc()Methods inherited from class org.elasticsearch.index.fielddata.SortingNumericDocValues
docValueCount, getArrayLength, growExact, nextValue, resize, sortMethods inherited from class org.apache.lucene.search.DocIdSetIterator
all, empty, range, slowAdvance
-
Constructor Details
-
AbstractSortingNumericDocValues
public AbstractSortingNumericDocValues() -
AbstractSortingNumericDocValues
-
-
Method Details
-
docID
public int docID()- Specified by:
docIDin classorg.apache.lucene.search.DocIdSetIterator
-
nextDoc
- Specified by:
nextDocin classorg.apache.lucene.search.DocIdSetIterator- Throws:
IOException
-
advance
- Specified by:
advancein classorg.apache.lucene.search.DocIdSetIterator- Throws:
IOException
-
cost
public long cost()- Specified by:
costin classorg.apache.lucene.search.DocIdSetIterator
-
advanceExact
- Throws:
IOException
-