Class AbstractLatLonPointIndexFieldData
java.lang.Object
org.elasticsearch.index.fielddata.plain.AbstractLatLonPointIndexFieldData
- All Implemented Interfaces:
IndexFieldData<LeafGeoPointFieldData>
,IndexGeoPointFieldData
,IndexComponent
- Direct Known Subclasses:
AbstractLatLonPointIndexFieldData.LatLonPointIndexFieldData
public abstract class AbstractLatLonPointIndexFieldData extends java.lang.Object implements IndexGeoPointFieldData
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
AbstractLatLonPointIndexFieldData.Builder
static class
AbstractLatLonPointIndexFieldData.LatLonPointIndexFieldData
Nested classes/interfaces inherited from interface org.elasticsearch.index.fielddata.IndexFieldData
IndexFieldData.Global<FD extends LeafFieldData>, IndexFieldData.XFieldComparatorSource
-
Field Summary
Fields Modifier and Type Field Description protected java.lang.String
fieldName
protected Index
index
protected ValuesSourceType
valuesSourceType
-
Method Summary
Modifier and Type Method Description void
clear()
Clears any resources associated with this field data.java.lang.String
getFieldName()
The field name.ValuesSourceType
getValuesSourceType()
The ValuesSourceType of the underlying data.Index
index()
BucketedSort
newBucketedSort(BigArrays bigArrays, java.lang.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(java.lang.Object missingValue, MultiValueMode sortMode, IndexFieldData.XFieldComparatorSource.Nested nested, boolean reverse)
Returns theSortField
to use for sorting.
-
Field Details
-
index
-
fieldName
protected final java.lang.String fieldName -
valuesSourceType
-
-
Method Details
-
getFieldName
public final java.lang.String getFieldName()Description copied from interface:IndexFieldData
The field name.- Specified by:
getFieldName
in interfaceIndexFieldData<LeafGeoPointFieldData>
-
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<LeafGeoPointFieldData>
-
clear
public final void clear()Description copied from interface:IndexFieldData
Clears any resources associated with this field data.- Specified by:
clear
in interfaceIndexFieldData<LeafGeoPointFieldData>
-
index
- Specified by:
index
in interfaceIndexComponent
-
sortField
public org.apache.lucene.search.SortField sortField(@Nullable java.lang.Object missingValue, MultiValueMode sortMode, IndexFieldData.XFieldComparatorSource.Nested nested, boolean reverse)Description copied from interface:IndexFieldData
Returns theSortField
to use for sorting.- Specified by:
sortField
in interfaceIndexFieldData<LeafGeoPointFieldData>
-
newBucketedSort
public BucketedSort newBucketedSort(BigArrays bigArrays, java.lang.Object missingValue, MultiValueMode sortMode, IndexFieldData.XFieldComparatorSource.Nested nested, SortOrder sortOrder, DocValueFormat format, int bucketSize, BucketedSort.ExtraData extra)Description copied from interface:IndexFieldData
Build a sort implementation specialized for aggregations.- Specified by:
newBucketedSort
in interfaceIndexFieldData<LeafGeoPointFieldData>
-