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 classAbstractLatLonPointIndexFieldData.Builderstatic classAbstractLatLonPointIndexFieldData.LatLonPointIndexFieldDataNested 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.StringfieldNameprotected Indexindexprotected ValuesSourceTypevaluesSourceType -
Method Summary
Modifier and Type Method Description voidclear()Clears any resources associated with this field data.java.lang.StringgetFieldName()The field name.ValuesSourceTypegetValuesSourceType()The ValuesSourceType of the underlying data.Indexindex()BucketedSortnewBucketedSort(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.SortFieldsortField(java.lang.Object missingValue, MultiValueMode sortMode, IndexFieldData.XFieldComparatorSource.Nested nested, boolean reverse)Returns theSortFieldto 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:IndexFieldDataThe field name.- Specified by:
getFieldNamein interfaceIndexFieldData<LeafGeoPointFieldData>
-
getValuesSourceType
Description copied from interface:IndexFieldDataThe 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:
getValuesSourceTypein interfaceIndexFieldData<LeafGeoPointFieldData>
-
clear
public final void clear()Description copied from interface:IndexFieldDataClears any resources associated with this field data.- Specified by:
clearin interfaceIndexFieldData<LeafGeoPointFieldData>
-
index
- Specified by:
indexin 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:IndexFieldDataReturns theSortFieldto use for sorting.- Specified by:
sortFieldin 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:IndexFieldDataBuild a sort implementation specialized for aggregations.- Specified by:
newBucketedSortin interfaceIndexFieldData<LeafGeoPointFieldData>
-