Module org.elasticsearch.server
Class ScriptLongValues
java.lang.Object
org.elasticsearch.index.fielddata.SortedNumericLongValues
org.elasticsearch.index.fielddata.SortingNumericLongValues
org.elasticsearch.search.aggregations.support.values.ScriptLongValues
- All Implemented Interfaces:
ScorerAware
LongValues implementation which is based on a script-
Field Summary
Fields inherited from class org.elasticsearch.index.fielddata.SortingNumericLongValues
values, valuesCursorFields inherited from class org.elasticsearch.index.fielddata.SortedNumericLongValues
EMPTY -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanadvanceExact(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.SortingNumericLongValues
docValueCount, getArrayLength, growExact, nextValue, resize, sortMethods inherited from class org.elasticsearch.index.fielddata.SortedNumericLongValues
singleton, unwrapSingleton, wrap
-
Constructor Details
-
ScriptLongValues
-
-
Method Details
-
advanceExact
Description copied from class:SortedNumericLongValuesAdvance 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 classSortedNumericLongValues- Throws:
IOException
-
setScorer
public void setScorer(org.apache.lucene.search.Scorable scorer) - Specified by:
setScorerin interfaceScorerAware
-