Class ForeachProcessor
java.lang.Object
co.elastic.clients.elasticsearch.ingest.ProcessorBase
co.elastic.clients.elasticsearch.ingest.ForeachProcessor
- All Implemented Interfaces:
ProcessorVariant,JsonpSerializable
@JsonpDeserializable
public class ForeachProcessor
extends ProcessorBase
implements ProcessorVariant
- 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<ForeachProcessor>Json deserializer forForeachProcessor -
Method Summary
Modifier and TypeMethodDescriptionProcessor variant kind.final Stringfield()Required - Field containing array or object values.final BooleanIftrue, the processor silently exits without changing the document if thefieldisnullor missing.static ForeachProcessorfinal ProcessorRequired - Ingest processor to run on each element.protected voidserializeInternal(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper) protected static voidMethods 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 forForeachProcessor
-
-
Method Details
-
of
public static ForeachProcessor of(Function<ForeachProcessor.Builder, ObjectBuilder<ForeachProcessor>> fn) -
_processorKind
Processor variant kind.- Specified by:
_processorKindin interfaceProcessorVariant
-
field
Required - Field containing array or object values.API name:
field -
ignoreMissing
Iftrue, the processor silently exits without changing the document if thefieldisnullor missing.API name:
ignore_missing -
processor
Required - Ingest processor to run on each element.API name:
processor -
serializeInternal
- Overrides:
serializeInternalin classProcessorBase
-
setupForeachProcessorDeserializer
protected static void setupForeachProcessorDeserializer(ObjectDeserializer<ForeachProcessor.Builder> op)
-