Module org.elasticsearch.server
Class DoubleScriptDocValues
java.lang.Object
org.elasticsearch.index.fielddata.SortedNumericDoubleValues
org.elasticsearch.index.fielddata.DoubleScriptDocValues
- 
Method SummaryModifier 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- 
advanceExactpublic 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 class- SortedNumericDoubleValues
 
- 
nextValuepublic 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 class- SortedNumericDoubleValues
 
- 
docValueCountpublic 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 class- SortedNumericDoubleValues
 
 
-