Class GeoBoundingBoxQuery.Builder
- java.lang.Object
-
- org.opensearch.client.util.ObjectBuilderBase
-
- org.opensearch.client.opensearch._types.query_dsl.QueryBase.AbstractBuilder<GeoBoundingBoxQuery.Builder>
-
- org.opensearch.client.opensearch._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 forGeoBoundingBoxQuery.
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description GeoBoundingBoxQuery.BuilderboundingBox(java.util.function.Function<GeoBounds.Builder,ObjectBuilder<GeoBounds>> fn)Required -GeoBoundingBoxQuery.BuilderboundingBox(GeoBounds value)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_method-
Methods inherited from class org.opensearch.client.opensearch._types.query_dsl.QueryBase.AbstractBuilder
boost, queryName
-
Methods inherited from class org.opensearch.client.util.ObjectBuilderBase
_checkSingleUse, _listAdd, _listAddAll, _mapPut, _mapPutAll
-
-
-
-
Method Detail
-
field
public final GeoBoundingBoxQuery.Builder field(java.lang.String value)
Required -
-
boundingBox
public final GeoBoundingBoxQuery.Builder boundingBox(GeoBounds value)
Required -
-
boundingBox
public final GeoBoundingBoxQuery.Builder boundingBox(java.util.function.Function<GeoBounds.Builder,ObjectBuilder<GeoBounds>> fn)
Required -
-
type
@Deprecated public final GeoBoundingBoxQuery.Builder type(@Nullable GeoExecution value)
Deprecated.7.14.0API name:type
-
validationMethod
public final GeoBoundingBoxQuery.Builder validationMethod(@Nullable GeoValidationMethod value)
API name:validation_method
-
ignoreUnmapped
public final GeoBoundingBoxQuery.Builder ignoreUnmapped(@Nullable java.lang.Boolean value)
API name:ignore_unmapped
-
self
protected GeoBoundingBoxQuery.Builder self()
- Specified by:
selfin classQueryBase.AbstractBuilder<GeoBoundingBoxQuery.Builder>
-
build
public GeoBoundingBoxQuery build()
Builds aGeoBoundingBoxQuery.- Specified by:
buildin interfaceObjectBuilder<GeoBoundingBoxQuery>- Throws:
java.lang.NullPointerException- if some of the required fields are null.
-
-