Class IndexStats.Builder
java.lang.Object
co.elastic.clients.util.ObjectBuilderBase
co.elastic.clients.util.WithJsonObjectBuilderBase<IndexStats.Builder>
co.elastic.clients.elasticsearch.indices.stats.IndexStats.Builder
- All Implemented Interfaces:
WithJson<IndexStats.Builder>,ObjectBuilder<IndexStats>
- Enclosing class:
- IndexStats
public static class IndexStats.Builder
extends WithJsonObjectBuilderBase<IndexStats.Builder>
implements ObjectBuilder<IndexStats>
Builder for
IndexStats.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds aIndexStats.final IndexStats.BuilderAPI name:bulkfinal IndexStats.BuilderAPI name:bulkfinal IndexStats.Buildercompletion(CompletionStats value) Contains statistics about completions across all shards assigned to the node.final IndexStats.BuilderContains statistics about completions across all shards assigned to the node.final IndexStats.BuilderContains statistics about documents across all primary shards assigned to the node.final IndexStats.BuilderContains statistics about documents across all primary shards assigned to the node.final IndexStats.Builderfielddata(FielddataStats value) Contains statistics about the field data cache across all shards assigned to the node.final IndexStats.BuilderContains statistics about the field data cache across all shards assigned to the node.final IndexStats.Builderflush(FlushStats value) Contains statistics about flush operations for the node.final IndexStats.BuilderContains statistics about flush operations for the node.final IndexStats.BuilderContains statistics about get operations for the node.final IndexStats.BuilderContains statistics about get operations for the node.final IndexStats.Builderindexing(IndexingStats value) Contains statistics about indexing operations for the node.final IndexStats.BuilderContains statistics about indexing operations for the node.final IndexStats.Builderindices(IndicesStats value) Contains statistics about indices operations for the node.final IndexStats.BuilderContains statistics about indices operations for the node.final IndexStats.Buildermerges(MergesStats value) Contains statistics about merge operations for the node.final IndexStats.BuilderContains statistics about merge operations for the node.final IndexStats.BuilderqueryCache(QueryCacheStats value) Contains statistics about the query cache across all shards assigned to the node.final IndexStats.BuilderContains statistics about the query cache across all shards assigned to the node.final IndexStats.Builderrecovery(RecoveryStats value) Contains statistics about recovery operations for the node.final IndexStats.BuilderContains statistics about recovery operations for the node.final IndexStats.Builderrefresh(RefreshStats value) Contains statistics about refresh operations for the node.final IndexStats.BuilderContains statistics about refresh operations for the node.final IndexStats.BuilderrequestCache(RequestCacheStats value) Contains statistics about the request cache across all shards assigned to the node.final IndexStats.BuilderContains statistics about the request cache across all shards assigned to the node.final IndexStats.Buildersearch(SearchStats value) Contains statistics about search operations for the node.final IndexStats.BuilderContains statistics about search operations for the node.final IndexStats.Buildersegments(SegmentsStats value) Contains statistics about segments across all shards assigned to the node.final IndexStats.BuilderContains statistics about segments across all shards assigned to the node.protected IndexStats.Builderself()final IndexStats.BuildershardStats(ShardsTotalStats value) API name:shard_statsfinal IndexStats.BuilderAPI name:shard_statsfinal IndexStats.Builderstore(StoreStats value) Contains statistics about the size of shards assigned to the node.final IndexStats.BuilderContains statistics about the size of shards assigned to the node.final IndexStats.Buildertranslog(TranslogStats value) Contains statistics about transaction log operations for the node.final IndexStats.BuilderContains statistics about transaction log operations for the node.final IndexStats.Builderwarmer(WarmerStats value) Contains statistics about index warming operations for the node.final IndexStats.BuilderContains statistics about index warming operations for the 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
-
completion
Contains statistics about completions across all shards assigned to the node.API name:
completion -
completion
public final IndexStats.Builder completion(Function<CompletionStats.Builder, ObjectBuilder<CompletionStats>> fn) Contains statistics about completions across all shards assigned to the node.API name:
completion -
docs
Contains statistics about documents across all primary shards assigned to the node.API name:
docs -
docs
Contains statistics about documents across all primary shards assigned to the node.API name:
docs -
fielddata
Contains statistics about the field data cache across all shards assigned to the node.API name:
fielddata -
fielddata
public final IndexStats.Builder fielddata(Function<FielddataStats.Builder, ObjectBuilder<FielddataStats>> fn) Contains statistics about the field data cache across all shards assigned to the node.API name:
fielddata -
flush
Contains statistics about flush operations for the node.API name:
flush -
flush
Contains statistics about flush operations for the node.API name:
flush -
get
Contains statistics about get operations for the node.API name:
get -
get
Contains statistics about get operations for the node.API name:
get -
indexing
Contains statistics about indexing operations for the node.API name:
indexing -
indexing
public final IndexStats.Builder indexing(Function<IndexingStats.Builder, ObjectBuilder<IndexingStats>> fn) Contains statistics about indexing operations for the node.API name:
indexing -
indices
Contains statistics about indices operations for the node.API name:
indices -
indices
public final IndexStats.Builder indices(Function<IndicesStats.Builder, ObjectBuilder<IndicesStats>> fn) Contains statistics about indices operations for the node.API name:
indices -
merges
Contains statistics about merge operations for the node.API name:
merges -
merges
Contains statistics about merge operations for the node.API name:
merges -
queryCache
Contains statistics about the query cache across all shards assigned to the node.API name:
query_cache -
queryCache
public final IndexStats.Builder queryCache(Function<QueryCacheStats.Builder, ObjectBuilder<QueryCacheStats>> fn) Contains statistics about the query cache across all shards assigned to the node.API name:
query_cache -
recovery
Contains statistics about recovery operations for the node.API name:
recovery -
recovery
public final IndexStats.Builder recovery(Function<RecoveryStats.Builder, ObjectBuilder<RecoveryStats>> fn) Contains statistics about recovery operations for the node.API name:
recovery -
refresh
Contains statistics about refresh operations for the node.API name:
refresh -
refresh
public final IndexStats.Builder refresh(Function<RefreshStats.Builder, ObjectBuilder<RefreshStats>> fn) Contains statistics about refresh operations for the node.API name:
refresh -
requestCache
Contains statistics about the request cache across all shards assigned to the node.API name:
request_cache -
requestCache
public final IndexStats.Builder requestCache(Function<RequestCacheStats.Builder, ObjectBuilder<RequestCacheStats>> fn) Contains statistics about the request cache across all shards assigned to the node.API name:
request_cache -
search
Contains statistics about search operations for the node.API name:
search -
search
Contains statistics about search operations for the node.API name:
search -
segments
Contains statistics about segments across all shards assigned to the node.API name:
segments -
segments
public final IndexStats.Builder segments(Function<SegmentsStats.Builder, ObjectBuilder<SegmentsStats>> fn) Contains statistics about segments across all shards assigned to the node.API name:
segments -
store
Contains statistics about the size of shards assigned to the node.API name:
store -
store
Contains statistics about the size of shards assigned to the node.API name:
store -
translog
Contains statistics about transaction log operations for the node.API name:
translog -
translog
public final IndexStats.Builder translog(Function<TranslogStats.Builder, ObjectBuilder<TranslogStats>> fn) Contains statistics about transaction log operations for the node.API name:
translog -
warmer
Contains statistics about index warming operations for the node.API name:
warmer -
warmer
Contains statistics about index warming operations for the node.API name:
warmer -
bulk
API name:bulk -
bulk
API name:bulk -
shardStats
API name:shard_stats -
shardStats
public final IndexStats.Builder shardStats(Function<ShardsTotalStats.Builder, ObjectBuilder<ShardsTotalStats>> fn) API name:shard_stats -
self
- Specified by:
selfin classWithJsonObjectBuilderBase<IndexStats.Builder>
-
build
Builds aIndexStats.- Specified by:
buildin interfaceObjectBuilder<IndexStats>- Throws:
NullPointerException- if some of the required fields are null.
-