Class IndicesStatsRequest
java.lang.Object
org.opensearch.client.opensearch._types.RequestBase
org.opensearch.client.opensearch.indices.IndicesStatsRequest
- All Implemented Interfaces:
ToCopyableBuilder<IndicesStatsRequest.Builder,IndicesStatsRequest>
@Generated("org.opensearch.client.codegen.CodeGenerator")
public final class IndicesStatsRequest
extends RequestBase
implements ToCopyableBuilder<IndicesStatsRequest.Builder,IndicesStatsRequest>
Provides statistics on operations happening in an index.
-
Nested Class Summary
Nested ClassesNested classes/interfaces inherited from class org.opensearch.client.opensearch._types.RequestBase
RequestBase.AbstractBuilder<BuilderT extends RequestBase.AbstractBuilder<BuilderT>> -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final Endpoint<IndicesStatsRequest, IndicesStatsResponse, ErrorResponse> Endpoint "indices.stats". -
Method Summary
Modifier and TypeMethodDescriptionprotected voidapplyQueryParameters(Map<String, String> params) static IndicesStatsRequest.Builderbuilder()Comma-separated list or wildcard expressions of fields to include in field data and suggest statistics.booleanfinal List<ExpandWildcard> Type of index that wildcard patterns can match.Comma-separated list or wildcard expressions of fields to include in field data statistics.fields()Comma-separated list or wildcard expressions of fields to include in the statistics.final BooleanIftrue, statistics are not collected from closed indexes.groups()Comma-separated list of search groups to include in the search statistics.inthashCode()final BooleanIftrue, the call reports the aggregated disk usage of each one of the Lucene index files (only applies if segment stats are requested).final BooleanIftrue, the response includes information from segments that are not loaded into memory.index()A comma-separated list of index names; use_allor empty string to perform the operation on all indexesfinal Levellevel()Indicates whether statistics are aggregated at the cluster, index, or shard level.final List<IndicesStatsMetric> metric()Limit the information returned the specific metrics.static IndicesStatsRequestCreate a new builderToCopyableBuilderthat is initialised with the current state of this object.Methods inherited from class org.opensearch.client.opensearch._types.RequestBase
errorTrace, humanMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.opensearch.client.util.ToCopyableBuilder
copy
-
Field Details
-
_ENDPOINT
Endpoint "indices.stats".
-
-
Method Details
-
of
public static IndicesStatsRequest of(Function<IndicesStatsRequest.Builder, ObjectBuilder<IndicesStatsRequest>> fn) -
completionFields
Comma-separated list or wildcard expressions of fields to include in field data and suggest statistics.API name:
completion_fields -
expandWildcards
Type of index that wildcard patterns can match. If the request can target data streams, this argument determines whether wildcard expressions match hidden data streams. Supports comma-separated values, such asopen,hidden.API name:
expand_wildcards -
fielddataFields
Comma-separated list or wildcard expressions of fields to include in field data statistics.API name:
fielddata_fields -
fields
Comma-separated list or wildcard expressions of fields to include in the statistics.API name:
fields -
forbidClosedIndices
Iftrue, statistics are not collected from closed indexes.API name:
forbid_closed_indices -
groups
Comma-separated list of search groups to include in the search statistics.API name:
groups -
includeSegmentFileSizes
Iftrue, the call reports the aggregated disk usage of each one of the Lucene index files (only applies if segment stats are requested).API name:
include_segment_file_sizes -
includeUnloadedSegments
Iftrue, the response includes information from segments that are not loaded into memory.API name:
include_unloaded_segments -
index
A comma-separated list of index names; use_allor empty string to perform the operation on all indexesAPI name:
index -
level
Indicates whether statistics are aggregated at the cluster, index, or shard level.API name:
level -
metric
Limit the information returned the specific metrics.API name:
metric -
toBuilder
Description copied from interface:ToCopyableBuilderCreate a new builderToCopyableBuilderthat is initialised with the current state of this object.- Specified by:
toBuilderin interfaceToCopyableBuilder<IndicesStatsRequest.Builder,IndicesStatsRequest> - Returns:
- a new builder instance.
-
builder
-
applyQueryParameters
- Overrides:
applyQueryParametersin classRequestBase
-
hashCode
public int hashCode() -
equals
-