Class GeoShapeFieldQuery.Builder
java.lang.Object
co.elastic.clients.util.ObjectBuilderBase
co.elastic.clients.elasticsearch._types.query_dsl.GeoShapeFieldQuery.Builder
- All Implemented Interfaces:
ObjectBuilder<GeoShapeFieldQuery>
- Enclosing class:
- GeoShapeFieldQuery
public static class GeoShapeFieldQuery.Builder extends ObjectBuilderBase implements ObjectBuilder<GeoShapeFieldQuery>
Builder for
GeoShapeFieldQuery
.-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
Modifier and Type Method Description GeoShapeFieldQuery
build()
Builds aGeoShapeFieldQuery
.GeoShapeFieldQuery.Builder
indexedShape(FieldLookup value)
API name:indexed_shape
GeoShapeFieldQuery.Builder
indexedShape(java.util.function.Function<FieldLookup.Builder,ObjectBuilder<FieldLookup>> fn)
API name:indexed_shape
GeoShapeFieldQuery.Builder
relation(GeoShapeRelation value)
API name:relation
GeoShapeFieldQuery.Builder
shape(JsonData value)
API name:shape
Methods inherited from class co.elastic.clients.util.ObjectBuilderBase
_checkSingleUse, _listAdd, _listAddAll, _mapPut, _mapPutAll
Methods 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
-
build
Builds aGeoShapeFieldQuery
.- Specified by:
build
in interfaceObjectBuilder<GeoShapeFieldQuery>
- Throws:
java.lang.NullPointerException
- if some of the required fields are null.
-