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.Builder
boundingBox(GeoBounds value)
Required -GeoBoundingBoxQuery.Builder
boundingBox(java.util.function.Function<GeoBounds.Builder,ObjectBuilder<GeoBounds>> fn)
Required -GeoBoundingBoxQuery
build()
Builds aGeoBoundingBoxQuery
.GeoBoundingBoxQuery.Builder
field(java.lang.String value)
Required -GeoBoundingBoxQuery.Builder
ignoreUnmapped(java.lang.Boolean value)
API name:ignore_unmapped
protected GeoBoundingBoxQuery.Builder
self()
GeoBoundingBoxQuery.Builder
type(GeoExecution value)
Deprecated.7.14.0GeoBoundingBoxQuery.Builder
validationMethod(GeoValidationMethod value)
API name:validation_method
Methods inherited from class co.elastic.clients.elasticsearch._types.query_dsl.QueryBase.AbstractBuilder
boost, queryName
Methods inherited from class co.elastic.clients.util.ObjectBuilderBase
_checkSingleUse, _listAdd, _listAddAll, _mapPut, _mapPutAll
Methods 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:
self
in classQueryBase.AbstractBuilder<GeoBoundingBoxQuery.Builder>
-
build
Builds aGeoBoundingBoxQuery
.- Specified by:
build
in interfaceObjectBuilder<GeoBoundingBoxQuery>
- Throws:
java.lang.NullPointerException
- if some of the required fields are null.
-