Class GeoPolygonQuery
- java.lang.Object
-
- org.opensearch.client.opensearch._types.query_dsl.QueryBase
-
- org.opensearch.client.opensearch._types.query_dsl.GeoPolygonQuery
-
- All Implemented Interfaces:
JsonpSerializable,QueryVariant
@Deprecated @JsonpDeserializable public class GeoPolygonQuery extends QueryBase implements QueryVariant
Deprecated.7.12.0 Use geo-shape instead.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classGeoPolygonQuery.BuilderDeprecated.-
Nested classes/interfaces inherited from class org.opensearch.client.opensearch._types.query_dsl.QueryBase
QueryBase.AbstractBuilder<BuilderT extends QueryBase.AbstractBuilder<BuilderT>>
-
-
Field Summary
Fields Modifier and Type Field Description static JsonpDeserializer<GeoPolygonQuery>_DESERIALIZERDeprecated.Json deserializer forGeoPolygonQuery
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description Query.Kind_queryKind()Deprecated.Query variant kind.java.lang.Stringfield()Deprecated.Required -java.lang.BooleanignoreUnmapped()Deprecated.API name:ignore_unmappedstatic GeoPolygonQueryof(java.util.function.Function<GeoPolygonQuery.Builder,ObjectBuilder<GeoPolygonQuery>> fn)Deprecated.GeoPolygonPointspolygon()Deprecated.Required -protected voidserializeInternal(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)Deprecated.protected static voidsetupGeoPolygonQueryDeserializer(ObjectDeserializer<GeoPolygonQuery.Builder> op)Deprecated.GeoValidationMethodvalidationMethod()Deprecated.API name:validation_method-
Methods inherited from class org.opensearch.client.opensearch._types.query_dsl.QueryBase
boost, queryName, serialize, setupQueryBaseDeserializer
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.opensearch.client.opensearch._types.query_dsl.QueryVariant
_toQuery
-
-
-
-
Field Detail
-
_DESERIALIZER
public static final JsonpDeserializer<GeoPolygonQuery> _DESERIALIZER
Deprecated.Json deserializer forGeoPolygonQuery
-
-
Method Detail
-
of
public static GeoPolygonQuery of(java.util.function.Function<GeoPolygonQuery.Builder,ObjectBuilder<GeoPolygonQuery>> fn)
Deprecated.
-
_queryKind
public Query.Kind _queryKind()
Deprecated.Query variant kind.- Specified by:
_queryKindin interfaceQueryVariant
-
field
public final java.lang.String field()
Deprecated.Required -
-
polygon
public final GeoPolygonPoints polygon()
Deprecated.Required -
-
validationMethod
@Nullable public final GeoValidationMethod validationMethod()
Deprecated.API name:validation_method
-
ignoreUnmapped
@Nullable public final java.lang.Boolean ignoreUnmapped()
Deprecated.API name:ignore_unmapped
-
serializeInternal
protected void serializeInternal(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)Deprecated.- Overrides:
serializeInternalin classQueryBase
-
setupGeoPolygonQueryDeserializer
protected static void setupGeoPolygonQueryDeserializer(ObjectDeserializer<GeoPolygonQuery.Builder> op)
Deprecated.
-
-