Class SegmentsRequest
- java.lang.Object
-
- org.opensearch.client.opensearch._types.RequestBase
-
- org.opensearch.client.opensearch.cat.CatRequestBase
-
- org.opensearch.client.opensearch.cat.SegmentsRequest
-
public class SegmentsRequest extends CatRequestBase
Provides low-level information about the segments in the shards of an index.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classSegmentsRequest.BuilderBuilder forSegmentsRequest.-
Nested classes/interfaces inherited from class org.opensearch.client.opensearch.cat.CatRequestBase
CatRequestBase.CatRequestBaseBuilder<BuilderT extends CatRequestBase.CatRequestBaseBuilder>
-
Nested classes/interfaces inherited from class org.opensearch.client.opensearch._types.RequestBase
RequestBase.AbstractBuilder<BuilderT extends RequestBase.AbstractBuilder<BuilderT>>
-
-
Field Summary
Fields Modifier and Type Field Description static Endpoint<SegmentsRequest,SegmentsResponse,ErrorResponse>_ENDPOINTEndpoint "cat.segments".
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description Bytesbytes()The unit in which to display byte valuesjava.util.List<java.lang.String>index()A comma-separated list of index names to limit the returned informationstatic SegmentsRequestof(java.util.function.Function<SegmentsRequest.Builder,ObjectBuilder<SegmentsRequest>> fn)-
Methods inherited from class org.opensearch.client.opensearch.cat.CatRequestBase
headers, queryParameters, sort
-
-
-
-
Field Detail
-
_ENDPOINT
public static final Endpoint<SegmentsRequest,SegmentsResponse,ErrorResponse> _ENDPOINT
Endpoint "cat.segments".
-
-
Method Detail
-
of
public static SegmentsRequest of(java.util.function.Function<SegmentsRequest.Builder,ObjectBuilder<SegmentsRequest>> fn)
-
bytes
@Nullable public final Bytes bytes()
The unit in which to display byte valuesAPI name:
bytes
-
index
public final java.util.List<java.lang.String> index()
A comma-separated list of index names to limit the returned informationAPI name:
index
-
-