Class DotExpanderProcessor
java.lang.Object
co.elastic.clients.elasticsearch.ingest.ProcessorBase
co.elastic.clients.elasticsearch.ingest.DotExpanderProcessor
- All Implemented Interfaces:
ProcessorVariant
,JsonpSerializable
@JsonpDeserializable
public class DotExpanderProcessor
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<DotExpanderProcessor>
Json deserializer forDotExpanderProcessor
-
Method Summary
Modifier and TypeMethodDescriptionProcessor variant kind.final String
field()
Required - The field to expand into an object field.static DotExpanderProcessor
final Boolean
override()
Controls the behavior when there is already an existing nested object that conflicts with the expanded field.final String
path()
The field that contains the field to expand.protected void
serializeInternal
(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper) protected static void
Methods inherited from class co.elastic.clients.elasticsearch.ingest.ProcessorBase
description, if_, ignoreFailure, onFailure, serialize, setupProcessorBaseDeserializer, tag, toString
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface co.elastic.clients.elasticsearch.ingest.ProcessorVariant
_toProcessor
-
Field Details
-
_DESERIALIZER
Json deserializer forDotExpanderProcessor
-
-
Method Details
-
of
public static DotExpanderProcessor of(Function<DotExpanderProcessor.Builder, ObjectBuilder<DotExpanderProcessor>> fn) -
_processorKind
Processor variant kind.- Specified by:
_processorKind
in interfaceProcessorVariant
-
field
Required - The field to expand into an object field. If set to*
, all top-level fields will be expanded.API name:
field
-
override
Controls the behavior when there is already an existing nested object that conflicts with the expanded field. Whenfalse
, the processor will merge conflicts by combining the old and the new values into an array. Whentrue
, the value from the expanded field will overwrite the existing value.API name:
override
-
path
The field that contains the field to expand. Only required if the field to expand is part another object field, because thefield
option can only understand leaf fields.API name:
path
-
serializeInternal
- Overrides:
serializeInternal
in classProcessorBase
-
setupDotExpanderProcessorDeserializer
protected static void setupDotExpanderProcessorDeserializer(ObjectDeserializer<DotExpanderProcessor.Builder> op)
-