Class AppendProcessor
java.lang.Object
org.opensearch.client.opensearch.ingest.ProcessorBase
org.opensearch.client.opensearch.ingest.AppendProcessor
- All Implemented Interfaces:
JsonpSerializable,PlainJsonSerializable,ProcessorVariant,ToCopyableBuilder<AppendProcessor.Builder,AppendProcessor>
@JsonpDeserializable
@Generated("org.opensearch.client.codegen.CodeGenerator")
public class AppendProcessor
extends ProcessorBase
implements ProcessorVariant, ToCopyableBuilder<AppendProcessor.Builder,AppendProcessor>
-
Nested Class Summary
Nested ClassesNested classes/interfaces inherited from class org.opensearch.client.opensearch.ingest.ProcessorBase
ProcessorBase.AbstractBuilder<BuilderT extends ProcessorBase.AbstractBuilder<BuilderT>> -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final JsonpDeserializer<AppendProcessor> Json deserializer forAppendProcessor -
Method Summary
Modifier and TypeMethodDescriptionProcessorvariant kind.final BooleanIffalse, the processor does not append values already present in the field.static AppendProcessor.Builderbuilder()booleanfinal Stringfield()Required - API name:fieldinthashCode()static AppendProcessorprotected voidserializeInternal(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper) protected static voidCreate a new builderToCopyableBuilderthat is initialised with the current state of this object.value()Required - The value to be appended.Methods inherited from class org.opensearch.client.opensearch.ingest.ProcessorBase
description, if_, ignoreFailure, onFailure, serialize, setupProcessorBaseDeserializer, tagMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.opensearch.client.json.PlainJsonSerializable
toJsonStringMethods inherited from interface org.opensearch.client.opensearch.ingest.ProcessorVariant
toProcessorMethods inherited from interface org.opensearch.client.util.ToCopyableBuilder
copy
-
Field Details
-
_DESERIALIZER
Json deserializer forAppendProcessor
-
-
Method Details
-
of
public static AppendProcessor of(Function<AppendProcessor.Builder, ObjectBuilder<AppendProcessor>> fn) -
_processorKind
Processorvariant kind.- Specified by:
_processorKindin interfaceProcessorVariant
-
allowDuplicates
Iffalse, the processor does not append values already present in the field.API name:
allow_duplicates -
field
Required - API name:field -
value
Required - The value to be appended. Supports template snippets.API name:
value -
serializeInternal
- Overrides:
serializeInternalin classProcessorBase
-
toBuilder
Description copied from interface:ToCopyableBuilderCreate a new builderToCopyableBuilderthat is initialised with the current state of this object.- Specified by:
toBuilderin interfaceToCopyableBuilder<AppendProcessor.Builder,AppendProcessor> - Returns:
- a new builder instance.
-
builder
-
setupAppendProcessorDeserializer
protected static void setupAppendProcessorDeserializer(ObjectDeserializer<AppendProcessor.Builder> op) -
hashCode
public int hashCode()- Overrides:
hashCodein classProcessorBase
-
equals
- Overrides:
equalsin classProcessorBase
-