Class AppendProcessor
java.lang.Object
co.elastic.clients.elasticsearch.ingest.ProcessorBase
co.elastic.clients.elasticsearch.ingest.AppendProcessor
- 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<AppendProcessor>Json deserializer forAppendProcessor -
Method Summary
Modifier and TypeMethodDescriptionProcessor variant kind.final BooleanIffalse, the processor does not append values already present in the field.final StringcopyFrom()The origin field which will be appended tofield, cannot setvaluesimultaneously.final Stringfield()Required - The field to be appended to.static AppendProcessorprotected voidserializeInternal(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper) protected static voidvalue()The value to be appended.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 forAppendProcessor
-
-
Method Details
-
of
public static AppendProcessor of(Function<AppendProcessor.Builder, ObjectBuilder<AppendProcessor>> fn) -
_processorKind
Processor variant kind.- Specified by:
_processorKindin interfaceProcessorVariant
-
field
Required - The field to be appended to. Supports template snippets.API name:
field -
value
The value to be appended. Supports template snippets. May specify only one ofvalueorcopy_from.API name:
value -
copyFrom
The origin field which will be appended tofield, cannot setvaluesimultaneously.API name:
copy_from -
allowDuplicates
Iffalse, the processor does not append values already present in the field.API name:
allow_duplicates -
serializeInternal
- Overrides:
serializeInternalin classProcessorBase
-
setupAppendProcessorDeserializer
protected static void setupAppendProcessorDeserializer(ObjectDeserializer<AppendProcessor.Builder> op)
-