Class GeoPolygonQuery.Builder
java.lang.Object
co.elastic.clients.util.ObjectBuilderBase
co.elastic.clients.util.WithJsonObjectBuilderBase<BuilderT>
co.elastic.clients.elasticsearch._types.query_dsl.QueryBase.AbstractBuilder<GeoPolygonQuery.Builder>
co.elastic.clients.elasticsearch._types.query_dsl.GeoPolygonQuery.Builder
- All Implemented Interfaces:
WithJson<GeoPolygonQuery.Builder>
,ObjectBuilder<GeoPolygonQuery>
- Enclosing class:
- GeoPolygonQuery
@Deprecated public static class GeoPolygonQuery.Builder extends QueryBase.AbstractBuilder<GeoPolygonQuery.Builder> implements ObjectBuilder<GeoPolygonQuery>
Deprecated.
Builder for
GeoPolygonQuery
.-
Constructor Summary
Constructors Constructor Description Builder()
Deprecated. -
Method Summary
Modifier and Type Method Description GeoPolygonQuery
build()
Deprecated.Builds aGeoPolygonQuery
.GeoPolygonQuery.Builder
field(java.lang.String value)
Deprecated.Required -GeoPolygonQuery.Builder
ignoreUnmapped(java.lang.Boolean value)
Deprecated.API name:ignore_unmapped
GeoPolygonQuery.Builder
polygon(GeoPolygonPoints value)
Deprecated.Required -GeoPolygonQuery.Builder
polygon(java.util.function.Function<GeoPolygonPoints.Builder,ObjectBuilder<GeoPolygonPoints>> fn)
Deprecated.Required -protected GeoPolygonQuery.Builder
self()
Deprecated.GeoPolygonQuery.Builder
validationMethod(GeoValidationMethod value)
Deprecated.API name:validation_method
Methods inherited from class co.elastic.clients.elasticsearch._types.query_dsl.QueryBase.AbstractBuilder
boost, queryName
Methods inherited from class co.elastic.clients.util.WithJsonObjectBuilderBase
withJson
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()Deprecated.
-
-
Method Details
-
field
Deprecated.Required - -
polygon
Deprecated.Required - -
polygon
public final GeoPolygonQuery.Builder polygon(java.util.function.Function<GeoPolygonPoints.Builder,ObjectBuilder<GeoPolygonPoints>> fn)Deprecated.Required - -
validationMethod
Deprecated.API name:validation_method
-
ignoreUnmapped
Deprecated.API name:ignore_unmapped
-
self
Deprecated.- Specified by:
self
in classQueryBase.AbstractBuilder<GeoPolygonQuery.Builder>
-
build
Deprecated.Builds aGeoPolygonQuery
.- Specified by:
build
in interfaceObjectBuilder<GeoPolygonQuery>
- Throws:
java.lang.NullPointerException
- if some of the required fields are null.
-