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 ClassesNested classes/interfaces inherited from class co.elastic.clients.elasticsearch.ingest.ProcessorBase
ProcessorBase.AbstractBuilder<BuilderT extends ProcessorBase.AbstractBuilder<BuilderT>> -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final JsonpDeserializer<CircleProcessor>Json deserializer forCircleProcessor -
Method Summary
Modifier and TypeMethodDescriptionProcessor variant kind.final doubleRequired - 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 Stringfield()Required - The field to interpret as a circle.final BooleanIftrueandfielddoes not exist, the processor quietly exits without modifying the document.static CircleProcessorprotected voidserializeInternal(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper) protected static voidfinal ShapeTypeRequired - Which field mapping type is to be used when processing the circle:geo_shapeorshape.final StringThe 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, toStringMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods 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:
_processorKindin 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
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 -
serializeInternal
- Overrides:
serializeInternalin classProcessorBase
-
setupCircleProcessorDeserializer
protected static void setupCircleProcessorDeserializer(ObjectDeserializer<CircleProcessor.Builder> op)
-