Class DoubleScriptDocValues
java.lang.Object
org.elasticsearch.index.fielddata.SortedNumericDoubleValues
org.elasticsearch.index.fielddata.DoubleScriptDocValues
-
Method Summary
Modifier and TypeMethodDescriptionboolean
advanceExact(int docId)
Advance the iterator to exactlytarget
and return whethertarget
has a value.int
Retrieves the number of values for the current document.double
Iterates to the next value in the current document.
-
Method Details
-
advanceExact
public boolean advanceExact(int docId)Description copied from class:SortedNumericDoubleValues
Advance the iterator to exactlytarget
and return whethertarget
has a value.target
must be greater than or equal to the current doc ID and must be a valid doc ID, ie. ≥ 0 and <maxDoc
.- Specified by:
advanceExact
in classSortedNumericDoubleValues
-
nextValue
public double nextValue()Description copied from class:SortedNumericDoubleValues
Iterates to the next value in the current document. Do not call this more thanSortedNumericDoubleValues.docValueCount()
times for the document.- Specified by:
nextValue
in classSortedNumericDoubleValues
-
docValueCount
public int docValueCount()Description copied from class:SortedNumericDoubleValues
Retrieves 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:
docValueCount
in classSortedNumericDoubleValues
-