Class AbstractGeoShapeIndexFieldData
java.lang.Object
org.opensearch.index.fielddata.plain.AbstractGeoShapeIndexFieldData
- All Implemented Interfaces:
IndexFieldData<LeafGeoShapeFieldData>
- Direct Known Subclasses:
AbstractGeoShapeIndexFieldData.GeoShapeIndexFieldData
public abstract class AbstractGeoShapeIndexFieldData
extends Object
implements IndexFieldData<LeafGeoShapeFieldData>
Base class for retrieving Geometry docvalues
- Opensearch.internal:
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic class
Builder class for creating the GeoShapeIndexFieldData.static class
A concrete implementation ofAbstractGeoShapeIndexFieldData
which provides how to load the field data aka Doc Values from Lucene.Nested classes/interfaces inherited from interface org.opensearch.index.fielddata.IndexFieldData
IndexFieldData.Global<FD extends LeafFieldData>, IndexFieldData.XFieldComparatorSource
-
Field Summary
-
Method Summary
Modifier and TypeMethodDescriptionfinal String
The field name.The ValuesSourceType of the underlying data.newBucketedSort
(BigArrays bigArrays, Object missingValue, MultiValueMode sortMode, IndexFieldData.XFieldComparatorSource.Nested nested, SortOrder sortOrder, DocValueFormat format, int bucketSize, BucketedSort.ExtraData extra) Build a sort implementation specialized for aggregations.org.apache.lucene.search.SortField
sortField
(Object missingValue, MultiValueMode sortMode, IndexFieldData.XFieldComparatorSource.Nested nested, boolean reverse) Returns theSortField
to use for sorting.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, wideSortField
-
Field Details
-
fieldName
-
valuesSourceType
-
-
Method Details
-
getFieldName
Description copied from interface:IndexFieldData
The field name.- Specified by:
getFieldName
in interfaceIndexFieldData<LeafGeoShapeFieldData>
-
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<LeafGeoShapeFieldData>
-
sortField
public org.apache.lucene.search.SortField sortField(@Nullable Object missingValue, MultiValueMode sortMode, IndexFieldData.XFieldComparatorSource.Nested nested, boolean reverse) Returns theSortField
to use for sorting.- Specified by:
sortField
in interfaceIndexFieldData<LeafGeoShapeFieldData>
-
newBucketedSort
public BucketedSort newBucketedSort(BigArrays bigArrays, Object missingValue, MultiValueMode sortMode, IndexFieldData.XFieldComparatorSource.Nested nested, SortOrder sortOrder, DocValueFormat format, int bucketSize, BucketedSort.ExtraData extra) Build a sort implementation specialized for aggregations.- Specified by:
newBucketedSort
in interfaceIndexFieldData<LeafGeoShapeFieldData>
-