Class RenameProcessor
java.lang.Object
co.elastic.clients.elasticsearch.ingest.ProcessorBase
co.elastic.clients.elasticsearch.ingest.RenameProcessor
- 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<RenameProcessor>Json deserializer forRenameProcessor -
Method Summary
Modifier and TypeMethodDescriptionProcessor variant kind.final Stringfield()Required - The field to be renamed.final BooleanIftrueandfielddoes not exist, the processor quietly exits without modifying the document.static RenameProcessorprotected voidserializeInternal(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper) protected static voidfinal StringRequired - The new name of the field.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 forRenameProcessor
-
-
Method Details
-
of
public static RenameProcessor of(Function<RenameProcessor.Builder, ObjectBuilder<RenameProcessor>> fn) -
_processorKind
Processor variant kind.- Specified by:
_processorKindin interfaceProcessorVariant
-
field
Required - The field to be renamed. Supports template snippets.API name:
field -
ignoreMissing
Iftrueandfielddoes not exist, the processor quietly exits without modifying the document.API name:
ignore_missing -
targetField
Required - The new name of the field. Supports template snippets.API name:
target_field -
serializeInternal
- Overrides:
serializeInternalin classProcessorBase
-
setupRenameProcessorDeserializer
protected static void setupRenameProcessorDeserializer(ObjectDeserializer<RenameProcessor.Builder> op)
-