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
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds aGeoShapeFieldQuery.indexedShape(FieldLookup value) API name:indexed_shapeAPI name:indexed_shaperelation(GeoShapeRelation value) API name:relationprotected GeoShapeFieldQuery.Builderself()API name:shapeMethods 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
-
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:
selfin classWithJsonObjectBuilderBase<GeoShapeFieldQuery.Builder>
-
build
Builds aGeoShapeFieldQuery.- Specified by:
buildin interfaceObjectBuilder<GeoShapeFieldQuery>- Throws:
NullPointerException- if some of the required fields are null.
-