Class GeoPolygonQuery.Builder
java.lang.Object
co.elastic.clients.elasticsearch._types.query_dsl.QueryBase.AbstractBuilder<GeoPolygonQuery.Builder>
co.elastic.clients.elasticsearch._types.query_dsl.GeoPolygonQuery.Builder
- All Implemented Interfaces:
ObjectBuilder<GeoPolygonQuery>
- Enclosing class:
- GeoPolygonQuery
public static class GeoPolygonQuery.Builder extends QueryBase.AbstractBuilder<GeoPolygonQuery.Builder> implements ObjectBuilder<GeoPolygonQuery>
Builder for
GeoPolygonQuery.-
Constructor Summary
Constructors Constructor Description Builder() -
Method Summary
Modifier and Type Method Description GeoPolygonQuerybuild()Builds aGeoPolygonQuery.GeoPolygonQuery.Builderfield(java.lang.String value)Required -GeoPolygonQuery.BuilderignoreUnmapped(java.lang.Boolean value)API name:ignore_unmappedGeoPolygonQuery.Builderpolygon(GeoPolygonPoints value)Required -GeoPolygonQuery.Builderpolygon(java.util.function.Function<GeoPolygonPoints.Builder,ObjectBuilder<GeoPolygonPoints>> fn)Required -protected GeoPolygonQuery.Builderself()GeoPolygonQuery.BuildervalidationMethod(GeoValidationMethod value)API name:validation_methodMethods inherited from class co.elastic.clients.elasticsearch._types.query_dsl.QueryBase.AbstractBuilder
boost, queryNameMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
field
Required - -
polygon
Required - -
polygon
public GeoPolygonQuery.Builder polygon(java.util.function.Function<GeoPolygonPoints.Builder,ObjectBuilder<GeoPolygonPoints>> fn)Required - -
validationMethod
API name:validation_method -
ignoreUnmapped
API name:ignore_unmapped -
self
- Specified by:
selfin classQueryBase.AbstractBuilder<GeoPolygonQuery.Builder>
-
build
Builds aGeoPolygonQuery.- Specified by:
buildin interfaceObjectBuilder<GeoPolygonQuery>- Throws:
java.lang.NullPointerException- if some of the required fields are null.
-