Class IngestStats

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

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

  • Method Details

    • of

    • count

      public final long count()
      Required - Total number of documents ingested during the lifetime of this node.

      API name: count

    • current

      public final long current()
      Required - Total number of documents currently being ingested.

      API name: current

    • failed

      public final long failed()
      Required - Total number of failed ingest operations during the lifetime of this node.

      API name: failed

    • processors

      public final List<Map<String,KeyedProcessor>> processors()
      Required - Total number of ingest processors.

      API name: processors

    • timeInMillis

      public final long timeInMillis()
      Required - Total time, in milliseconds, spent preprocessing ingest documents during the lifetime of this node.

      API name: time_in_millis

    • ingestedAsFirstPipelineInBytes

      public final long ingestedAsFirstPipelineInBytes()
      Required - Total number of bytes of all documents ingested by the pipeline. This field is only present on pipelines which are the first to process a document. Thus, it is not present on pipelines which only serve as a final pipeline after a default pipeline, a pipeline run after a reroute processor, or pipelines in pipeline processors.

      API name: ingested_as_first_pipeline_in_bytes

    • producedAsFirstPipelineInBytes

      public final long producedAsFirstPipelineInBytes()
      Required - Total number of bytes of all documents produced by the pipeline. This field is only present on pipelines which are the first to process a document. Thus, it is not present on pipelines which only serve as a final pipeline after a default pipeline, a pipeline run after a reroute processor, or pipelines in pipeline processors. In situations where there are subsequent pipelines, the value represents the size of the document after all pipelines have run.

      API name: produced_as_first_pipeline_in_bytes

    • 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
    • setupIngestStatsDeserializer

      protected static void setupIngestStatsDeserializer(ObjectDeserializer<IngestStats.Builder> op)