Class ScriptDoubleValues
- java.lang.Object
-
- org.elasticsearch.index.fielddata.SortedNumericDoubleValues
-
- org.elasticsearch.index.fielddata.SortingNumericDoubleValues
-
- org.elasticsearch.search.aggregations.support.values.ScriptDoubleValues
-
- All Implemented Interfaces:
ScorerAware
public class ScriptDoubleValues extends SortingNumericDoubleValues implements ScorerAware
SortingNumericDoubleValuesimplementation which is based on a script
-
-
Field Summary
-
Fields inherited from class org.elasticsearch.index.fielddata.SortingNumericDoubleValues
values
-
-
Constructor Summary
Constructors Constructor Description ScriptDoubleValues(AggregationScript script)
-
Method Summary
Modifier and Type Method Description booleanadvanceExact(int target)Advance the iterator to exactlytargetand return whethertargethas a value.voidsetScorer(org.apache.lucene.search.Scorable scorer)-
Methods inherited from class org.elasticsearch.index.fielddata.SortingNumericDoubleValues
docValueCount, nextValue, resize, sort
-
-
-
-
Constructor Detail
-
ScriptDoubleValues
public ScriptDoubleValues(AggregationScript script)
-
-
Method Detail
-
advanceExact
public boolean advanceExact(int target) throws java.io.IOExceptionDescription 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- Throws:
java.io.IOException
-
setScorer
public void setScorer(org.apache.lucene.search.Scorable scorer)
- Specified by:
setScorerin interfaceScorerAware
-
-