Package org.opensearch.index.fielddata
Class IndexHistogramFieldData
java.lang.Object
org.opensearch.index.fielddata.IndexHistogramFieldData
- All Implemented Interfaces:
IndexFieldData<LeafHistogramFieldData>
public abstract class IndexHistogramFieldData
extends Object
implements IndexFieldData<LeafHistogramFieldData>
Specialization of
IndexFieldData
for histograms.- Opensearch.internal:
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.opensearch.index.fielddata.IndexFieldData
IndexFieldData.Builder, IndexFieldData.Global<FD extends LeafFieldData>, IndexFieldData.XFieldComparatorSource
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionIndexHistogramFieldData
(String fieldName, ValuesSourceType valuesSourceType) -
Method Summary
Modifier and TypeMethodDescriptionfinal String
The field name.The ValuesSourceType of the underlying data.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.opensearch.index.fielddata.IndexFieldData
load, loadDirect, newBucketedSort, sortField
-
Field Details
-
fieldName
-
valuesSourceType
-
-
Constructor Details
-
IndexHistogramFieldData
-
-
Method Details
-
getFieldName
Description copied from interface:IndexFieldData
The field name.- Specified by:
getFieldName
in interfaceIndexFieldData<LeafHistogramFieldData>
-
getValuesSourceType
Description copied from interface:IndexFieldData
The ValuesSourceType of the underlying data. It's possible for fields that use the same IndexFieldData implementation to have different ValuesSourceTypes, such as in the case of Longs and Dates.- Specified by:
getValuesSourceType
in interfaceIndexFieldData<LeafHistogramFieldData>
-