Class ShapeQuery
- java.lang.Object
-
- org.opensearch.client.opensearch._types.query_dsl.QueryBase
-
- org.opensearch.client.opensearch._types.query_dsl.ShapeQuery
-
- All Implemented Interfaces:
JsonpSerializable,QueryVariant
@JsonpDeserializable public class ShapeQuery extends QueryBase implements QueryVariant
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classShapeQuery.BuilderBuilder forShapeQuery.-
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<ShapeQuery>_DESERIALIZERJson deserializer forShapeQuery
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description Query.Kind_queryKind()Query variant kind.java.lang.Stringfield()Required -java.lang.BooleanignoreUnmapped()API name:ignore_unmappedstatic ShapeQueryof(java.util.function.Function<ShapeQuery.Builder,ObjectBuilder<ShapeQuery>> fn)protected voidserializeInternal(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)protected static voidsetupShapeQueryDeserializer(ObjectDeserializer<ShapeQuery.Builder> op)ShapeFieldQueryshape()Required --
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<ShapeQuery> _DESERIALIZER
Json deserializer forShapeQuery
-
-
Method Detail
-
of
public static ShapeQuery of(java.util.function.Function<ShapeQuery.Builder,ObjectBuilder<ShapeQuery>> fn)
-
_queryKind
public Query.Kind _queryKind()
Query variant kind.- Specified by:
_queryKindin interfaceQueryVariant
-
field
public final java.lang.String field()
Required -
-
shape
public final ShapeFieldQuery shape()
Required -
-
ignoreUnmapped
@Nullable public final java.lang.Boolean ignoreUnmapped()
API name:ignore_unmapped
-
serializeInternal
protected void serializeInternal(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)- Overrides:
serializeInternalin classQueryBase
-
setupShapeQueryDeserializer
protected static void setupShapeQueryDeserializer(ObjectDeserializer<ShapeQuery.Builder> op)
-
-