Class UriPartsProcessor

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

@JsonpDeserializable public class UriPartsProcessor 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 - Field containing the URI string.

      API name: field

    • ignoreMissing

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

      API name: ignore_missing

    • keepOriginal

      @Nullable public final Boolean keepOriginal()
      If true, the processor copies the unparsed URI to <target_field>.original.

      API name: keep_original

    • removeIfSuccessful

      @Nullable public final Boolean removeIfSuccessful()
      If true, the processor removes the field after parsing the URI string. If parsing fails, the processor does not remove the field.

      API name: remove_if_successful

    • targetField

      @Nullable public final String targetField()
      Output field for the URI object.

      API name: target_field

    • serializeInternal

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

      protected static void setupUriPartsProcessorDeserializer(ObjectDeserializer<UriPartsProcessor.Builder> op)