Class AbstractGeoShapeIndexFieldData.GeoShapeIndexFieldData

java.lang.Object
org.opensearch.index.fielddata.plain.AbstractGeoShapeIndexFieldData
org.opensearch.index.fielddata.plain.AbstractGeoShapeIndexFieldData.GeoShapeIndexFieldData
All Implemented Interfaces:
IndexFieldData<LeafGeoShapeFieldData>
Enclosing class:
AbstractGeoShapeIndexFieldData

public static class AbstractGeoShapeIndexFieldData.GeoShapeIndexFieldData extends AbstractGeoShapeIndexFieldData
A concrete implementation of AbstractGeoShapeIndexFieldData which provides how to load the field data aka Doc Values from Lucene.
  • Constructor Details

    • GeoShapeIndexFieldData

      public GeoShapeIndexFieldData(String fieldName, ValuesSourceType valuesSourceType)
  • Method Details

    • load

      public LeafGeoShapeFieldData load(org.apache.lucene.index.LeafReaderContext context)
      Loads the atomic field data for the reader, possibly cached.
      Parameters:
      context - LeafReaderContext
    • loadDirect

      public LeafGeoShapeFieldData loadDirect(org.apache.lucene.index.LeafReaderContext context) throws Exception
      Loads directly the atomic field data for the reader, ignoring any caching involved.
      Parameters:
      context - LeafReaderContext
      Throws:
      Exception