Class IndicesRequest
java.lang.Object
org.opensearch.client.opensearch._types.RequestBase
org.opensearch.client.opensearch.cat.CatRequestBase
org.opensearch.client.opensearch.cat.IndicesRequest
- All Implemented Interfaces:
ToCopyableBuilder<IndicesRequest.Builder,IndicesRequest>
@Generated("org.opensearch.client.codegen.CodeGenerator")
public final class IndicesRequest
extends CatRequestBase
implements ToCopyableBuilder<IndicesRequest.Builder,IndicesRequest>
Lists information related to indexes, that is, how much disk space they are using, how many shards they have, their health status, and so
on.
-
Nested Class Summary
Nested ClassesNested classes/interfaces inherited from class org.opensearch.client.opensearch.cat.CatRequestBase
CatRequestBase.AbstractBuilder<BuilderT extends CatRequestBase.AbstractBuilder<BuilderT>> -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final Endpoint<IndicesRequest, IndicesResponse, ErrorResponse> Endpoint "cat.indices". -
Method Summary
Modifier and TypeMethodDescriptionprotected voidapplyQueryParameters(Map<String, String> params) static IndicesRequest.Builderbuilder()final Bytesbytes()The units used to display byte values.final TimeThe amount of time allowed to establish a connection to the cluster manager node.booleanfinal List<ExpandWildcard> Specifies the type of index that wildcard expressions can match.inthashCode()final HealthStatushealth()Limits indexes based on their health status.final BooleanWhether to include information from segments not loaded into memory.index()A comma-separated list of data streams, indexes, and aliases used to limit the request.final TimeDeprecated.static IndicesRequestfinal Booleanpri()Whentrue, returns information only from the primary shards.final TimeUnittime()Specifies the time units.Create a new builderToCopyableBuilderthat is initialised with the current state of this object.Methods inherited from class org.opensearch.client.opensearch.cat.CatRequestBase
headers, sortMethods 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 "cat.indices".
-
-
Method Details
-
of
-
bytes
The units used to display byte values.API name:
bytes -
clusterManagerTimeout
The amount of time allowed to establish a connection to the cluster manager node.API name:
cluster_manager_timeout -
expandWildcards
Specifies the type of index that wildcard expressions can match. Supports comma-separated values.API name:
expand_wildcards -
health
Limits indexes based on their health status. Supported values aregreen,yellow, andred.API name:
health -
includeUnloadedSegments
Whether to include information from segments not loaded into memory.API name:
include_unloaded_segments -
index
A comma-separated list of data streams, indexes, and aliases used to limit the request. Supports wildcards (*). To target all data streams and indexes, omit this parameter or use*or_all.API name:
index -
masterTimeout
Deprecated.The amount of time allowed to establish a connection to the cluster manager node.API name:
master_timeout -
pri
Whentrue, returns information only from the primary shards.API name:
pri -
time
Specifies the time units.API name:
time -
toBuilder
Description copied from interface:ToCopyableBuilderCreate a new builderToCopyableBuilderthat is initialised with the current state of this object.- Specified by:
toBuilderin interfaceToCopyableBuilder<IndicesRequest.Builder,IndicesRequest> - Returns:
- a new builder instance.
-
builder
-
applyQueryParameters
- Overrides:
applyQueryParametersin classCatRequestBase
-
hashCode
public int hashCode() -
equals
-