Class SortedNumericDoubleValues
- java.lang.Object
-
- org.elasticsearch.index.fielddata.SortedNumericDoubleValues
-
- Direct Known Subclasses:
SortingNumericDoubleValues
public abstract class SortedNumericDoubleValues extends java.lang.ObjectClone ofSortedNumericDocValuesfor double values.
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedSortedNumericDoubleValues()Sole constructor.
-
Method Summary
Modifier and Type Method Description abstract booleanadvanceExact(int target)Advance the iterator to exactlytargetand return whethertargethas a value.abstract intdocValueCount()Retrieves the number of values for the current document.abstract doublenextValue()Iterates to the next value in the current document.
-
-
-
Method Detail
-
advanceExact
public abstract boolean advanceExact(int target) throws java.io.IOExceptionAdvance the iterator to exactlytargetand return whethertargethas a value.targetmust be greater than or equal to the current doc ID and must be a valid doc ID, ie. ≥ 0 and <maxDoc.- Throws:
java.io.IOException
-
nextValue
public abstract double nextValue() throws java.io.IOExceptionIterates to the next value in the current document. Do not call this more thandocValueCount()times for the document.- Throws:
java.io.IOException
-
docValueCount
public abstract int docValueCount()
Retrieves the number of values for the current document. This must always be greater than zero. It is illegal to call this method afteradvanceExact(int)returnedfalse.
-
-