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

public class GeoShapeDVLeafFieldData extends AbstractLeafGeoShapeFieldData
This is the class that converts the DocValue of GeoShape field which is stored in Binary form using LatLonShapeDocValuesField to GeoShapeDocValue.
Opensearch.internal:
  • Method Details

    • ramBytesUsed

      public long ramBytesUsed()
      Return the memory usage of this object in bytes. Negative values are illegal.
    • close

      public void close()
    • getChildResources

      public Collection<org.apache.lucene.util.Accountable> getChildResources()
      Returns nested resources of this class. The result should be a point-in-time snapshot (to avoid race conditions).
      See Also:
      • Accountables
    • getGeoShapeValue

      public GeoShapeValue getGeoShapeValue()
      Reads the binary data from the LeafReader for a geo shape field and returns GeoShapeValue.StandardGeoShapeValue instance which can be used to get the doc values from Lucene.
      Returns:
      GeoShapeValue.StandardGeoShapeValue