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.WithScriptNested classes/interfaces inherited from class org.elasticsearch.search.aggregations.support.ValuesSource
ValuesSource.Bytes, ValuesSource.GeoPoint, ValuesSource.Numeric, ValuesSource.Range -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbytesValues(org.apache.lucene.index.LeafReaderContext context)Get a byte array like view into the values.booleanWhether this values source needs scores.Methods inherited from class org.elasticsearch.search.aggregations.support.ValuesSource.Bytes
docsWithValue, roundingPreparerMethods inherited from class org.elasticsearch.search.aggregations.support.ValuesSource
hasOrdinals
-
Constructor Details
-
WithScript
-
-
Method Details
-
needsScores
public boolean needsScores()Description copied from class:ValuesSourceWhether this values source needs scores.- Overrides:
needsScoresin classValuesSource
-
bytesValues
public SortedBinaryDocValues bytesValues(org.apache.lucene.index.LeafReaderContext context) throws IOExceptionDescription copied from class:ValuesSourceGet a byte array like view into the values. This is the "native" way to accessValuesSource.Bytes-style values.- Specified by:
bytesValuesin classValuesSource- Throws:
IOException
-