Class ScriptBytesValues
- java.lang.Object
-
- org.elasticsearch.index.fielddata.SortedBinaryDocValues
-
- org.elasticsearch.index.fielddata.SortingBinaryDocValues
-
- org.elasticsearch.search.aggregations.support.values.ScriptBytesValues
-
- All Implemented Interfaces:
ScorerAware
public class ScriptBytesValues extends SortingBinaryDocValues implements ScorerAware
SortedBinaryDocValuesimplementation that reads values from a script.
-
-
Field Summary
-
Fields inherited from class org.elasticsearch.index.fielddata.SortingBinaryDocValues
count, values
-
-
Constructor Summary
Constructors Constructor Description ScriptBytesValues(SearchScript script)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanadvanceExact(int doc)Advance this instance to the given document idvoidsetScorer(org.apache.lucene.search.Scorer scorer)-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from class org.elasticsearch.index.fielddata.SortingBinaryDocValues
docValueCount, grow, nextValue, sort
-
-
-
-
Constructor Detail
-
ScriptBytesValues
public ScriptBytesValues(SearchScript script)
-
-
Method Detail
-
advanceExact
public boolean advanceExact(int doc) throws java.io.IOExceptionDescription copied from class:SortedBinaryDocValuesAdvance this instance to the given document id- Specified by:
advanceExactin classSortedBinaryDocValues- Returns:
- true if there is a value for this document
- Throws:
java.io.IOException
-
setScorer
public void setScorer(org.apache.lucene.search.Scorer scorer)
- Specified by:
setScorerin interfaceScorerAware
-
-