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 Constructor Description Builder() -
Method Summary
Modifier and Type Method Description IndexStatsbuild()Builds aIndexStats.IndexStats.Builderbulk(BulkStats value)API name:bulkIndexStats.Builderbulk(java.util.function.Function<BulkStats.Builder,ObjectBuilder<BulkStats>> fn)API name:bulkIndexStats.Buildercompletion(CompletionStats value)Contains statistics about completions across all shards assigned to the node.IndexStats.Buildercompletion(java.util.function.Function<CompletionStats.Builder,ObjectBuilder<CompletionStats>> fn)Contains statistics about completions across all shards assigned to the node.IndexStats.Builderdocs(DocStats value)Contains statistics about documents across all primary shards assigned to the node.IndexStats.Builderdocs(java.util.function.Function<DocStats.Builder,ObjectBuilder<DocStats>> fn)Contains statistics about documents across all primary shards assigned to the node.IndexStats.Builderfielddata(FielddataStats value)Contains statistics about the field data cache across all shards assigned to the node.IndexStats.Builderfielddata(java.util.function.Function<FielddataStats.Builder,ObjectBuilder<FielddataStats>> fn)Contains statistics about the field data cache across all shards assigned to the node.IndexStats.Builderflush(FlushStats value)Contains statistics about flush operations for the node.IndexStats.Builderflush(java.util.function.Function<FlushStats.Builder,ObjectBuilder<FlushStats>> fn)Contains statistics about flush operations for the node.IndexStats.Builderget(GetStats value)Contains statistics about get operations for the node.IndexStats.Builderget(java.util.function.Function<GetStats.Builder,ObjectBuilder<GetStats>> fn)Contains statistics about get operations for the node.IndexStats.Builderindexing(IndexingStats value)Contains statistics about indexing operations for the node.IndexStats.Builderindexing(java.util.function.Function<IndexingStats.Builder,ObjectBuilder<IndexingStats>> fn)Contains statistics about indexing operations for the node.IndexStats.Builderindices(IndicesStats value)Contains statistics about indices operations for the node.IndexStats.Builderindices(java.util.function.Function<IndicesStats.Builder,ObjectBuilder<IndicesStats>> fn)Contains statistics about indices operations for the node.IndexStats.Buildermerges(MergesStats value)Contains statistics about merge operations for the node.IndexStats.Buildermerges(java.util.function.Function<MergesStats.Builder,ObjectBuilder<MergesStats>> fn)Contains statistics about merge operations for the node.IndexStats.BuilderqueryCache(QueryCacheStats value)Contains statistics about the query cache across all shards assigned to the node.IndexStats.BuilderqueryCache(java.util.function.Function<QueryCacheStats.Builder,ObjectBuilder<QueryCacheStats>> fn)Contains statistics about the query cache across all shards assigned to the node.IndexStats.Builderrecovery(RecoveryStats value)Contains statistics about recovery operations for the node.IndexStats.Builderrecovery(java.util.function.Function<RecoveryStats.Builder,ObjectBuilder<RecoveryStats>> fn)Contains statistics about recovery operations for the node.IndexStats.Builderrefresh(RefreshStats value)Contains statistics about refresh operations for the node.IndexStats.Builderrefresh(java.util.function.Function<RefreshStats.Builder,ObjectBuilder<RefreshStats>> fn)Contains statistics about refresh operations for the node.IndexStats.BuilderrequestCache(RequestCacheStats value)Contains statistics about the request cache across all shards assigned to the node.IndexStats.BuilderrequestCache(java.util.function.Function<RequestCacheStats.Builder,ObjectBuilder<RequestCacheStats>> fn)Contains statistics about the request cache across all shards assigned to the node.IndexStats.Buildersearch(SearchStats value)Contains statistics about search operations for the node.IndexStats.Buildersearch(java.util.function.Function<SearchStats.Builder,ObjectBuilder<SearchStats>> fn)Contains statistics about search operations for the node.IndexStats.Buildersegments(SegmentsStats value)Contains statistics about segments across all shards assigned to the node.IndexStats.Buildersegments(java.util.function.Function<SegmentsStats.Builder,ObjectBuilder<SegmentsStats>> fn)Contains statistics about segments across all shards assigned to the node.protected IndexStats.Builderself()IndexStats.BuildershardStats(ShardsTotalStats value)API name:shard_statsIndexStats.BuildershardStats(java.util.function.Function<ShardsTotalStats.Builder,ObjectBuilder<ShardsTotalStats>> fn)API name:shard_statsIndexStats.Builderstore(StoreStats value)Contains statistics about the size of shards assigned to the node.IndexStats.Builderstore(java.util.function.Function<StoreStats.Builder,ObjectBuilder<StoreStats>> fn)Contains statistics about the size of shards assigned to the node.IndexStats.Buildertranslog(TranslogStats value)Contains statistics about transaction log operations for the node.IndexStats.Buildertranslog(java.util.function.Function<TranslogStats.Builder,ObjectBuilder<TranslogStats>> fn)Contains statistics about transaction log operations for the node.IndexStats.Builderwarmer(WarmerStats value)Contains statistics about index warming operations for the node.IndexStats.Builderwarmer(java.util.function.Function<WarmerStats.Builder,ObjectBuilder<WarmerStats>> fn)Contains 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, _mapPutAllMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
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(java.util.function.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
public final IndexStats.Builder docs(java.util.function.Function<DocStats.Builder,ObjectBuilder<DocStats>> fn)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(java.util.function.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
public final IndexStats.Builder flush(java.util.function.Function<FlushStats.Builder,ObjectBuilder<FlushStats>> fn)Contains statistics about flush operations for the node.API name:
flush -
get
Contains statistics about get operations for the node.API name:
get -
get
public final IndexStats.Builder get(java.util.function.Function<GetStats.Builder,ObjectBuilder<GetStats>> fn)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(java.util.function.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(java.util.function.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
public final IndexStats.Builder merges(java.util.function.Function<MergesStats.Builder,ObjectBuilder<MergesStats>> fn)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(java.util.function.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(java.util.function.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(java.util.function.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(java.util.function.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
public final IndexStats.Builder search(java.util.function.Function<SearchStats.Builder,ObjectBuilder<SearchStats>> fn)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(java.util.function.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
public final IndexStats.Builder store(java.util.function.Function<StoreStats.Builder,ObjectBuilder<StoreStats>> fn)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(java.util.function.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
public final IndexStats.Builder warmer(java.util.function.Function<WarmerStats.Builder,ObjectBuilder<WarmerStats>> fn)Contains statistics about index warming operations for the node.API name:
warmer -
bulk
API name:bulk -
bulk
public final IndexStats.Builder bulk(java.util.function.Function<BulkStats.Builder,ObjectBuilder<BulkStats>> fn)API name:bulk -
shardStats
API name:shard_stats -
shardStats
public final IndexStats.Builder shardStats(java.util.function.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:
java.lang.NullPointerException- if some of the required fields are null.
-