Class ClusterIndices.Builder
java.lang.Object
co.elastic.clients.elasticsearch.cluster.stats.ClusterIndices.Builder
- All Implemented Interfaces:
ObjectBuilder<ClusterIndices>
- Enclosing class:
- ClusterIndices
public static class ClusterIndices.Builder extends java.lang.Object implements ObjectBuilder<ClusterIndices>
Builder for
ClusterIndices
.-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
Modifier and Type Method Description ClusterIndices.Builder
addVersions(IndicesVersions value)
Add a value toversions(List)
, creating the list if needed.ClusterIndices.Builder
addVersions(java.util.function.Function<IndicesVersions.Builder,ObjectBuilder<IndicesVersions>> fn)
Add a value toversions(List)
, creating the list if needed.ClusterIndices.Builder
analysis(CharFilterTypes value)
Contains statistics about analyzers and analyzer components used in selected nodes.ClusterIndices.Builder
analysis(java.util.function.Function<CharFilterTypes.Builder,ObjectBuilder<CharFilterTypes>> fn)
Contains statistics about analyzers and analyzer components used in selected nodes.ClusterIndices
build()
Builds aClusterIndices
.ClusterIndices.Builder
completion(CompletionStats value)
Contains statistics about memory used for completion in selected nodes.ClusterIndices.Builder
completion(java.util.function.Function<CompletionStats.Builder,ObjectBuilder<CompletionStats>> fn)
Contains statistics about memory used for completion in selected nodes.ClusterIndices.Builder
count(long value)
Total number of indices with shards assigned to selected nodes.ClusterIndices.Builder
docs(DocStats value)
Contains counts for documents in selected nodes.ClusterIndices.Builder
docs(java.util.function.Function<DocStats.Builder,ObjectBuilder<DocStats>> fn)
Contains counts for documents in selected nodes.ClusterIndices.Builder
fielddata(FielddataStats value)
Contains statistics about the field data cache of selected nodes.ClusterIndices.Builder
fielddata(java.util.function.Function<FielddataStats.Builder,ObjectBuilder<FielddataStats>> fn)
Contains statistics about the field data cache of selected nodes.ClusterIndices.Builder
mappings(FieldTypesMappings value)
Contains statistics about field mappings in selected nodes.ClusterIndices.Builder
mappings(java.util.function.Function<FieldTypesMappings.Builder,ObjectBuilder<FieldTypesMappings>> fn)
Contains statistics about field mappings in selected nodes.ClusterIndices.Builder
queryCache(QueryCacheStats value)
Contains statistics about the query cache of selected nodes.ClusterIndices.Builder
queryCache(java.util.function.Function<QueryCacheStats.Builder,ObjectBuilder<QueryCacheStats>> fn)
Contains statistics about the query cache of selected nodes.ClusterIndices.Builder
segments(SegmentsStats value)
Contains statistics about segments in selected nodes.ClusterIndices.Builder
segments(java.util.function.Function<SegmentsStats.Builder,ObjectBuilder<SegmentsStats>> fn)
Contains statistics about segments in selected nodes.ClusterIndices.Builder
shards(ClusterIndicesShards value)
Contains statistics about indices with shards assigned to selected nodes.ClusterIndices.Builder
shards(java.util.function.Function<ClusterIndicesShards.Builder,ObjectBuilder<ClusterIndicesShards>> fn)
Contains statistics about indices with shards assigned to selected nodes.ClusterIndices.Builder
store(StoreStats value)
Contains statistics about the size of shards assigned to selected nodes.ClusterIndices.Builder
store(java.util.function.Function<StoreStats.Builder,ObjectBuilder<StoreStats>> fn)
Contains statistics about the size of shards assigned to selected nodes.ClusterIndices.Builder
versions(IndicesVersions... value)
API name:versions
ClusterIndices.Builder
versions(java.util.function.Function<IndicesVersions.Builder,ObjectBuilder<IndicesVersions>> fn)
Setversions(List)
to a singleton list.ClusterIndices.Builder
versions(java.util.List<IndicesVersions> value)
API name:versions
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 memory used for completion in selected nodes.API name:
completion
-
completion
public ClusterIndices.Builder completion(java.util.function.Function<CompletionStats.Builder,ObjectBuilder<CompletionStats>> fn)Contains statistics about memory used for completion in selected nodes.API name:
completion
-
count
Total number of indices with shards assigned to selected nodes.API name:
count
-
docs
Contains counts for documents in selected nodes.API name:
docs
-
docs
public ClusterIndices.Builder docs(java.util.function.Function<DocStats.Builder,ObjectBuilder<DocStats>> fn)Contains counts for documents in selected nodes.API name:
docs
-
fielddata
Contains statistics about the field data cache of selected nodes.API name:
fielddata
-
fielddata
public ClusterIndices.Builder fielddata(java.util.function.Function<FielddataStats.Builder,ObjectBuilder<FielddataStats>> fn)Contains statistics about the field data cache of selected nodes.API name:
fielddata
-
queryCache
Contains statistics about the query cache of selected nodes.API name:
query_cache
-
queryCache
public ClusterIndices.Builder queryCache(java.util.function.Function<QueryCacheStats.Builder,ObjectBuilder<QueryCacheStats>> fn)Contains statistics about the query cache of selected nodes.API name:
query_cache
-
segments
Contains statistics about segments in selected nodes.API name:
segments
-
segments
public ClusterIndices.Builder segments(java.util.function.Function<SegmentsStats.Builder,ObjectBuilder<SegmentsStats>> fn)Contains statistics about segments in selected nodes.API name:
segments
-
shards
Contains statistics about indices with shards assigned to selected nodes.API name:
shards
-
shards
public ClusterIndices.Builder shards(java.util.function.Function<ClusterIndicesShards.Builder,ObjectBuilder<ClusterIndicesShards>> fn)Contains statistics about indices with shards assigned to selected nodes.API name:
shards
-
store
Contains statistics about the size of shards assigned to selected nodes.API name:
store
-
store
public ClusterIndices.Builder store(java.util.function.Function<StoreStats.Builder,ObjectBuilder<StoreStats>> fn)Contains statistics about the size of shards assigned to selected nodes.API name:
store
-
mappings
Contains statistics about field mappings in selected nodes.API name:
mappings
-
mappings
public ClusterIndices.Builder mappings(java.util.function.Function<FieldTypesMappings.Builder,ObjectBuilder<FieldTypesMappings>> fn)Contains statistics about field mappings in selected nodes.API name:
mappings
-
analysis
Contains statistics about analyzers and analyzer components used in selected nodes.API name:
analysis
-
analysis
public ClusterIndices.Builder analysis(java.util.function.Function<CharFilterTypes.Builder,ObjectBuilder<CharFilterTypes>> fn)Contains statistics about analyzers and analyzer components used in selected nodes.API name:
analysis
-
versions
API name:versions
-
versions
API name:versions
-
addVersions
Add a value toversions(List)
, creating the list if needed. 4 -
versions
public ClusterIndices.Builder versions(java.util.function.Function<IndicesVersions.Builder,ObjectBuilder<IndicesVersions>> fn)Setversions(List)
to a singleton list. -
addVersions
public ClusterIndices.Builder addVersions(java.util.function.Function<IndicesVersions.Builder,ObjectBuilder<IndicesVersions>> fn)Add a value toversions(List)
, creating the list if needed. 5 -
build
Builds aClusterIndices
.- Specified by:
build
in interfaceObjectBuilder<ClusterIndices>
- Throws:
java.lang.NullPointerException
- if some of the required fields are null.
-