Class IndexStats.Builder
java.lang.Object
co.elastic.clients.util.ObjectBuilderBase
co.elastic.clients.elasticsearch.indices.stats.IndexStats.Builder
- All Implemented Interfaces:
ObjectBuilder<IndexStats>
- Enclosing class:
- IndexStats
public static class IndexStats.Builder extends ObjectBuilderBase implements ObjectBuilder<IndexStats>
Builder for
IndexStats
.-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
Modifier and Type Method Description IndexStats
build()
Builds aIndexStats
.IndexStats.Builder
bulk(BulkStats value)
API name:bulk
IndexStats.Builder
bulk(java.util.function.Function<BulkStats.Builder,ObjectBuilder<BulkStats>> fn)
API name:bulk
IndexStats.Builder
completion(CompletionStats value)
Contains statistics about completions across all shards assigned to the node.IndexStats.Builder
completion(java.util.function.Function<CompletionStats.Builder,ObjectBuilder<CompletionStats>> fn)
Contains statistics about completions across all shards assigned to the node.IndexStats.Builder
docs(DocStats value)
Contains statistics about documents across all primary shards assigned to the node.IndexStats.Builder
docs(java.util.function.Function<DocStats.Builder,ObjectBuilder<DocStats>> fn)
Contains statistics about documents across all primary shards assigned to the node.IndexStats.Builder
fielddata(FielddataStats value)
Contains statistics about the field data cache across all shards assigned to the node.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.IndexStats.Builder
flush(FlushStats value)
Contains statistics about flush operations for the node.IndexStats.Builder
flush(java.util.function.Function<FlushStats.Builder,ObjectBuilder<FlushStats>> fn)
Contains statistics about flush operations for the node.IndexStats.Builder
get(GetStats value)
Contains statistics about get operations for the node.IndexStats.Builder
get(java.util.function.Function<GetStats.Builder,ObjectBuilder<GetStats>> fn)
Contains statistics about get operations for the node.IndexStats.Builder
indexing(IndexingStats value)
Contains statistics about indexing operations for the node.IndexStats.Builder
indexing(java.util.function.Function<IndexingStats.Builder,ObjectBuilder<IndexingStats>> fn)
Contains statistics about indexing operations for the node.IndexStats.Builder
merges(MergesStats value)
Contains statistics about merge operations for the node.IndexStats.Builder
merges(java.util.function.Function<MergesStats.Builder,ObjectBuilder<MergesStats>> fn)
Contains statistics about merge operations for the node.IndexStats.Builder
queryCache(QueryCacheStats value)
Contains statistics about the query cache across all shards assigned to the node.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.IndexStats.Builder
recovery(RecoveryStats value)
Contains statistics about recovery operations for the node.IndexStats.Builder
recovery(java.util.function.Function<RecoveryStats.Builder,ObjectBuilder<RecoveryStats>> fn)
Contains statistics about recovery operations for the node.IndexStats.Builder
refresh(RefreshStats value)
Contains statistics about refresh operations for the node.IndexStats.Builder
refresh(java.util.function.Function<RefreshStats.Builder,ObjectBuilder<RefreshStats>> fn)
Contains statistics about refresh operations for the node.IndexStats.Builder
requestCache(RequestCacheStats value)
Contains statistics about the request cache across all shards assigned to the node.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.IndexStats.Builder
search(SearchStats value)
Contains statistics about search operations for the node.IndexStats.Builder
search(java.util.function.Function<SearchStats.Builder,ObjectBuilder<SearchStats>> fn)
Contains statistics about search operations for the node.IndexStats.Builder
segments(SegmentsStats value)
Contains statistics about segments across all shards assigned to the node.IndexStats.Builder
segments(java.util.function.Function<SegmentsStats.Builder,ObjectBuilder<SegmentsStats>> fn)
Contains statistics about segments across all shards assigned to the node.IndexStats.Builder
shards(ShardsTotalStats value)
API name:shards
IndexStats.Builder
shards(java.util.function.Function<ShardsTotalStats.Builder,ObjectBuilder<ShardsTotalStats>> fn)
API name:shards
IndexStats.Builder
store(StoreStats value)
Contains statistics about the size of shards assigned to the node.IndexStats.Builder
store(java.util.function.Function<StoreStats.Builder,ObjectBuilder<StoreStats>> fn)
Contains statistics about the size of shards assigned to the node.IndexStats.Builder
translog(TranslogStats value)
Contains statistics about transaction log operations for the node.IndexStats.Builder
translog(java.util.function.Function<TranslogStats.Builder,ObjectBuilder<TranslogStats>> fn)
Contains statistics about transaction log operations for the node.IndexStats.Builder
warmer(WarmerStats value)
Contains statistics about index warming operations for the node.IndexStats.Builder
warmer(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.ObjectBuilderBase
_checkSingleUse, _listAdd, _listAddAll, _mapPut, _mapPutAll
Methods 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
-
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
-
shards
API name:shards
-
shards
public final IndexStats.Builder shards(java.util.function.Function<ShardsTotalStats.Builder,ObjectBuilder<ShardsTotalStats>> fn)API name:shards
-
build
Builds aIndexStats
.- Specified by:
build
in interfaceObjectBuilder<IndexStats>
- Throws:
java.lang.NullPointerException
- if some of the required fields are null.
-