Class IngestStats
java.lang.Object
co.elastic.clients.elasticsearch.nodes.IngestStats
- All Implemented Interfaces:
JsonpSerializable
- See Also:
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final JsonpDeserializer<IngestStats>
Json deserializer forIngestStats
-
Method Summary
Modifier and TypeMethodDescriptionfinal long
count()
Required - Total number of documents ingested during the lifetime of this node.final long
current()
Required - Total number of documents currently being ingested.final long
failed()
Required - Total number of failed ingest operations during the lifetime of this node.final long
Required - Total number of bytes of all documents ingested by the pipeline.static IngestStats
final List<Map<String,
KeyedProcessor>> Required - Total number of ingest processors.final long
Required - Total number of bytes of all documents produced by the pipeline.void
serialize
(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper) Serialize this object to JSON.protected void
serializeInternal
(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper) protected static void
final long
Required - Total time, in milliseconds, spent preprocessing ingest documents during the lifetime of this node.toString()
-
Field Details
-
_DESERIALIZER
Json deserializer forIngestStats
-
-
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
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
Serialize this object to JSON.- Specified by:
serialize
in interfaceJsonpSerializable
-
serializeInternal
-
toString
-
setupIngestStatsDeserializer
-