Class SortingNumericDocValues
- java.lang.Object
-
- org.apache.lucene.search.DocIdSetIterator
-
- org.apache.lucene.index.SortedNumericDocValues
-
- org.elasticsearch.index.fielddata.SortingNumericDocValues
-
- Direct Known Subclasses:
AbstractSortingNumericDocValues
public abstract class SortingNumericDocValues extends org.apache.lucene.index.SortedNumericDocValuesBase class for buildingSortedNumericDocValuesinstances based on unsorted content.
-
-
Field Summary
Fields Modifier and Type Field Description protected long[]valuesprotected intvaluesCursor
-
Constructor Summary
Constructors Modifier Constructor Description protectedSortingNumericDocValues()
-
Method Summary
Modifier and Type Method Description abstract booleanadvanceExact(int arg0)intdocValueCount()longnextValue()protected voidresize(int newSize)Set thedocValueCount()and ensure that thevaluesarray can store at least that many entries.protected voidsort()
-
-
-
Method Detail
-
resize
protected final void resize(int newSize)
Set thedocValueCount()and ensure that thevaluesarray can store at least that many entries.
-
sort
protected final void sort()
-
docValueCount
public final int docValueCount()
- Specified by:
docValueCountin classorg.apache.lucene.index.SortedNumericDocValues
-
nextValue
public final long nextValue()
- Specified by:
nextValuein classorg.apache.lucene.index.SortedNumericDocValues
-
advanceExact
public abstract boolean advanceExact(int arg0) throws java.io.IOException- Throws:
java.io.IOException
-
-