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
SortedBinaryDocValues
implementation 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(AggregationScript script)
-
Method Summary
Modifier and Type Method Description boolean
advanceExact(int doc)
Advance this instance to the given document idvoid
setScorer(org.apache.lucene.search.Scorable scorer)
Methods inherited from class org.elasticsearch.index.fielddata.SortingBinaryDocValues
docValueCount, grow, nextValue, sort
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Constructor Details
-
ScriptBytesValues
-
-
Method Details
-
advanceExact
public boolean advanceExact(int doc) throws java.io.IOExceptionDescription copied from class:SortedBinaryDocValues
Advance this instance to the given document id- Specified by:
advanceExact
in classSortedBinaryDocValues
- Returns:
- true if there is a value for this document
- Throws:
java.io.IOException
-
setScorer
public void setScorer(org.apache.lucene.search.Scorable scorer)- Specified by:
setScorer
in interfaceScorerAware
-