Class ShapeFieldQuery.Builder
java.lang.Object
co.elastic.clients.util.ObjectBuilderBase
co.elastic.clients.util.WithJsonObjectBuilderBase<ShapeFieldQuery.Builder>
co.elastic.clients.elasticsearch._types.query_dsl.ShapeFieldQuery.Builder
- All Implemented Interfaces:
WithJson<ShapeFieldQuery.Builder>,ObjectBuilder<ShapeFieldQuery>
- Enclosing class:
- ShapeFieldQuery
public static class ShapeFieldQuery.Builder
extends WithJsonObjectBuilderBase<ShapeFieldQuery.Builder>
implements ObjectBuilder<ShapeFieldQuery>
Builder for
ShapeFieldQuery.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds aShapeFieldQuery.final ShapeFieldQuery.BuilderindexedShape(FieldLookup value) API name:indexed_shapefinal ShapeFieldQuery.BuilderAPI name:indexed_shapefinal ShapeFieldQuery.Builderrelation(GeoShapeRelation value) API name:relationprotected ShapeFieldQuery.Builderself()final ShapeFieldQuery.BuilderAPI 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
-
indexedShape
API name:indexed_shape -
indexedShape
public final ShapeFieldQuery.Builder indexedShape(Function<FieldLookup.Builder, ObjectBuilder<FieldLookup>> fn) API name:indexed_shape -
relation
API name:relation -
shape
API name:shape -
self
- Specified by:
selfin classWithJsonObjectBuilderBase<ShapeFieldQuery.Builder>
-
build
Builds aShapeFieldQuery.- Specified by:
buildin interfaceObjectBuilder<ShapeFieldQuery>- Throws:
NullPointerException- if some of the required fields are null.
-