Class ValuesSource.Bytes.WithScript
java.lang.Object
org.elasticsearch.search.aggregations.support.ValuesSource
org.elasticsearch.search.aggregations.support.ValuesSource.Bytes
org.elasticsearch.search.aggregations.support.ValuesSource.Bytes.WithScript
- Enclosing class:
- ValuesSource.Bytes
public static class ValuesSource.Bytes.WithScript extends ValuesSource.Bytes
ValuesSource
subclass for Bytes fields with a Value Script applied-
Nested Class Summary
Nested classes/interfaces inherited from class org.elasticsearch.search.aggregations.support.ValuesSource.Bytes
ValuesSource.Bytes.FieldData, ValuesSource.Bytes.Script, ValuesSource.Bytes.WithOrdinals, ValuesSource.Bytes.WithScript
Nested classes/interfaces inherited from class org.elasticsearch.search.aggregations.support.ValuesSource
ValuesSource.Bytes, ValuesSource.GeoPoint, ValuesSource.Numeric, ValuesSource.Range
-
Constructor Summary
Constructors Constructor Description WithScript(ValuesSource delegate, AggregationScript.LeafFactory script)
-
Method Summary
Modifier and Type Method Description SortedBinaryDocValues
bytesValues(org.apache.lucene.index.LeafReaderContext context)
Get the currentValuesSource.Bytes.WithScript.BytesValues
.boolean
needsScores()
Whether this values source needs scores.Methods inherited from class org.elasticsearch.search.aggregations.support.ValuesSource.Bytes
docsWithValue
-
Constructor Details
-
Method Details
-
needsScores
public boolean needsScores()Description copied from class:ValuesSource
Whether this values source needs scores.- Overrides:
needsScores
in classValuesSource
-
bytesValues
public SortedBinaryDocValues bytesValues(org.apache.lucene.index.LeafReaderContext context) throws java.io.IOExceptionDescription copied from class:ValuesSource
Get the currentValuesSource.Bytes.WithScript.BytesValues
.- Specified by:
bytesValues
in classValuesSource
- Throws:
java.io.IOException
-