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
-
-
Constructor Summary
Constructors Constructor Description ScriptLongValues(SearchScript script)
-
Method Summary
Modifier and Type Method Description boolean
advanceExact(int target)
void
setScorer(org.apache.lucene.search.Scorer scorer)
-
Methods inherited from class org.elasticsearch.index.fielddata.AbstractSortingNumericDocValues
advance, cost, docID, nextDoc
-
Methods inherited from class org.elasticsearch.index.fielddata.SortingNumericDocValues
docValueCount, nextValue, resize, sort
-
-
-
-
Constructor Detail
-
ScriptLongValues
public ScriptLongValues(SearchScript script)
-
-
Method Detail
-
advanceExact
public boolean advanceExact(int target) throws java.io.IOException
- Throws:
java.io.IOException
-
setScorer
public void setScorer(org.apache.lucene.search.Scorer scorer)
- Specified by:
setScorer
in interfaceScorerAware
-
-