Class CircleProcessor.Builder
java.lang.Object
co.elastic.clients.util.ObjectBuilderBase
co.elastic.clients.util.WithJsonObjectBuilderBase<BuilderT>
co.elastic.clients.elasticsearch.ingest.ProcessorBase.AbstractBuilder<CircleProcessor.Builder>
co.elastic.clients.elasticsearch.ingest.CircleProcessor.Builder
- All Implemented Interfaces:
WithJson<CircleProcessor.Builder>,ObjectBuilder<CircleProcessor>
- Enclosing class:
- CircleProcessor
public static class CircleProcessor.Builder
extends ProcessorBase.AbstractBuilder<CircleProcessor.Builder>
implements ObjectBuilder<CircleProcessor>
Builder for
CircleProcessor.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds aCircleProcessor.final CircleProcessor.BuildererrorDistance(double value) Required - The difference between the resulting inscribed distance from center to side and the circle’s radius (measured in meters forgeo_shape, unit-less forshape).final CircleProcessor.BuilderRequired - The field to interpret as a circle.final CircleProcessor.BuilderignoreMissing(Boolean value) Iftrueandfielddoes not exist, the processor quietly exits without modifying the document.protected CircleProcessor.Builderself()final CircleProcessor.BuilderRequired - Which field mapping type is to be used when processing the circle:geo_shapeorshape.final CircleProcessor.BuildertargetField(String value) The field to assign the polygon shape to By default, the field is updated in-place.Methods inherited from class co.elastic.clients.elasticsearch.ingest.ProcessorBase.AbstractBuilder
description, if_, if_, ignoreFailure, onFailure, onFailure, onFailure, onFailure, tagMethods inherited from class co.elastic.clients.util.WithJsonObjectBuilderBase
withJsonMethods inherited from class co.elastic.clients.util.ObjectBuilderBase
_checkSingleUse, _listAdd, _listAddAll, _mapPut, _mapPutAll
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
errorDistance
Required - The difference between the resulting inscribed distance from center to side and the circle’s radius (measured in meters forgeo_shape, unit-less forshape).API name:
error_distance -
field
Required - The field to interpret as a circle. Either a string in WKT format or a map for GeoJSON.API name:
field -
ignoreMissing
Iftrueandfielddoes not exist, the processor quietly exits without modifying the document.API name:
ignore_missing -
shapeType
Required - Which field mapping type is to be used when processing the circle:geo_shapeorshape.API name:
shape_type -
targetField
The field to assign the polygon shape to By default, the field is updated in-place.API name:
target_field -
self
- Specified by:
selfin classProcessorBase.AbstractBuilder<CircleProcessor.Builder>
-
build
Builds aCircleProcessor.- Specified by:
buildin interfaceObjectBuilder<CircleProcessor>- Throws:
NullPointerException- if some of the required fields are null.
-