Class FingerprintProcessor

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

@JsonpDeserializable public class FingerprintProcessor 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
    • fields

      public final List<String> fields()
      Required - Array of fields to include in the fingerprint. For objects, the processor hashes both the field key and value. For other fields, the processor hashes only the field value.

      API name: fields

    • targetField

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

      API name: target_field

    • salt

      @Nullable public final String salt()
      Salt value for the hash function.

      API name: salt

    • method

      @Nullable public final FingerprintDigest method()
      The hash method used to compute the fingerprint. Must be one of MD5, SHA-1, SHA-256, SHA-512, or MurmurHash3.

      API name: method

    • ignoreMissing

      @Nullable public final Boolean ignoreMissing()
      If true, the processor ignores any missing fields. If all fields are missing, the processor silently exits without modifying the document.

      API name: ignore_missing

    • serializeInternal

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

      protected static void setupFingerprintProcessorDeserializer(ObjectDeserializer<FingerprintProcessor.Builder> op)