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
ValuesSource
implementation for stand alone scripts returning a Bytes value-
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
-
Method Summary
Modifier and TypeMethodDescriptionbytesValues(org.apache.lucene.index.LeafReaderContext context)
Get a byte array like view into the values.boolean
Whether this values source needs scores.Methods inherited from class org.elasticsearch.search.aggregations.support.ValuesSource.Bytes
docsWithValue, roundingPreparer
Methods inherited from class org.elasticsearch.search.aggregations.support.ValuesSource
hasOrdinals
-
Constructor Details
-
Script
-
-
Method Details
-
bytesValues
public SortedBinaryDocValues bytesValues(org.apache.lucene.index.LeafReaderContext context) throws IOExceptionDescription copied from class:ValuesSource
Get a byte array like view into the values. This is the "native" way to accessValuesSource.Bytes
-style values.- Specified by:
bytesValues
in classValuesSource
- Throws:
IOException
-
needsScores
public boolean needsScores()Description copied from class:ValuesSource
Whether this values source needs scores.- Overrides:
needsScores
in classValuesSource
-