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, valuesCursorFields 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 booleanadvanceExact(int target)voidsetScorer(org.apache.lucene.search.Scorable scorer)Methods inherited from class org.elasticsearch.index.fielddata.AbstractSortingNumericDocValues
advance, cost, docID, nextDocMethods inherited from class org.elasticsearch.index.fielddata.SortingNumericDocValues
docValueCount, getArrayLength, growExact, nextValue, resize, sortMethods inherited from class org.apache.lucene.search.DocIdSetIterator
all, empty, range, slowAdvanceMethods 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:
setScorerin interfaceScorerAware
-