Class RemoveProcessor
java.lang.Object
co.elastic.clients.elasticsearch.ingest.ProcessorBase
co.elastic.clients.elasticsearch.ingest.RemoveProcessor
- 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<RemoveProcessor>Json deserializer forRemoveProcessor -
Method Summary
Modifier and TypeMethodDescriptionProcessor variant kind.field()Required - Fields to be removed.final BooleanIftrueandfielddoes not exist or isnull, the processor quietly exits without modifying the document.keep()Fields to be kept.static RemoveProcessorprotected 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 forRemoveProcessor
-
-
Method Details
-
of
public static RemoveProcessor of(Function<RemoveProcessor.Builder, ObjectBuilder<RemoveProcessor>> fn) -
_processorKind
Processor variant kind.- Specified by:
_processorKindin interfaceProcessorVariant
-
field
Required - Fields to be removed. Supports template snippets.API name:
field -
keep
Fields to be kept. When set, all fields other than those specified are removed.API name:
keep -
ignoreMissing
Iftrueandfielddoes not exist or isnull, the processor quietly exits without modifying the document.API name:
ignore_missing -
serializeInternal
- Overrides:
serializeInternalin classProcessorBase
-
setupRemoveProcessorDeserializer
protected static void setupRemoveProcessorDeserializer(ObjectDeserializer<RemoveProcessor.Builder> op)
-