Class CircleProcessor
java.lang.Object
co.elastic.clients.elasticsearch.ingest.ProcessorBase
co.elastic.clients.elasticsearch.ingest.CircleProcessor
- All Implemented Interfaces:
ProcessorVariant
,JsonpSerializable
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class co.elastic.clients.elasticsearch.ingest.ProcessorBase
ProcessorBase.AbstractBuilder<BuilderT extends ProcessorBase.AbstractBuilder<BuilderT>>
-
Field Summary
Modifier and TypeFieldDescriptionstatic final JsonpDeserializer<CircleProcessor>
Json deserializer forCircleProcessor
-
Method Summary
Modifier and TypeMethodDescriptionProcessor variant kind.final double
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 String
field()
Required - The field to interpret as a circle.final Boolean
Iftrue
andfield
does not exist, the processor quietly exits without modifying the document.static CircleProcessor
protected void
serializeInternal
(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper) protected static void
final ShapeType
Required - Which field mapping type is to be used when processing the circle:geo_shape
orshape
.final String
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
description, if_, ignoreFailure, onFailure, serialize, setupProcessorBaseDeserializer, tag, toString
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface co.elastic.clients.elasticsearch.ingest.ProcessorVariant
_toProcessor
-
Field Details
-
_DESERIALIZER
Json deserializer forCircleProcessor
-
-
Method Details
-
of
public static CircleProcessor of(Function<CircleProcessor.Builder, ObjectBuilder<CircleProcessor>> fn) -
_processorKind
Processor variant kind.- Specified by:
_processorKind
in interfaceProcessorVariant
-
errorDistance
public final double 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
Iftrue
andfield
does 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_shape
orshape
.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
-
serializeInternal
- Overrides:
serializeInternal
in classProcessorBase
-
setupCircleProcessorDeserializer
protected static void setupCircleProcessorDeserializer(ObjectDeserializer<CircleProcessor.Builder> op)
-