Class Processor

java.lang.Object
co.elastic.clients.elasticsearch.nodes.Processor
All Implemented Interfaces:
JsonpSerializable

@JsonpDeserializable public class Processor extends Object implements JsonpSerializable
See Also:
  • Field Details

  • Method Details

    • of

    • count

      @Nullable public final Long count()
      Number of documents transformed by the processor.

      API name: count

    • current

      @Nullable public final Long current()
      Number of documents currently being transformed by the processor.

      API name: current

    • failed

      @Nullable public final Long failed()
      Number of failed operations for the processor.

      API name: failed

    • timeInMillis

      @Nullable public final Long timeInMillis()
      Time, in milliseconds, spent by the processor transforming documents.

      API name: time_in_millis

    • serialize

      public void serialize(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)
      Serialize this object to JSON.
      Specified by:
      serialize in interface JsonpSerializable
    • serializeInternal

      protected void serializeInternal(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • setupProcessorDeserializer

      protected static void setupProcessorDeserializer(ObjectDeserializer<Processor.Builder> op)