Class ClusterIndices.Builder
java.lang.Object
org.opensearch.client.opensearch.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.-
Nested Class Summary
Nested classes/interfaces inherited from interface org.opensearch.client.util.ObjectBuilder
ObjectBuilder.Constant<V> -
Constructor Summary
Constructors Constructor Description Builder() -
Method Summary
Modifier and Type Method Description ClusterIndices.BuilderaddVersions(java.util.function.Function<IndicesVersions.Builder,ObjectBuilder<IndicesVersions>> fn)Add a value toversions(List), creating the list if needed.ClusterIndices.BuilderaddVersions(IndicesVersions value)Add a value toversions(List), creating the list if needed.ClusterIndices.Builderanalysis(java.util.function.Function<CharFilterTypes.Builder,ObjectBuilder<CharFilterTypes>> fn)Contains statistics about analyzers and analyzer components used in selected nodes.ClusterIndices.Builderanalysis(CharFilterTypes value)Contains statistics about analyzers and analyzer components used in selected nodes.ClusterIndicesbuild()Builds aClusterIndices.ClusterIndices.Buildercompletion(java.util.function.Function<CompletionStats.Builder,ObjectBuilder<CompletionStats>> fn)Contains statistics about memory used for completion in selected nodes.ClusterIndices.Buildercompletion(CompletionStats value)Contains statistics about memory used for completion in selected nodes.ClusterIndices.Buildercount(java.lang.Number value)Total number of indices with shards assigned to selected nodes.ClusterIndices.Builderdocs(java.util.function.Function<DocStats.Builder,ObjectBuilder<DocStats>> fn)Contains counts for documents in selected nodes.ClusterIndices.Builderdocs(DocStats value)Contains counts for documents in selected nodes.ClusterIndices.Builderfielddata(java.util.function.Function<FielddataStats.Builder,ObjectBuilder<FielddataStats>> fn)Contains statistics about the field data cache of selected nodes.ClusterIndices.Builderfielddata(FielddataStats value)Contains statistics about the field data cache of selected nodes.ClusterIndices.Buildermappings(java.util.function.Function<FieldTypesMappings.Builder,ObjectBuilder<FieldTypesMappings>> fn)Contains statistics about field mappings in selected nodes.ClusterIndices.Buildermappings(FieldTypesMappings value)Contains statistics about field mappings in selected nodes.ClusterIndices.BuilderqueryCache(java.util.function.Function<QueryCacheStats.Builder,ObjectBuilder<QueryCacheStats>> fn)Contains statistics about the query cache of selected nodes.ClusterIndices.BuilderqueryCache(QueryCacheStats value)Contains statistics about the query cache of selected nodes.ClusterIndices.Buildersegments(java.util.function.Function<SegmentsStats.Builder,ObjectBuilder<SegmentsStats>> fn)Contains statistics about segments in selected nodes.ClusterIndices.Buildersegments(SegmentsStats value)Contains statistics about segments in selected nodes.ClusterIndices.Buildershards(java.util.function.Function<ClusterIndicesShards.Builder,ObjectBuilder<ClusterIndicesShards>> fn)Contains statistics about indices with shards assigned to selected nodes.ClusterIndices.Buildershards(ClusterIndicesShards value)Contains statistics about indices with shards assigned to selected nodes.ClusterIndices.Builderstore(java.util.function.Function<StoreStats.Builder,ObjectBuilder<StoreStats>> fn)Contains statistics about the size of shards assigned to selected nodes.ClusterIndices.Builderstore(StoreStats value)Contains statistics about the size of shards assigned to selected nodes.ClusterIndices.Builderversions(java.util.function.Function<IndicesVersions.Builder,ObjectBuilder<IndicesVersions>> fn)Setversions(List)to a singleton list.ClusterIndices.Builderversions(java.util.List<IndicesVersions> value)API name:versionsClusterIndices.Builderversions(IndicesVersions... value)API name:versions
-
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. -
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. -
build
Builds aClusterIndices.- Specified by:
buildin interfaceObjectBuilder<ClusterIndices>- Throws:
java.lang.NullPointerException- if some of the required fields are null.
-