Class GeoBoundingBoxQuery.Builder
java.lang.Object
co.elastic.clients.util.ObjectBuilderBase
co.elastic.clients.elasticsearch._types.query_dsl.QueryBase.AbstractBuilder<GeoBoundingBoxQuery.Builder>
co.elastic.clients.elasticsearch._types.query_dsl.GeoBoundingBoxQuery.Builder
- All Implemented Interfaces:
ObjectBuilder<GeoBoundingBoxQuery>
- Enclosing class:
- GeoBoundingBoxQuery
public static class GeoBoundingBoxQuery.Builder extends QueryBase.AbstractBuilder<GeoBoundingBoxQuery.Builder> implements ObjectBuilder<GeoBoundingBoxQuery>
Builder for
GeoBoundingBoxQuery.-
Constructor Summary
Constructors Constructor Description Builder() -
Method Summary
Modifier and Type Method Description GeoBoundingBoxQuery.BuilderboundingBox(GeoBounds value)Required -GeoBoundingBoxQuery.BuilderboundingBox(java.util.function.Function<GeoBounds.Builder,ObjectBuilder<GeoBounds>> fn)Required -GeoBoundingBoxQuerybuild()Builds aGeoBoundingBoxQuery.GeoBoundingBoxQuery.Builderfield(java.lang.String value)Required -GeoBoundingBoxQuery.BuilderignoreUnmapped(java.lang.Boolean value)API name:ignore_unmappedprotected GeoBoundingBoxQuery.Builderself()GeoBoundingBoxQuery.Buildertype(GeoExecution value)Deprecated.7.14.0GeoBoundingBoxQuery.BuildervalidationMethod(GeoValidationMethod value)API name:validation_methodMethods inherited from class co.elastic.clients.elasticsearch._types.query_dsl.QueryBase.AbstractBuilder
boost, queryNameMethods inherited from class co.elastic.clients.util.ObjectBuilderBase
_checkSingleUse, _listAdd, _listAddAll, _mapPut, _mapPutAllMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
field
Required - -
boundingBox
Required - -
boundingBox
public final GeoBoundingBoxQuery.Builder boundingBox(java.util.function.Function<GeoBounds.Builder,ObjectBuilder<GeoBounds>> fn)Required - -
type
Deprecated.7.14.0API name:type -
validationMethod
API name:validation_method -
ignoreUnmapped
API name:ignore_unmapped -
self
- Specified by:
selfin classQueryBase.AbstractBuilder<GeoBoundingBoxQuery.Builder>
-
build
Builds aGeoBoundingBoxQuery.- Specified by:
buildin interfaceObjectBuilder<GeoBoundingBoxQuery>- Throws:
java.lang.NullPointerException- if some of the required fields are null.
-