Class ShardStats.Builder
java.lang.Object
co.elastic.clients.util.ObjectBuilderBase
co.elastic.clients.util.WithJsonObjectBuilderBase<ShardStats.Builder>
co.elastic.clients.elasticsearch.indices.stats.ShardStats.Builder
- All Implemented Interfaces:
WithJson<ShardStats.Builder>
,ObjectBuilder<ShardStats>
- Enclosing class:
- ShardStats
public static class ShardStats.Builder
extends WithJsonObjectBuilderBase<ShardStats.Builder>
implements ObjectBuilder<ShardStats>
Builder for
ShardStats
.-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds aShardStats
.final ShardStats.Builder
API name:bulk
final ShardStats.Builder
API name:bulk
final ShardStats.Builder
commit
(ShardCommit value) API name:commit
final ShardStats.Builder
API name:commit
final ShardStats.Builder
completion
(CompletionStats value) API name:completion
final ShardStats.Builder
API name:completion
final ShardStats.Builder
API name:docs
final ShardStats.Builder
API name:docs
final ShardStats.Builder
fielddata
(FielddataStats value) API name:fielddata
final ShardStats.Builder
API name:fielddata
final ShardStats.Builder
flush
(FlushStats value) API name:flush
final ShardStats.Builder
API name:flush
final ShardStats.Builder
API name:get
final ShardStats.Builder
API name:get
final ShardStats.Builder
indexing
(IndexingStats value) API name:indexing
final ShardStats.Builder
API name:indexing
final ShardStats.Builder
indices
(IndicesStats value) API name:indices
final ShardStats.Builder
API name:indices
final ShardStats.Builder
mappings
(MappingStats value) API name:mappings
final ShardStats.Builder
API name:mappings
final ShardStats.Builder
merges
(MergesStats value) API name:merges
final ShardStats.Builder
API name:merges
final ShardStats.Builder
queryCache
(ShardQueryCache value) API name:query_cache
final ShardStats.Builder
API name:query_cache
final ShardStats.Builder
recovery
(RecoveryStats value) API name:recovery
final ShardStats.Builder
API name:recovery
final ShardStats.Builder
refresh
(RefreshStats value) API name:refresh
final ShardStats.Builder
API name:refresh
final ShardStats.Builder
requestCache
(RequestCacheStats value) API name:request_cache
final ShardStats.Builder
API name:request_cache
final ShardStats.Builder
API name:retention_leases
final ShardStats.Builder
API name:retention_leases
final ShardStats.Builder
routing
(ShardRouting value) API name:routing
final ShardStats.Builder
API name:routing
final ShardStats.Builder
search
(SearchStats value) API name:search
final ShardStats.Builder
API name:search
final ShardStats.Builder
segments
(SegmentsStats value) API name:segments
final ShardStats.Builder
API name:segments
protected ShardStats.Builder
self()
final ShardStats.Builder
seqNo
(ShardSequenceNumber value) API name:seq_no
final ShardStats.Builder
API name:seq_no
final ShardStats.Builder
API name:shard_path
final ShardStats.Builder
API name:shard_path
final ShardStats.Builder
API name:shards
final ShardStats.Builder
API name:shards
final ShardStats.Builder
shardStats
(ShardsTotalStats value) API name:shard_stats
final ShardStats.Builder
API name:shard_stats
final ShardStats.Builder
store
(StoreStats value) API name:store
final ShardStats.Builder
API name:store
final ShardStats.Builder
translog
(TranslogStats value) API name:translog
final ShardStats.Builder
API name:translog
final ShardStats.Builder
warmer
(WarmerStats value) API name:warmer
final ShardStats.Builder
API name:warmer
Methods inherited from class co.elastic.clients.util.WithJsonObjectBuilderBase
withJson
Methods inherited from class co.elastic.clients.util.ObjectBuilderBase
_checkSingleUse, _listAdd, _listAddAll, _mapPut, _mapPutAll
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
commit
API name:commit
-
commit
API name:commit
-
completion
API name:completion
-
completion
public final ShardStats.Builder completion(Function<CompletionStats.Builder, ObjectBuilder<CompletionStats>> fn) API name:completion
-
docs
API name:docs
-
docs
API name:docs
-
fielddata
API name:fielddata
-
fielddata
public final ShardStats.Builder fielddata(Function<FielddataStats.Builder, ObjectBuilder<FielddataStats>> fn) API name:fielddata
-
flush
API name:flush
-
flush
API name:flush
-
get
API name:get
-
get
API name:get
-
indexing
API name:indexing
-
indexing
public final ShardStats.Builder indexing(Function<IndexingStats.Builder, ObjectBuilder<IndexingStats>> fn) API name:indexing
-
mappings
API name:mappings
-
mappings
public final ShardStats.Builder mappings(Function<MappingStats.Builder, ObjectBuilder<MappingStats>> fn) API name:mappings
-
merges
API name:merges
-
merges
API name:merges
-
shardPath
API name:shard_path
-
shardPath
API name:shard_path
-
queryCache
API name:query_cache
-
queryCache
public final ShardStats.Builder queryCache(Function<ShardQueryCache.Builder, ObjectBuilder<ShardQueryCache>> fn) API name:query_cache
-
recovery
API name:recovery
-
recovery
public final ShardStats.Builder recovery(Function<RecoveryStats.Builder, ObjectBuilder<RecoveryStats>> fn) API name:recovery
-
refresh
API name:refresh
-
refresh
public final ShardStats.Builder refresh(Function<RefreshStats.Builder, ObjectBuilder<RefreshStats>> fn) API name:refresh
-
requestCache
API name:request_cache
-
requestCache
public final ShardStats.Builder requestCache(Function<RequestCacheStats.Builder, ObjectBuilder<RequestCacheStats>> fn) API name:request_cache
-
retentionLeases
API name:retention_leases
-
retentionLeases
public final ShardStats.Builder retentionLeases(Function<ShardRetentionLeases.Builder, ObjectBuilder<ShardRetentionLeases>> fn) API name:retention_leases
-
routing
API name:routing
-
routing
public final ShardStats.Builder routing(Function<ShardRouting.Builder, ObjectBuilder<ShardRouting>> fn) API name:routing
-
search
API name:search
-
search
API name:search
-
segments
API name:segments
-
segments
public final ShardStats.Builder segments(Function<SegmentsStats.Builder, ObjectBuilder<SegmentsStats>> fn) API name:segments
-
seqNo
API name:seq_no
-
seqNo
public final ShardStats.Builder seqNo(Function<ShardSequenceNumber.Builder, ObjectBuilder<ShardSequenceNumber>> fn) API name:seq_no
-
store
API name:store
-
store
API name:store
-
translog
API name:translog
-
translog
public final ShardStats.Builder translog(Function<TranslogStats.Builder, ObjectBuilder<TranslogStats>> fn) API name:translog
-
warmer
API name:warmer
-
warmer
API name:warmer
-
bulk
API name:bulk
-
bulk
API name:bulk
-
shards
API name:shards
Adds all entries of
map
toshards
. -
shards
API name:shards
Adds an entry to
shards
. -
shardStats
API name:shard_stats
-
shardStats
public final ShardStats.Builder shardStats(Function<ShardsTotalStats.Builder, ObjectBuilder<ShardsTotalStats>> fn) API name:shard_stats
-
indices
API name:indices
-
indices
public final ShardStats.Builder indices(Function<IndicesStats.Builder, ObjectBuilder<IndicesStats>> fn) API name:indices
-
self
- Specified by:
self
in classWithJsonObjectBuilderBase<ShardStats.Builder>
-
build
Builds aShardStats
.- Specified by:
build
in interfaceObjectBuilder<ShardStats>
- Throws:
NullPointerException
- if some of the required fields are null.
-