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,PlainJsonSerializable,QueryVariant,ToCopyableBuilder<GeoPolygonQuery.Builder,GeoPolygonQuery>
@JsonpDeserializable
@Generated("org.opensearch.client.codegen.CodeGenerator")
public class GeoPolygonQuery
extends QueryBase
implements QueryVariant, ToCopyableBuilder<GeoPolygonQuery.Builder,GeoPolygonQuery>
-
Nested Class Summary
Nested ClassesNested classes/interfaces inherited from class org.opensearch.client.opensearch._types.query_dsl.QueryBase
QueryBase.AbstractBuilder<BuilderT extends QueryBase.AbstractBuilder<BuilderT>> -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final JsonpDeserializer<GeoPolygonQuery> Json deserializer forGeoPolygonQuery -
Method Summary
Modifier and TypeMethodDescriptionQueryvariant kind.static GeoPolygonQuery.Builderbuilder()booleanfinal Stringfield()Required -inthashCode()final BooleanAPI name:ignore_unmappedstatic GeoPolygonQueryfinal GeoPolygonPointspolygon()Required -protected voidserializeInternal(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper) protected static voidCreate a new builderToCopyableBuilderthat is initialised with the current state of this object.final GeoValidationMethodAPI name:validation_methodMethods inherited from class org.opensearch.client.opensearch._types.query_dsl.QueryBase
boost, queryName, serialize, setupQueryBaseDeserializerMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.opensearch.client.json.PlainJsonSerializable
toJsonStringMethods inherited from interface org.opensearch.client.opensearch._types.query_dsl.QueryVariant
toQueryMethods inherited from interface org.opensearch.client.util.ToCopyableBuilder
copy
-
Field Details
-
_DESERIALIZER
Json deserializer forGeoPolygonQuery
-
-
Method Details
-
of
public static GeoPolygonQuery of(Function<GeoPolygonQuery.Builder, ObjectBuilder<GeoPolygonQuery>> fn) -
_queryKind
Queryvariant kind.- Specified by:
_queryKindin interfaceQueryVariant
-
field
Required - -
ignoreUnmapped
API name:ignore_unmapped -
polygon
Required - -
validationMethod
API name:validation_method -
serializeInternal
- Overrides:
serializeInternalin classQueryBase
-
toBuilder
Description copied from interface:ToCopyableBuilderCreate a new builderToCopyableBuilderthat is initialised with the current state of this object.- Specified by:
toBuilderin interfaceToCopyableBuilder<GeoPolygonQuery.Builder,GeoPolygonQuery> - Returns:
- a new builder instance.
-
builder
-
setupGeoPolygonQueryDeserializer
protected static void setupGeoPolygonQueryDeserializer(ObjectDeserializer<GeoPolygonQuery.Builder> op) -
hashCode
public int hashCode() -
equals
-