Class GsubProcessor
java.lang.Object
co.elastic.clients.elasticsearch.ingest.ProcessorBase
co.elastic.clients.elasticsearch.ingest.GsubProcessor
- All Implemented Interfaces:
- ProcessorVariant,- JsonpSerializable
- See Also:
- 
Nested Class SummaryNested ClassesNested classes/interfaces inherited from class co.elastic.clients.elasticsearch.ingest.ProcessorBaseProcessorBase.AbstractBuilder<BuilderT extends ProcessorBase.AbstractBuilder<BuilderT>>
- 
Field SummaryFieldsModifier and TypeFieldDescriptionstatic final JsonpDeserializer<GsubProcessor>Json deserializer forGsubProcessor
- 
Method SummaryModifier and TypeMethodDescriptionProcessor variant kind.final Stringfield()Required - The field to apply the replacement to.final BooleanIftrueandfielddoes not exist or isnull, the processor quietly exits without modifying the document.static GsubProcessorfinal Stringpattern()Required - The pattern to be replaced.final StringRequired - The string to replace the matching patterns with.protected voidserializeInternal(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper) protected static voidfinal StringThe field to assign the converted value to By default, thefieldis updated in-place.Methods inherited from class co.elastic.clients.elasticsearch.ingest.ProcessorBasedescription, if_, ignoreFailure, onFailure, serialize, setupProcessorBaseDeserializer, tag, toStringMethods inherited from class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface co.elastic.clients.elasticsearch.ingest.ProcessorVariant_toProcessor
- 
Field Details- 
_DESERIALIZERJson deserializer forGsubProcessor
 
- 
- 
Method Details- 
of
- 
_processorKindProcessor variant kind.- Specified by:
- _processorKindin interface- ProcessorVariant
 
- 
fieldRequired - The field to apply the replacement to.API name: field
- 
ignoreMissingIftrueandfielddoes not exist or isnull, the processor quietly exits without modifying the document.API name: ignore_missing
- 
patternRequired - The pattern to be replaced.API name: pattern
- 
replacementRequired - The string to replace the matching patterns with.API name: replacement
- 
targetFieldThe field to assign the converted value to By default, thefieldis updated in-place.API name: target_field
- 
serializeInternal- Overrides:
- serializeInternalin class- ProcessorBase
 
- 
setupGsubProcessorDeserializer
 
-