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
Modifier and Type Method Description SortedBinaryDocValuesbytesValues(org.apache.lucene.index.LeafReaderContext context)Get the currentValuesSource.WithScript.BytesValues.booleanneedsScores()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:ValuesSourceGet the currentValuesSource.WithScript.BytesValues.- Specified by:
bytesValuesin classValuesSource- Throws:
java.io.IOException
-
needsScores
public boolean needsScores()
Description copied from class:ValuesSourceWhether this values source needs scores.- Overrides:
needsScoresin classValuesSource
-
-