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
public abstract class AbstractSortingNumericDocValues extends SortingNumericDocValues
Base implementation that throws anIOExceptionfor theDocIdSetIteratorAPIs. This impl is safe to use for sorting and aggregations, which only useadvanceExact(int)andSortingNumericDocValues.docValueCount()andSortingNumericDocValues.nextValue().
-
-
Field Summary
-
Fields inherited from class org.elasticsearch.index.fielddata.SortingNumericDocValues
values, valuesCursor
-
-
Constructor Summary
Constructors Constructor Description AbstractSortingNumericDocValues()
-
Method Summary
Modifier and Type Method Description intadvance(int target)abstract booleanadvanceExact(int arg0)longcost()intdocID()intnextDoc()-
Methods inherited from class org.elasticsearch.index.fielddata.SortingNumericDocValues
docValueCount, nextValue, resize, sort
-
-
-
-
Method Detail
-
docID
public int docID()
- Specified by:
docIDin classorg.apache.lucene.search.DocIdSetIterator
-
nextDoc
public int nextDoc() throws java.io.IOException- Specified by:
nextDocin classorg.apache.lucene.search.DocIdSetIterator- Throws:
java.io.IOException
-
advance
public int advance(int target) throws java.io.IOException- Specified by:
advancein classorg.apache.lucene.search.DocIdSetIterator- Throws:
java.io.IOException
-
cost
public long cost()
- Specified by:
costin classorg.apache.lucene.search.DocIdSetIterator
-
advanceExact
public abstract boolean advanceExact(int arg0) throws java.io.IOException- Throws:
java.io.IOException
-
-