Package org.opensearch.index.fielddata
Class GeoShapeValue.StandardGeoShapeValue
java.lang.Object
org.opensearch.index.fielddata.GeoShapeValue
org.opensearch.index.fielddata.GeoShapeValue.StandardGeoShapeValue
- Enclosing class:
GeoShapeValue
This is the standard implementation of the
GeoShapeValue
interface for iterating over the doc values
for a GeoShape field.-
Nested Class Summary
Nested classes/interfaces inherited from class org.opensearch.index.fielddata.GeoShapeValue
GeoShapeValue.EmptyGeoShapeValue, GeoShapeValue.MissingGeoShapeValue, GeoShapeValue.StandardGeoShapeValue
-
Constructor Summary
ConstructorDescriptionStandardGeoShapeValue
(org.apache.lucene.index.BinaryDocValues binaryDocValues, String fieldName) -
Method Summary
Modifier and TypeMethodDescriptionboolean
advanceExact
(int doc) Advance this instance to the given document idReturn the next value associated with the current document.
-
Constructor Details
-
StandardGeoShapeValue
public StandardGeoShapeValue(org.apache.lucene.index.BinaryDocValues binaryDocValues, String fieldName)
-
-
Method Details
-
advanceExact
Advance this instance to the given document id- Specified by:
advanceExact
in classGeoShapeValue
- Returns:
- true if there is a value for this document
- Throws:
IOException
-
nextValue
Return the next value associated with the current document.- Specified by:
nextValue
in classGeoShapeValue
- Returns:
- the next value for the current docID set to
advanceExact(int)
. - Throws:
IOException
-