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.SortedNumericDocValues
Base class for buildingSortedNumericDocValues
instances based on unsorted content.
-
-
Field Summary
Fields Modifier and Type Field Description protected long[]
values
protected int
valuesCursor
-
Constructor Summary
Constructors Modifier Constructor Description protected
SortingNumericDocValues()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description abstract boolean
advanceExact(int arg0)
int
docValueCount()
long
nextValue()
protected void
resize(int newSize)
Set thedocValueCount()
and ensure that thevalues
array can store at least that many entries.protected void
sort()
-
-
-
Method Detail
-
resize
protected final void resize(int newSize)
Set thedocValueCount()
and ensure that thevalues
array can store at least that many entries.
-
sort
protected final void sort()
-
docValueCount
public final int docValueCount()
- Specified by:
docValueCount
in classorg.apache.lucene.index.SortedNumericDocValues
-
nextValue
public final long nextValue()
- Specified by:
nextValue
in classorg.apache.lucene.index.SortedNumericDocValues
-
advanceExact
public abstract boolean advanceExact(int arg0) throws java.io.IOException
- Throws:
java.io.IOException
-
-