Class GeoShapeQuery
java.lang.Object
co.elastic.clients.elasticsearch._types.query_dsl.QueryBase
co.elastic.clients.elasticsearch._types.query_dsl.GeoShapeQuery
- All Implemented Interfaces:
QueryVariant
,JsonpSerializable
,UnionVariant
@JsonpDeserializable public final class GeoShapeQuery extends QueryBase implements QueryVariant
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
GeoShapeQuery.Builder
Builder forGeoShapeQuery
.Nested classes/interfaces inherited from class co.elastic.clients.elasticsearch._types.query_dsl.QueryBase
QueryBase.AbstractBuilder<BuilderT extends QueryBase.AbstractBuilder<BuilderT>>
-
Field Summary
Fields Modifier and Type Field Description static JsonpDeserializer<GeoShapeQuery>
_DESERIALIZER
Json deserializer forGeoShapeQuery
-
Constructor Summary
Constructors Constructor Description GeoShapeQuery(GeoShapeQuery.Builder builder)
GeoShapeQuery(java.util.function.Function<GeoShapeQuery.Builder,GeoShapeQuery.Builder> fn)
-
Method Summary
Modifier and Type Method Description java.lang.String
_variantType()
Query
variant typejava.lang.String
field()
Required -java.lang.Boolean
ignoreUnmapped()
API name:ignore_unmapped
protected void
serializeInternal(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)
protected static void
setupGeoShapeQueryDeserializer(DelegatingDeserializer<GeoShapeQuery.Builder> op)
GeoShapeFieldQuery
shape()
Required -Methods inherited from class co.elastic.clients.elasticsearch._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 co.elastic.clients.elasticsearch._types.query_dsl.QueryVariant
_toQuery
-
Field Details
-
_DESERIALIZER
Json deserializer forGeoShapeQuery
-
-
Constructor Details
-
GeoShapeQuery
-
GeoShapeQuery
-
-
Method Details
-
_variantType
public java.lang.String _variantType()Query
variant type- Specified by:
_variantType
in interfaceUnionVariant
-
field
public java.lang.String field()Required - -
shape
Required - -
ignoreUnmapped
@Nullable public java.lang.Boolean ignoreUnmapped()API name:ignore_unmapped
-
serializeInternal
- Overrides:
serializeInternal
in classQueryBase
-
setupGeoShapeQueryDeserializer
protected static void setupGeoShapeQueryDeserializer(DelegatingDeserializer<GeoShapeQuery.Builder> op)
-