Class DoubleScriptDocValues
java.lang.Object
org.elasticsearch.index.fielddata.SortedNumericDoubleValues
org.elasticsearch.index.fielddata.DoubleScriptDocValues
public final class DoubleScriptDocValues extends SortedNumericDoubleValues
-
Method Summary
Modifier and Type Method Description booleanadvanceExact(int docId)Advance the iterator to exactlytargetand return whethertargethas a value.intdocValueCount()Retrieves the number of values for the current document.doublenextValue()Iterates to the next value in the current document.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Method Details
-
advanceExact
public boolean advanceExact(int docId)Description copied from class:SortedNumericDoubleValuesAdvance 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.- Specified by:
advanceExactin classSortedNumericDoubleValues
-
nextValue
public double nextValue()Description copied from class:SortedNumericDoubleValuesIterates to the next value in the current document. Do not call this more thanSortedNumericDoubleValues.docValueCount()times for the document.- Specified by:
nextValuein classSortedNumericDoubleValues
-
docValueCount
public int docValueCount()Description copied from class:SortedNumericDoubleValuesRetrieves the number of values for the current document. This must always be greater than zero. It is illegal to call this method afterSortedNumericDoubleValues.advanceExact(int)returnedfalse.- Specified by:
docValueCountin classSortedNumericDoubleValues
-