Class SplitProcessor
java.lang.Object
co.elastic.clients.elasticsearch.ingest.ProcessorBase
co.elastic.clients.elasticsearch.ingest.SplitProcessor
- 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<SplitProcessor>
Json deserializer forSplitProcessor
-
Method Summary
Modifier and TypeMethodDescriptionProcessor variant kind.final String
field()
Required - The field to split.final Boolean
Iftrue
andfield
does not exist, the processor quietly exits without modifying the document.static SplitProcessor
final Boolean
Preserves empty trailing fields, if any.final String
Required - A regex which matches the separator, for example,,
or\s+
.protected void
serializeInternal
(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper) protected static void
final String
The field to assign the split value to.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 forSplitProcessor
-
-
Method Details
-
of
-
_processorKind
Processor variant kind.- Specified by:
_processorKind
in interfaceProcessorVariant
-
field
Required - The field to split.API name:
field
-
ignoreMissing
Iftrue
andfield
does not exist, the processor quietly exits without modifying the document.API name:
ignore_missing
-
preserveTrailing
Preserves empty trailing fields, if any.API name:
preserve_trailing
-
separator
Required - A regex which matches the separator, for example,,
or\s+
.API name:
separator
-
targetField
The field to assign the split value to. By default, the field is updated in-place.API name:
target_field
-
serializeInternal
- Overrides:
serializeInternal
in classProcessorBase
-
setupSplitProcessorDeserializer
protected static void setupSplitProcessorDeserializer(ObjectDeserializer<SplitProcessor.Builder> op)
-