Class IngestStats.Builder
java.lang.Object
co.elastic.clients.util.ObjectBuilderBase
co.elastic.clients.util.WithJsonObjectBuilderBase<IngestStats.Builder>
co.elastic.clients.elasticsearch.nodes.IngestStats.Builder
- All Implemented Interfaces:
WithJson<IngestStats.Builder>,ObjectBuilder<IngestStats>
- Enclosing class:
- IngestStats
public static class IngestStats.Builder
extends WithJsonObjectBuilderBase<IngestStats.Builder>
implements ObjectBuilder<IngestStats>
Builder for
IngestStats.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds aIngestStats.final IngestStats.Buildercount(long value) Required - Total number of documents ingested during the lifetime of this node.final IngestStats.Buildercurrent(long value) Required - Total number of documents currently being ingested.final IngestStats.Builderfailed(long value) Required - Total number of failed ingest operations during the lifetime of this node.final IngestStats.BuilderingestedAsFirstPipelineInBytes(long value) Required - Total number of bytes of all documents ingested by the pipeline.final IngestStats.Builderprocessors(List<Map<String, KeyedProcessor>> list) Required - Total number of ingest processors.final IngestStats.Builderprocessors(Map<String, KeyedProcessor> value, Map<String, KeyedProcessor>... values) Required - Total number of ingest processors.final IngestStats.BuilderproducedAsFirstPipelineInBytes(long value) Required - Total number of bytes of all documents produced by the pipeline.protected IngestStats.Builderself()final IngestStats.BuildertimeInMillis(long value) Required - Total time, in milliseconds, spent preprocessing ingest documents during the lifetime of this node.Methods inherited from class co.elastic.clients.util.WithJsonObjectBuilderBase
withJsonMethods inherited from class co.elastic.clients.util.ObjectBuilderBase
_checkSingleUse, _listAdd, _listAddAll, _mapPut, _mapPutAll
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
count
Required - Total number of documents ingested during the lifetime of this node.API name:
count -
current
Required - Total number of documents currently being ingested.API name:
current -
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:
processorsAdds all elements of
listtoprocessors. -
processors
public final IngestStats.Builder processors(Map<String, KeyedProcessor> value, Map<String, KeyedProcessor>... values) Required - Total number of ingest processors.API name:
processorsAdds one or more values to
processors. -
timeInMillis
Required - Total time, in milliseconds, spent preprocessing ingest documents during the lifetime of this node.API name:
time_in_millis -
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
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 -
self
- Specified by:
selfin classWithJsonObjectBuilderBase<IngestStats.Builder>
-
build
Builds aIngestStats.- Specified by:
buildin interfaceObjectBuilder<IngestStats>- Throws:
NullPointerException- if some of the required fields are null.
-