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 Constructor Description Builder() -
Method Summary
Modifier and Type Method Description GeoShapeFieldQuerybuild()Builds aGeoShapeFieldQuery.GeoShapeFieldQuery.BuilderindexedShape(FieldLookup value)API name:indexed_shapeGeoShapeFieldQuery.BuilderindexedShape(java.util.function.Function<FieldLookup.Builder,ObjectBuilder<FieldLookup>> fn)API name:indexed_shapeGeoShapeFieldQuery.Builderrelation(GeoShapeRelation value)API name:relationprotected GeoShapeFieldQuery.Builderself()GeoShapeFieldQuery.Buildershape(JsonData value)API name:shapeMethods inherited from class co.elastic.clients.util.WithJsonObjectBuilderBase
withJsonMethods 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
-
shape
API name:shape -
indexedShape
API name:indexed_shape -
indexedShape
public final GeoShapeFieldQuery.Builder indexedShape(java.util.function.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:
java.lang.NullPointerException- if some of the required fields are null.
-