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
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
-
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
-
WithScript
-
-
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 IOException Description 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
-