Class GeoShapeFieldQuery.Builder
- java.lang.Object
-
- org.opensearch.client.util.ObjectBuilderBase
-
- org.opensearch.client.opensearch._types.query_dsl.GeoShapeFieldQuery.Builder
-
- All Implemented Interfaces:
ObjectBuilder<GeoShapeFieldQuery>
- Enclosing class:
- GeoShapeFieldQuery
public static class GeoShapeFieldQuery.Builder extends ObjectBuilderBase implements ObjectBuilder<GeoShapeFieldQuery>
Builder forGeoShapeFieldQuery.
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description GeoShapeFieldQuerybuild()Builds aGeoShapeFieldQuery.GeoShapeFieldQuery.BuilderindexedShape(java.util.function.Function<FieldLookup.Builder,ObjectBuilder<FieldLookup>> fn)API name:indexed_shapeGeoShapeFieldQuery.BuilderindexedShape(FieldLookup value)API name:indexed_shapeGeoShapeFieldQuery.Builderrelation(GeoShapeRelation value)API name:relationGeoShapeFieldQuery.Buildershape(JsonData value)API name:shape-
Methods inherited from class org.opensearch.client.util.ObjectBuilderBase
_checkSingleUse, _listAdd, _listAddAll, _mapPut, _mapPutAll
-
-
-
-
Method Detail
-
shape
public final GeoShapeFieldQuery.Builder shape(@Nullable JsonData value)
API name:shape
-
indexedShape
public final GeoShapeFieldQuery.Builder indexedShape(@Nullable FieldLookup value)
API name:indexed_shape
-
indexedShape
public final GeoShapeFieldQuery.Builder indexedShape(java.util.function.Function<FieldLookup.Builder,ObjectBuilder<FieldLookup>> fn)
API name:indexed_shape
-
relation
public final GeoShapeFieldQuery.Builder relation(@Nullable GeoShapeRelation value)
API name:relation
-
build
public GeoShapeFieldQuery build()
Builds aGeoShapeFieldQuery.- Specified by:
buildin interfaceObjectBuilder<GeoShapeFieldQuery>- Throws:
java.lang.NullPointerException- if some of the required fields are null.
-
-