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 SummaryConstructors
- 
Method SummaryModifier 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.WithJsonObjectBuilderBasewithJsonMethods inherited from class co.elastic.clients.util.ObjectBuilderBase_checkSingleUse, _listAdd, _listAddAll, _mapPut, _mapPutAll
- 
Constructor Details- 
Builderpublic Builder()
 
- 
- 
Method Details- 
countRequired - Total number of documents ingested during the lifetime of this node.API name: count
- 
currentRequired - Total number of documents currently being ingested.API name: current
- 
failedRequired - Total number of failed ingest operations during the lifetime of this node.API name: failed
- 
processorsRequired - Total number of ingest processors.API name: processorsAdds all elements of listtoprocessors.
- 
processorspublic 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.
- 
timeInMillisRequired - Total time, in milliseconds, spent preprocessing ingest documents during the lifetime of this node.API name: time_in_millis
- 
ingestedAsFirstPipelineInBytesRequired - 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
- 
producedAsFirstPipelineInBytesRequired - 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 class- WithJsonObjectBuilderBase<IngestStats.Builder>
 
- 
buildBuilds aIngestStats.- Specified by:
- buildin interface- ObjectBuilder<IngestStats>
- Throws:
- NullPointerException- if some of the required fields are null.
 
 
-