Class ValuesSource.Bytes.Script
- java.lang.Object
-
- org.elasticsearch.search.aggregations.support.ValuesSource
-
- org.elasticsearch.search.aggregations.support.ValuesSource.Bytes
-
- org.elasticsearch.search.aggregations.support.ValuesSource.Bytes.Script
-
- Enclosing class:
- ValuesSource.Bytes
public static class ValuesSource.Bytes.Script extends ValuesSource.Bytes
-
-
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
-
Nested classes/interfaces inherited from class org.elasticsearch.search.aggregations.support.ValuesSource
ValuesSource.Bytes, ValuesSource.GeoPoint, ValuesSource.Numeric, ValuesSource.WithScript
-
-
Constructor Summary
Constructors Constructor Description Script(AggregationScript.LeafFactory script)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description SortedBinaryDocValues
bytesValues(org.apache.lucene.index.LeafReaderContext context)
Get the currentValuesSource.WithScript.BytesValues
.boolean
needsScores()
Whether this values source needs scores.-
Methods inherited from class org.elasticsearch.search.aggregations.support.ValuesSource.Bytes
docsWithValue
-
-
-
-
Constructor Detail
-
Script
public Script(AggregationScript.LeafFactory script)
-
-
Method Detail
-
bytesValues
public SortedBinaryDocValues bytesValues(org.apache.lucene.index.LeafReaderContext context) throws java.io.IOException
Description copied from class:ValuesSource
Get the currentValuesSource.WithScript.BytesValues
.- Specified by:
bytesValues
in classValuesSource
- Throws:
java.io.IOException
-
needsScores
public boolean needsScores()
Description copied from class:ValuesSource
Whether this values source needs scores.- Overrides:
needsScores
in classValuesSource
-
-