Class GeoShapeQuery.Builder
java.lang.Object
co.elastic.clients.util.ObjectBuilderBase
co.elastic.clients.elasticsearch._types.query_dsl.QueryBase.AbstractBuilder<GeoShapeQuery.Builder>
co.elastic.clients.elasticsearch._types.query_dsl.GeoShapeQuery.Builder
- All Implemented Interfaces:
ObjectBuilder<GeoShapeQuery>
- Enclosing class:
- GeoShapeQuery
public static class GeoShapeQuery.Builder extends QueryBase.AbstractBuilder<GeoShapeQuery.Builder> implements ObjectBuilder<GeoShapeQuery>
Builder for
GeoShapeQuery.-
Constructor Summary
Constructors Constructor Description Builder() -
Method Summary
Modifier and Type Method Description GeoShapeQuerybuild()Builds aGeoShapeQuery.GeoShapeQuery.Builderfield(java.lang.String value)Required -GeoShapeQuery.BuilderignoreUnmapped(java.lang.Boolean value)API name:ignore_unmappedprotected GeoShapeQuery.Builderself()GeoShapeQuery.Buildershape(GeoShapeFieldQuery value)Required -GeoShapeQuery.Buildershape(java.util.function.Function<GeoShapeFieldQuery.Builder,ObjectBuilder<GeoShapeFieldQuery>> fn)Required -Methods 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 - -
shape
Required - -
shape
public final GeoShapeQuery.Builder shape(java.util.function.Function<GeoShapeFieldQuery.Builder,ObjectBuilder<GeoShapeFieldQuery>> fn)Required - -
ignoreUnmapped
API name:ignore_unmapped -
self
- Specified by:
selfin classQueryBase.AbstractBuilder<GeoShapeQuery.Builder>
-
build
Builds aGeoShapeQuery.- Specified by:
buildin interfaceObjectBuilder<GeoShapeQuery>- Throws:
java.lang.NullPointerException- if some of the required fields are null.
-