Class SegmentsRequest
java.lang.Object
org.opensearch.client.opensearch._types.RequestBase
org.opensearch.client.opensearch.cat.CatRequestBase
org.opensearch.client.opensearch.cat.SegmentsRequest
- All Implemented Interfaces:
ToCopyableBuilder<SegmentsRequest.Builder,SegmentsRequest>
@Generated("org.opensearch.client.codegen.CodeGenerator")
public final class SegmentsRequest
extends CatRequestBase
implements ToCopyableBuilder<SegmentsRequest.Builder,SegmentsRequest>
Provides low-level information about the segments in the shards of an index.
-
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<SegmentsRequest, SegmentsResponse, ErrorResponse> Endpoint "cat.segments". -
Method Summary
Modifier and TypeMethodDescriptionprotected voidapplyQueryParameters(Map<String, String> params) static SegmentsRequest.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.booleaninthashCode()index()A comma-separated list of data streams, indexes, and aliases used to limit the request.final TimeDeprecated.static SegmentsRequestCreate 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.segments".
-
-
Method Details
-
of
public static SegmentsRequest of(Function<SegmentsRequest.Builder, ObjectBuilder<SegmentsRequest>> fn) -
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 -
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 -
toBuilder
Description copied from interface:ToCopyableBuilderCreate a new builderToCopyableBuilderthat is initialised with the current state of this object.- Specified by:
toBuilderin interfaceToCopyableBuilder<SegmentsRequest.Builder,SegmentsRequest> - Returns:
- a new builder instance.
-
builder
-
applyQueryParameters
- Overrides:
applyQueryParametersin classCatRequestBase
-
hashCode
public int hashCode() -
equals
-