Class DoubleScriptDocValues
java.lang.Object
org.elasticsearch.index.fielddata.SortedNumericDoubleValues
org.elasticsearch.index.fielddata.DoubleScriptDocValues
-
Method Summary
Modifier and TypeMethodDescriptionbooleanadvanceExact(int docId)Advance the iterator to exactlytargetand return whethertargethas a value.intRetrieves the number of values for the current document.doubleIterates to the next value in the current document.
-
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
-