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.BuilderingestedAsFirstPipeline(String value) Total size of all documents ingested by the pipeline.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.BuilderproducedAsFirstPipeline(String value) Total size of all documents produced by the pipeline.final IngestStats.BuilderproducedAsFirstPipelineInBytes(long value) Required - Total number of bytes of all documents produced by the pipeline.protected IngestStats.Builderself()final IngestStats.BuilderTotal time spent preprocessing ingest documents during the lifetime of this node.final IngestStats.BuilderTotal time spent preprocessing ingest documents during the lifetime of this node.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. -
time
Total time spent preprocessing ingest documents during the lifetime of this node.API name:
time -
time
Total time spent preprocessing ingest documents during the lifetime of this node.API name:
time -
timeInMillis
Required - Total time, in milliseconds, spent preprocessing ingest documents during the lifetime of this node.API name:
time_in_millis -
ingestedAsFirstPipeline
Total size of all documents ingested by the pipeline. The value counts documents for which this pipeline was the first to process them; for pipelines that are not the first to process a document (for example, a final pipeline after a default pipeline, a pipeline run after a reroute processor, or a pipeline invoked by a pipeline processor), the value is0.API name:
ingested_as_first_pipeline -
ingestedAsFirstPipelineInBytes
Required - Total number of bytes of all documents ingested by the pipeline. The value counts documents for which this pipeline was the first to process them; for pipelines that are not the first to process a document, the value is0.API name:
ingested_as_first_pipeline_in_bytes -
producedAsFirstPipeline
Total size of all documents produced by the pipeline. The value counts documents for which this pipeline was the first to process them; for pipelines that are not the first to process a document, the value is0. 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 -
producedAsFirstPipelineInBytes
Required - Total number of bytes of all documents produced by the pipeline. The value counts documents for which this pipeline was the first to process them; for pipelines that are not the first to process a document, the value is0. 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.
-