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