Class ClusterIndices.Builder
java.lang.Object
co.elastic.clients.util.ObjectBuilderBase
co.elastic.clients.util.WithJsonObjectBuilderBase<ClusterIndices.Builder>
co.elastic.clients.elasticsearch.cluster.stats.ClusterIndices.Builder
- All Implemented Interfaces:
WithJson<ClusterIndices.Builder>,ObjectBuilder<ClusterIndices>
- Enclosing class:
- ClusterIndices
public static class ClusterIndices.Builder
extends WithJsonObjectBuilderBase<ClusterIndices.Builder>
implements ObjectBuilder<ClusterIndices>
Builder for
ClusterIndices.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfinal ClusterIndices.Builderanalysis(CharFilterTypes value) Contains statistics about analyzers and analyzer components used in selected nodes.final ClusterIndices.BuilderContains statistics about analyzers and analyzer components used in selected nodes.build()Builds aClusterIndices.final ClusterIndices.Buildercompletion(CompletionStats value) Required - Contains statistics about memory used for completion in selected nodes.final ClusterIndices.BuilderRequired - Contains statistics about memory used for completion in selected nodes.final ClusterIndices.Buildercount(long value) Required - Total number of indices with shards assigned to selected nodes.final ClusterIndices.BuilderdenseVector(DenseVectorStats value) Required - Contains statistics about indexed dense vectorfinal ClusterIndices.BuilderRequired - Contains statistics about indexed dense vectorfinal ClusterIndices.BuilderRequired - Contains counts for documents in selected nodes.final ClusterIndices.BuilderRequired - Contains counts for documents in selected nodes.final ClusterIndices.Builderfielddata(FielddataStats value) Required - Contains statistics about the field data cache of selected nodes.final ClusterIndices.BuilderRequired - Contains statistics about the field data cache of selected nodes.final ClusterIndices.Buildermappings(FieldTypesMappings value) Contains statistics about field mappings in selected nodes.final ClusterIndices.BuilderContains statistics about field mappings in selected nodes.final ClusterIndices.BuilderqueryCache(QueryCacheStats value) Required - Contains statistics about the query cache of selected nodes.final ClusterIndices.BuilderRequired - Contains statistics about the query cache of selected nodes.final ClusterIndices.Buildersearch(SearchUsageStats value) Required - Holds a snapshot of the search usage statistics.final ClusterIndices.BuilderRequired - Holds a snapshot of the search usage statistics.final ClusterIndices.Buildersegments(SegmentsStats value) Required - Contains statistics about segments in selected nodes.final ClusterIndices.BuilderRequired - Contains statistics about segments in selected nodes.protected ClusterIndices.Builderself()final ClusterIndices.Buildershards(ClusterIndicesShards value) Required - Contains statistics about indices with shards assigned to selected nodes.final ClusterIndices.BuilderRequired - Contains statistics about indices with shards assigned to selected nodes.final ClusterIndices.BuildersparseVector(SparseVectorStats value) Required - Contains statistics about indexed sparse vectorfinal ClusterIndices.BuilderRequired - Contains statistics about indexed sparse vectorfinal ClusterIndices.Builderstore(StoreStats value) Required - Contains statistics about the size of shards assigned to selected nodes.final ClusterIndices.BuilderRequired - Contains statistics about the size of shards assigned to selected nodes.final ClusterIndices.Builderversions(IndicesVersions value, IndicesVersions... values) Contains statistics about analyzers and analyzer components used in selected nodes.final ClusterIndices.BuilderContains statistics about analyzers and analyzer components used in selected nodes.final ClusterIndices.Builderversions(List<IndicesVersions> list) Contains statistics about analyzers and analyzer components used in selected nodes.Methods inherited from class co.elastic.clients.util.WithJsonObjectBuilderBase
withJsonMethods inherited from class co.elastic.clients.util.ObjectBuilderBase
_checkSingleUse, _listAdd, _listAddAll, _mapPut, _mapPutAll
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
analysis
Contains statistics about analyzers and analyzer components used in selected nodes.API name:
analysis -
analysis
public final ClusterIndices.Builder analysis(Function<CharFilterTypes.Builder, ObjectBuilder<CharFilterTypes>> fn) Contains statistics about analyzers and analyzer components used in selected nodes.API name:
analysis -
completion
Required - Contains statistics about memory used for completion in selected nodes.API name:
completion -
completion
public final ClusterIndices.Builder completion(Function<CompletionStats.Builder, ObjectBuilder<CompletionStats>> fn) Required - Contains statistics about memory used for completion in selected nodes.API name:
completion -
count
Required - Total number of indices with shards assigned to selected nodes.API name:
count -
docs
Required - Contains counts for documents in selected nodes.API name:
docs -
docs
Required - Contains counts for documents in selected nodes.API name:
docs -
fielddata
Required - Contains statistics about the field data cache of selected nodes.API name:
fielddata -
fielddata
public final ClusterIndices.Builder fielddata(Function<FielddataStats.Builder, ObjectBuilder<FielddataStats>> fn) Required - Contains statistics about the field data cache of selected nodes.API name:
fielddata -
queryCache
Required - Contains statistics about the query cache of selected nodes.API name:
query_cache -
queryCache
public final ClusterIndices.Builder queryCache(Function<QueryCacheStats.Builder, ObjectBuilder<QueryCacheStats>> fn) Required - Contains statistics about the query cache of selected nodes.API name:
query_cache -
search
Required - Holds a snapshot of the search usage statistics. Used to hold the stats for a single node that's part of a ClusterStatsNodeResponse, as well as to accumulate stats for the entire cluster and return them as part of the ClusterStatsResponse.API name:
search -
search
public final ClusterIndices.Builder search(Function<SearchUsageStats.Builder, ObjectBuilder<SearchUsageStats>> fn) Required - Holds a snapshot of the search usage statistics. Used to hold the stats for a single node that's part of a ClusterStatsNodeResponse, as well as to accumulate stats for the entire cluster and return them as part of the ClusterStatsResponse.API name:
search -
segments
Required - Contains statistics about segments in selected nodes.API name:
segments -
segments
public final ClusterIndices.Builder segments(Function<SegmentsStats.Builder, ObjectBuilder<SegmentsStats>> fn) Required - Contains statistics about segments in selected nodes.API name:
segments -
shards
Required - Contains statistics about indices with shards assigned to selected nodes.API name:
shards -
shards
public final ClusterIndices.Builder shards(Function<ClusterIndicesShards.Builder, ObjectBuilder<ClusterIndicesShards>> fn) Required - Contains statistics about indices with shards assigned to selected nodes.API name:
shards -
store
Required - Contains statistics about the size of shards assigned to selected nodes.API name:
store -
store
public final ClusterIndices.Builder store(Function<StoreStats.Builder, ObjectBuilder<StoreStats>> fn) Required - 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 final ClusterIndices.Builder mappings(Function<FieldTypesMappings.Builder, ObjectBuilder<FieldTypesMappings>> fn) Contains statistics about field mappings in selected nodes.API name:
mappings -
versions
Contains statistics about analyzers and analyzer components used in selected nodes.API name:
versionsAdds all elements of
listtoversions. -
versions
Contains statistics about analyzers and analyzer components used in selected nodes.API name:
versionsAdds one or more values to
versions. -
versions
public final ClusterIndices.Builder versions(Function<IndicesVersions.Builder, ObjectBuilder<IndicesVersions>> fn) Contains statistics about analyzers and analyzer components used in selected nodes.API name:
versionsAdds a value to
versionsusing a builder lambda. -
denseVector
Required - Contains statistics about indexed dense vectorAPI name:
dense_vector -
denseVector
public final ClusterIndices.Builder denseVector(Function<DenseVectorStats.Builder, ObjectBuilder<DenseVectorStats>> fn) Required - Contains statistics about indexed dense vectorAPI name:
dense_vector -
sparseVector
Required - Contains statistics about indexed sparse vectorAPI name:
sparse_vector -
sparseVector
public final ClusterIndices.Builder sparseVector(Function<SparseVectorStats.Builder, ObjectBuilder<SparseVectorStats>> fn) Required - Contains statistics about indexed sparse vectorAPI name:
sparse_vector -
self
- Specified by:
selfin classWithJsonObjectBuilderBase<ClusterIndices.Builder>
-
build
Builds aClusterIndices.- Specified by:
buildin interfaceObjectBuilder<ClusterIndices>- Throws:
NullPointerException- if some of the required fields are null.
-