Class GsubProcessor
java.lang.Object
org.opensearch.client.opensearch.ingest.ProcessorBase
org.opensearch.client.opensearch.ingest.GsubProcessor
- All Implemented Interfaces:
JsonpSerializable,PlainJsonSerializable,ProcessorVariant,ToCopyableBuilder<GsubProcessor.Builder,GsubProcessor>
@JsonpDeserializable
@Generated("org.opensearch.client.codegen.CodeGenerator")
public class GsubProcessor
extends ProcessorBase
implements ProcessorVariant, ToCopyableBuilder<GsubProcessor.Builder,GsubProcessor>
-
Nested Class Summary
Nested ClassesNested classes/interfaces inherited from class org.opensearch.client.opensearch.ingest.ProcessorBase
ProcessorBase.AbstractBuilder<BuilderT extends ProcessorBase.AbstractBuilder<BuilderT>> -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final JsonpDeserializer<GsubProcessor> Json deserializer forGsubProcessor -
Method Summary
Modifier and TypeMethodDescriptionProcessorvariant kind.static GsubProcessor.Builderbuilder()booleanfinal Stringfield()Required - API name:fieldinthashCode()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 StringAPI name:target_fieldCreate a new builderToCopyableBuilderthat is initialised with the current state of this object.Methods inherited from class org.opensearch.client.opensearch.ingest.ProcessorBase
description, if_, ignoreFailure, onFailure, serialize, setupProcessorBaseDeserializer, tagMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.opensearch.client.json.PlainJsonSerializable
toJsonStringMethods inherited from interface org.opensearch.client.opensearch.ingest.ProcessorVariant
toProcessorMethods inherited from interface org.opensearch.client.util.ToCopyableBuilder
copy
-
Field Details
-
_DESERIALIZER
Json deserializer forGsubProcessor
-
-
Method Details
-
of
-
_processorKind
Processorvariant kind.- Specified by:
_processorKindin interfaceProcessorVariant
-
field
Required - API name:field -
ignoreMissing
Iftrueandfielddoes not exist or isnull, the processor quietly exits without modifying the document.API name:
ignore_missing -
pattern
Required - The pattern to be replaced.API name:
pattern -
replacement
Required - The string to replace the matching patterns with.API name:
replacement -
targetField
API name:target_field -
serializeInternal
- Overrides:
serializeInternalin classProcessorBase
-
toBuilder
Description copied from interface:ToCopyableBuilderCreate a new builderToCopyableBuilderthat is initialised with the current state of this object.- Specified by:
toBuilderin interfaceToCopyableBuilder<GsubProcessor.Builder,GsubProcessor> - Returns:
- a new builder instance.
-
builder
-
setupGsubProcessorDeserializer
-
hashCode
public int hashCode()- Overrides:
hashCodein classProcessorBase
-
equals
- Overrides:
equalsin classProcessorBase
-