Class IndexStats.Builder
- java.lang.Object
-
- org.opensearch.client.util.ObjectBuilderBase
-
- org.opensearch.client.opensearch.indices.stats.IndexStats.Builder
-
- All Implemented Interfaces:
ObjectBuilder<IndexStats>
- Enclosing class:
- IndexStats
public static class IndexStats.Builder extends ObjectBuilderBase implements ObjectBuilder<IndexStats>
Builder forIndexStats.
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description IndexStatsbuild()Builds aIndexStats.IndexStats.Builderbulk(java.util.function.Function<BulkStats.Builder,ObjectBuilder<BulkStats>> fn)API name:bulkIndexStats.Builderbulk(BulkStats value)API name:bulkIndexStats.Buildercompletion(java.util.function.Function<CompletionStats.Builder,ObjectBuilder<CompletionStats>> fn)Contains statistics about completions across all shards assigned to the node.IndexStats.Buildercompletion(CompletionStats value)Contains statistics about completions across all 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.Builderdocs(DocStats value)Contains statistics about documents across all primary 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.Builderfielddata(FielddataStats value)Contains statistics about the field data cache across all shards assigned to the node.IndexStats.Builderflush(java.util.function.Function<FlushStats.Builder,ObjectBuilder<FlushStats>> fn)Contains statistics about flush operations for the node.IndexStats.Builderflush(FlushStats value)Contains statistics about flush operations for the node.IndexStats.Builderget(java.util.function.Function<GetStats.Builder,ObjectBuilder<GetStats>> fn)Contains statistics about get operations for the node.IndexStats.Builderget(GetStats value)Contains statistics about get operations for the node.IndexStats.Builderindexing(java.util.function.Function<IndexingStats.Builder,ObjectBuilder<IndexingStats>> fn)Contains statistics about indexing operations for the node.IndexStats.Builderindexing(IndexingStats value)Contains statistics about indexing operations for the node.IndexStats.Buildermerges(java.util.function.Function<MergesStats.Builder,ObjectBuilder<MergesStats>> fn)Contains statistics about merge operations for the node.IndexStats.Buildermerges(MergesStats value)Contains statistics about merge operations for 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.BuilderqueryCache(QueryCacheStats value)Contains statistics about the query cache across all shards assigned to the node.IndexStats.Builderrecovery(java.util.function.Function<RecoveryStats.Builder,ObjectBuilder<RecoveryStats>> fn)Contains statistics about recovery operations for the node.IndexStats.Builderrecovery(RecoveryStats value)Contains statistics about recovery operations for the node.IndexStats.Builderrefresh(java.util.function.Function<RefreshStats.Builder,ObjectBuilder<RefreshStats>> fn)Contains statistics about refresh operations for the node.IndexStats.Builderrefresh(RefreshStats value)Contains statistics about refresh operations for 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.BuilderrequestCache(RequestCacheStats value)Contains statistics about the request cache across all shards assigned to the node.IndexStats.Buildersearch(java.util.function.Function<SearchStats.Builder,ObjectBuilder<SearchStats>> fn)Contains statistics about search operations for the node.IndexStats.Buildersearch(SearchStats value)Contains statistics about search operations for the node.IndexStats.Buildersegments(java.util.function.Function<SegmentsStats.Builder,ObjectBuilder<SegmentsStats>> fn)Contains statistics about segments across all shards assigned to the node.IndexStats.Buildersegments(SegmentsStats value)Contains statistics about segments across all shards assigned to the node.IndexStats.Buildershards(java.util.function.Function<ShardsTotalStats.Builder,ObjectBuilder<ShardsTotalStats>> fn)API name:shardsIndexStats.Buildershards(ShardsTotalStats value)API name:shardsIndexStats.Builderstore(java.util.function.Function<StoreStats.Builder,ObjectBuilder<StoreStats>> fn)Contains statistics about the size of shards assigned to the node.IndexStats.Builderstore(StoreStats value)Contains statistics about the size of shards assigned to the node.IndexStats.Buildertranslog(java.util.function.Function<TranslogStats.Builder,ObjectBuilder<TranslogStats>> fn)Contains statistics about transaction log operations for the node.IndexStats.Buildertranslog(TranslogStats value)Contains statistics about transaction log operations for the node.IndexStats.Builderwarmer(java.util.function.Function<WarmerStats.Builder,ObjectBuilder<WarmerStats>> fn)Contains statistics about index warming operations for the node.IndexStats.Builderwarmer(WarmerStats value)Contains statistics about index warming operations for the node.-
Methods inherited from class org.opensearch.client.util.ObjectBuilderBase
_checkSingleUse, _listAdd, _listAddAll, _mapPut, _mapPutAll
-
-
-
-
Method Detail
-
completion
public final IndexStats.Builder completion(@Nullable CompletionStats value)
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
public final IndexStats.Builder docs(@Nullable DocStats value)
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
public final IndexStats.Builder fielddata(@Nullable FielddataStats value)
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
public final IndexStats.Builder flush(@Nullable FlushStats value)
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
public final IndexStats.Builder get(@Nullable GetStats value)
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
public final IndexStats.Builder indexing(@Nullable IndexingStats value)
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
-
merges
public final IndexStats.Builder merges(@Nullable MergesStats value)
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
public final IndexStats.Builder queryCache(@Nullable QueryCacheStats value)
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
public final IndexStats.Builder recovery(@Nullable RecoveryStats value)
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
public final IndexStats.Builder refresh(@Nullable RefreshStats value)
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
public final IndexStats.Builder requestCache(@Nullable RequestCacheStats value)
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
public final IndexStats.Builder search(@Nullable SearchStats value)
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
public final IndexStats.Builder segments(@Nullable SegmentsStats value)
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
public final IndexStats.Builder store(@Nullable StoreStats value)
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
public final IndexStats.Builder translog(@Nullable TranslogStats value)
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
public final IndexStats.Builder warmer(@Nullable WarmerStats value)
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
public final IndexStats.Builder bulk(@Nullable BulkStats value)
API name:bulk
-
bulk
public final IndexStats.Builder bulk(java.util.function.Function<BulkStats.Builder,ObjectBuilder<BulkStats>> fn)
API name:bulk
-
shards
public final IndexStats.Builder shards(@Nullable ShardsTotalStats value)
API name:shards
-
shards
public final IndexStats.Builder shards(java.util.function.Function<ShardsTotalStats.Builder,ObjectBuilder<ShardsTotalStats>> fn)
API name:shards
-
build
public IndexStats build()
Builds aIndexStats.- Specified by:
buildin interfaceObjectBuilder<IndexStats>- Throws:
java.lang.NullPointerException- if some of the required fields are null.
-
-