Class ValuesSource.Bytes.WithOrdinals.FieldData
- java.lang.Object
-
- org.elasticsearch.search.aggregations.support.ValuesSource
-
- org.elasticsearch.search.aggregations.support.ValuesSource.Bytes
-
- org.elasticsearch.search.aggregations.support.ValuesSource.Bytes.WithOrdinals
-
- org.elasticsearch.search.aggregations.support.ValuesSource.Bytes.WithOrdinals.FieldData
-
- Enclosing class:
- ValuesSource.Bytes.WithOrdinals
public static class ValuesSource.Bytes.WithOrdinals.FieldData extends ValuesSource.Bytes.WithOrdinals
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.elasticsearch.search.aggregations.support.ValuesSource
ValuesSource.Bytes, ValuesSource.GeoPoint, ValuesSource.Numeric, ValuesSource.WithScript
-
Nested classes/interfaces inherited from class org.elasticsearch.search.aggregations.support.ValuesSource.Bytes
ValuesSource.Bytes.Script, ValuesSource.Bytes.WithOrdinals
-
Nested classes/interfaces inherited from class org.elasticsearch.search.aggregations.support.ValuesSource.Bytes.WithOrdinals
ValuesSource.Bytes.WithOrdinals.FieldData
-
-
Field Summary
Fields Modifier and Type Field Description protected IndexOrdinalsFieldDataindexFieldData-
Fields inherited from class org.elasticsearch.search.aggregations.support.ValuesSource.Bytes.WithOrdinals
EMPTY
-
-
Constructor Summary
Constructors Constructor Description FieldData(IndexOrdinalsFieldData indexFieldData)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description SortedBinaryDocValuesbytesValues(org.apache.lucene.index.LeafReaderContext context)Get the currentValuesSource.WithScript.BytesValues.java.util.function.LongUnaryOperatorglobalOrdinalsMapping(org.apache.lucene.index.LeafReaderContext context)Returns a mapping from segment ordinals to global ordinals.org.apache.lucene.index.SortedSetDocValuesglobalOrdinalsValues(org.apache.lucene.index.LeafReaderContext context)org.apache.lucene.index.SortedSetDocValuesordinalsValues(org.apache.lucene.index.LeafReaderContext context)-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from class org.elasticsearch.search.aggregations.support.ValuesSource
needsScores
-
Methods inherited from class org.elasticsearch.search.aggregations.support.ValuesSource.Bytes.WithOrdinals
docsWithValue, globalMaxOrd
-
-
-
-
Field Detail
-
indexFieldData
protected final IndexOrdinalsFieldData indexFieldData
-
-
Constructor Detail
-
FieldData
public FieldData(IndexOrdinalsFieldData indexFieldData)
-
-
Method Detail
-
bytesValues
public SortedBinaryDocValues bytesValues(org.apache.lucene.index.LeafReaderContext context)
Description copied from class:ValuesSourceGet the currentValuesSource.WithScript.BytesValues.- Specified by:
bytesValuesin classValuesSource
-
ordinalsValues
public org.apache.lucene.index.SortedSetDocValues ordinalsValues(org.apache.lucene.index.LeafReaderContext context)
- Specified by:
ordinalsValuesin classValuesSource.Bytes.WithOrdinals
-
globalOrdinalsValues
public org.apache.lucene.index.SortedSetDocValues globalOrdinalsValues(org.apache.lucene.index.LeafReaderContext context)
- Specified by:
globalOrdinalsValuesin classValuesSource.Bytes.WithOrdinals
-
globalOrdinalsMapping
public java.util.function.LongUnaryOperator globalOrdinalsMapping(org.apache.lucene.index.LeafReaderContext context) throws java.io.IOExceptionDescription copied from class:ValuesSource.Bytes.WithOrdinalsReturns a mapping from segment ordinals to global ordinals.- Specified by:
globalOrdinalsMappingin classValuesSource.Bytes.WithOrdinals- Throws:
java.io.IOException
-
-