Package org.opensearch.index.fielddata
Class GeoShapeValue
java.lang.Object
org.opensearch.index.fielddata.GeoShapeValue
- Direct Known Subclasses:
GeoShapeValue.EmptyGeoShapeValue
,GeoShapeValue.MissingGeoShapeValue
,GeoShapeValue.StandardGeoShapeValue
A stateful lightweight iterator interface to read the stored form of
Geometry
aka
LatLonShapeDocValuesField
from Lucene per document. Check GeoShapeFieldMapper
for details how we
converted the Geometry
to LatLonShapeDocValuesField
- Opensearch.internal:
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic class
This is the representation of an EmptyGeoShapeValuestatic class
The MissingGeoShapeValue is used when on a particular document the GeoShape field is not present and user has provided a missing/default GeoShape value in the input which should be used.static class
This is the standard implementation of theGeoShapeValue
interface for iterating over the doc values for a GeoShape field. -
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionabstract boolean
advanceExact
(int doc) Advance this instance to the given document idabstract GeoShapeDocValue
Return the next value associated with the current document.
-
Constructor Details
-
GeoShapeValue
protected GeoShapeValue()Creates a newGeoShapeValue
instance
-
-
Method Details
-
advanceExact
Advance this instance to the given document id- Returns:
- true if there is a value for this document
- Throws:
IOException
-
nextValue
Return the next value associated with the current document.- Returns:
- the next value for the current docID set to
advanceExact(int)
. - Throws:
IOException
-