Class GeoBoundingBoxQuery
java.lang.Object
co.elastic.clients.elasticsearch._types.query_dsl.QueryBase
co.elastic.clients.elasticsearch._types.query_dsl.GeoBoundingBoxQuery
- All Implemented Interfaces:
QueryVariant,JsonpSerializable
- See Also:
-
Nested Class Summary
Nested ClassesNested classes/interfaces inherited from class co.elastic.clients.elasticsearch._types.query_dsl.QueryBase
QueryBase.AbstractBuilder<BuilderT extends QueryBase.AbstractBuilder<BuilderT>> -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final JsonpDeserializer<GeoBoundingBoxQuery>Json deserializer forGeoBoundingBoxQuery -
Method Summary
Modifier and TypeMethodDescriptionQuery variant kind.final GeoBoundsRequired -final Stringfield()Required -final BooleanSet totrueto ignore an unmapped field and not match any documents for this query.static GeoBoundingBoxQueryprotected voidserializeInternal(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper) protected static voidfinal GeoExecutiontype()Deprecated.7.14.0final GeoValidationMethodSet toIGNORE_MALFORMEDto accept geo points with invalid latitude or longitude.Methods inherited from class co.elastic.clients.elasticsearch._types.query_dsl.QueryBase
boost, queryName, serialize, setupQueryBaseDeserializer, toStringMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface co.elastic.clients.elasticsearch._types.query_dsl.QueryVariant
_toQuery
-
Field Details
-
_DESERIALIZER
Json deserializer forGeoBoundingBoxQuery
-
-
Method Details
-
of
public static GeoBoundingBoxQuery of(Function<GeoBoundingBoxQuery.Builder, ObjectBuilder<GeoBoundingBoxQuery>> fn) -
_queryKind
Query variant kind.- Specified by:
_queryKindin interfaceQueryVariant
-
field
Required - -
boundingBox
Required - -
type
Deprecated.7.14.0API name:type -
validationMethod
Set toIGNORE_MALFORMEDto accept geo points with invalid latitude or longitude. Set toCOERCEto also try to infer correct latitude or longitude.API name:
validation_method -
ignoreUnmapped
Set totrueto ignore an unmapped field and not match any documents for this query. Set tofalseto throw an exception if the field is not mapped.API name:
ignore_unmapped -
serializeInternal
- Overrides:
serializeInternalin classQueryBase
-
setupGeoBoundingBoxQueryDeserializer
protected static void setupGeoBoundingBoxQueryDeserializer(ObjectDeserializer<GeoBoundingBoxQuery.Builder> op)
-