Class GeoShapeQuery.Builder
java.lang.Object
co.elastic.clients.util.ObjectBuilderBase
co.elastic.clients.util.WithJsonObjectBuilderBase<BuilderT>
co.elastic.clients.elasticsearch._types.query_dsl.QueryBase.AbstractBuilder<GeoShapeQuery.Builder>
co.elastic.clients.elasticsearch._types.query_dsl.GeoShapeQuery.Builder
- All Implemented Interfaces:
WithJson<GeoShapeQuery.Builder>,ObjectBuilder<GeoShapeQuery>
- Enclosing class:
- GeoShapeQuery
public static class GeoShapeQuery.Builder
extends QueryBase.AbstractBuilder<GeoShapeQuery.Builder>
implements ObjectBuilder<GeoShapeQuery>
Builder for
GeoShapeQuery.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds aGeoShapeQuery.final GeoShapeQuery.BuilderRequired -final GeoShapeQuery.BuilderignoreUnmapped(Boolean value) API name:ignore_unmappedprotected GeoShapeQuery.Builderself()final GeoShapeQuery.Buildershape(GeoShapeFieldQuery value) Required -final GeoShapeQuery.BuilderRequired -Methods inherited from class co.elastic.clients.elasticsearch._types.query_dsl.QueryBase.AbstractBuilder
boost, queryNameMethods inherited from class co.elastic.clients.util.WithJsonObjectBuilderBase
withJsonMethods inherited from class co.elastic.clients.util.ObjectBuilderBase
_checkSingleUse, _listAdd, _listAddAll, _mapPut, _mapPutAll
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
field
Required - -
shape
Required - -
shape
public final GeoShapeQuery.Builder shape(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:
NullPointerException- if some of the required fields are null.
-