Module org.elasticsearch.server
Class LeafPointFieldData<T extends MultiPointValues<? extends SpatialPoint>>
java.lang.Object
org.elasticsearch.index.fielddata.LeafPointFieldData<T>
- All Implemented Interfaces:
Closeable,AutoCloseable,org.apache.lucene.util.Accountable,Releasable,LeafFieldData
- Direct Known Subclasses:
LeafGeoPointFieldData
public abstract class LeafPointFieldData<T extends MultiPointValues<? extends SpatialPoint>>
extends Object
implements LeafFieldData
LeafFieldData specialization for geo points and points.-
Field Summary
Fields inherited from interface org.apache.lucene.util.Accountable
NULL_ACCOUNTABLE -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionabstract TReturn geo-point or point values.abstract org.apache.lucene.index.SortedNumericDocValuesReturn the internal representation of geo_point or point doc values as aSortedNumericDocValues.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.apache.lucene.util.Accountable
getChildResources, ramBytesUsedMethods inherited from interface org.elasticsearch.index.fielddata.LeafFieldData
close, getBytesValues, getFormattedValues, getScriptFieldFactory
-
Constructor Details
-
LeafPointFieldData
public LeafPointFieldData()
-
-
Method Details
-
getPointValues
Return geo-point or point values. -
getSortedNumericDocValues
public abstract org.apache.lucene.index.SortedNumericDocValues getSortedNumericDocValues()Return the internal representation of geo_point or point doc values as aSortedNumericDocValues. A point is encoded as a long that can be decoded by usingGeoPoint.resetFromEncoded(long)
-