Class GeoShapeFieldQuery.Builder
java.lang.Object
co.elastic.clients.util.ObjectBuilderBase
co.elastic.clients.util.WithJsonObjectBuilderBase<GeoShapeFieldQuery.Builder>
co.elastic.clients.elasticsearch._types.query_dsl.GeoShapeFieldQuery.Builder
- All Implemented Interfaces:
WithJson<GeoShapeFieldQuery.Builder>
,ObjectBuilder<GeoShapeFieldQuery>
- Enclosing class:
- GeoShapeFieldQuery
public static class GeoShapeFieldQuery.Builder
extends WithJsonObjectBuilderBase<GeoShapeFieldQuery.Builder>
implements ObjectBuilder<GeoShapeFieldQuery>
Builder for
GeoShapeFieldQuery
.-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds aGeoShapeFieldQuery
.indexedShape
(FieldLookup value) API name:indexed_shape
API name:indexed_shape
relation
(GeoShapeRelation value) API name:relation
protected GeoShapeFieldQuery.Builder
self()
API name:shape
Methods inherited from class co.elastic.clients.util.WithJsonObjectBuilderBase
withJson
Methods inherited from class co.elastic.clients.util.ObjectBuilderBase
_checkSingleUse, _listAdd, _listAddAll, _mapPut, _mapPutAll
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
shape
API name:shape
-
indexedShape
API name:indexed_shape
-
indexedShape
public final GeoShapeFieldQuery.Builder indexedShape(Function<FieldLookup.Builder, ObjectBuilder<FieldLookup>> fn) API name:indexed_shape
-
relation
API name:relation
-
self
- Specified by:
self
in classWithJsonObjectBuilderBase<GeoShapeFieldQuery.Builder>
-
build
Builds aGeoShapeFieldQuery
.- Specified by:
build
in interfaceObjectBuilder<GeoShapeFieldQuery>
- Throws:
NullPointerException
- if some of the required fields are null.
-