Class GsubProcessor

java.lang.Object
co.elastic.clients.elasticsearch.ingest.ProcessorBase
co.elastic.clients.elasticsearch.ingest.GsubProcessor
All Implemented Interfaces:
ProcessorVariant, JsonpSerializable

@JsonpDeserializable public class GsubProcessor extends ProcessorBase implements ProcessorVariant
See Also:
  • Field Details

  • Method Details

    • of

    • _processorKind

      public Processor.Kind _processorKind()
      Processor variant kind.
      Specified by:
      _processorKind in interface ProcessorVariant
    • field

      public final String field()
      Required - The field to apply the replacement to.

      API name: field

    • ignoreMissing

      @Nullable public final Boolean ignoreMissing()
      If true and field does not exist or is null, the processor quietly exits without modifying the document.

      API name: ignore_missing

    • pattern

      public final String pattern()
      Required - The pattern to be replaced.

      API name: pattern

    • replacement

      public final String replacement()
      Required - The string to replace the matching patterns with.

      API name: replacement

    • targetField

      @Nullable public final String targetField()
      The field to assign the converted value to By default, the field is updated in-place.

      API name: target_field

    • serializeInternal

      protected void serializeInternal(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)
      Overrides:
      serializeInternal in class ProcessorBase
    • setupGsubProcessorDeserializer

      protected static void setupGsubProcessorDeserializer(ObjectDeserializer<GsubProcessor.Builder> op)