Class GeoShapeDVLeafFieldData
java.lang.Object
org.opensearch.index.fielddata.plain.AbstractLeafGeoShapeFieldData
org.opensearch.index.fielddata.plain.GeoShapeDVLeafFieldData
- All Implemented Interfaces:
Closeable
,AutoCloseable
,org.apache.lucene.util.Accountable
,org.opensearch.common.lease.Releasable
,LeafFieldData
,LeafGeoShapeFieldData
This is the class that converts the DocValue of GeoShape field which is stored in Binary form using
LatLonShapeDocValuesField
to GeoShapeDocValue
.- Opensearch.internal:
-
Field Summary
Fields inherited from interface org.apache.lucene.util.Accountable
NULL_ACCOUNTABLE
-
Method Summary
Modifier and TypeMethodDescriptionvoid
close()
Collection
<org.apache.lucene.util.Accountable> Returns nested resources of this class.Reads the binary data from theLeafReader
for a geo shape field and returnsGeoShapeValue.StandardGeoShapeValue
instance which can be used to get the doc values from Lucene.long
Return the memory usage of this object in bytes.Methods inherited from class org.opensearch.index.fielddata.plain.AbstractLeafGeoShapeFieldData
getBytesValues, getScriptValues
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.LeafFieldData
getLeafValueFetcher
-
Method Details
-
ramBytesUsed
public long ramBytesUsed()Return the memory usage of this object in bytes. Negative values are illegal. -
close
public void close() -
getChildResources
Returns nested resources of this class. The result should be a point-in-time snapshot (to avoid race conditions).- See Also:
-
getGeoShapeValue
Reads the binary data from theLeafReader
for a geo shape field and returnsGeoShapeValue.StandardGeoShapeValue
instance which can be used to get the doc values from Lucene.- Returns:
GeoShapeValue.StandardGeoShapeValue
-