Class ConvertProcessor
java.lang.Object
co.elastic.clients.elasticsearch.ingest.ProcessorBase
co.elastic.clients.elasticsearch.ingest.ConvertProcessor
- All Implemented Interfaces:
ProcessorVariant,JsonpSerializable
@JsonpDeserializable
public class ConvertProcessor
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<ConvertProcessor>Json deserializer forConvertProcessor -
Method Summary
Modifier and TypeMethodDescriptionProcessor variant kind.final Stringfield()Required - The field whose value is to be converted.final BooleanIftrueandfielddoes not exist or isnull, the processor quietly exits without modifying the document.static ConvertProcessorprotected voidserializeInternal(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper) protected static voidfinal StringThe field to assign the converted value to.final ConvertTypetype()Required - The type to convert the existing value to.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 forConvertProcessor
-
-
Method Details
-
of
public static ConvertProcessor of(Function<ConvertProcessor.Builder, ObjectBuilder<ConvertProcessor>> fn) -
_processorKind
Processor variant kind.- Specified by:
_processorKindin interfaceProcessorVariant
-
field
Required - The field whose value is to be converted.API name:
field -
ignoreMissing
Iftrueandfielddoes not exist or isnull, the processor quietly exits without modifying the document.API name:
ignore_missing -
targetField
The field to assign the converted value to. By default, thefieldis updated in-place.API name:
target_field -
type
Required - The type to convert the existing value to.API name:
type -
serializeInternal
- Overrides:
serializeInternalin classProcessorBase
-
setupConvertProcessorDeserializer
protected static void setupConvertProcessorDeserializer(ObjectDeserializer<ConvertProcessor.Builder> op)
-