Class ScriptLongValues
java.lang.Object
org.apache.lucene.search.DocIdSetIterator
org.apache.lucene.index.SortedNumericDocValues
org.elasticsearch.index.fielddata.SortingNumericDocValues
org.elasticsearch.index.fielddata.AbstractSortingNumericDocValues
org.elasticsearch.search.aggregations.support.values.ScriptLongValues
- All Implemented Interfaces:
ScorerAware
public class ScriptLongValues extends AbstractSortingNumericDocValues implements ScorerAware
LongValues
implementation which is based on a script-
Field Summary
Fields inherited from class org.elasticsearch.index.fielddata.SortingNumericDocValues
values, valuesCursor
Fields inherited from class org.apache.lucene.search.DocIdSetIterator
NO_MORE_DOCS
-
Constructor Summary
Constructors Constructor Description ScriptLongValues(AggregationScript script)
-
Method Summary
Modifier and Type Method Description boolean
advanceExact(int target)
void
setScorer(org.apache.lucene.search.Scorable scorer)
Methods inherited from class org.elasticsearch.index.fielddata.AbstractSortingNumericDocValues
advance, cost, docID, nextDoc
Methods inherited from class org.elasticsearch.index.fielddata.SortingNumericDocValues
docValueCount, getArrayLength, growExact, nextValue, resize, sort
Methods inherited from class org.apache.lucene.search.DocIdSetIterator
all, empty, range, slowAdvance
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Constructor Details
-
ScriptLongValues
-
-
Method Details
-
advanceExact
public boolean advanceExact(int target) throws java.io.IOException- Throws:
java.io.IOException
-
setScorer
public void setScorer(org.apache.lucene.search.Scorable scorer)- Specified by:
setScorer
in interfaceScorerAware
-