Class SegmentsRequest
java.lang.Object
co.elastic.clients.elasticsearch._types.RequestBase
co.elastic.clients.elasticsearch.cat.CatRequestBase
co.elastic.clients.elasticsearch.cat.SegmentsRequest
public class SegmentsRequest extends CatRequestBase
Provides low-level information about the segments in the shards of an index.
- See Also:
- API specification
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classSegmentsRequest.BuilderBuilder forSegmentsRequest.Nested classes/interfaces inherited from class co.elastic.clients.elasticsearch.cat.CatRequestBase
CatRequestBase.AbstractBuilder<BuilderT extends CatRequestBase.AbstractBuilder<BuilderT>> -
Field Summary
Fields Modifier and Type Field Description static Endpoint<SegmentsRequest,SegmentsResponse,ErrorResponse>_ENDPOINTEndpoint "cat.segments". -
Method Summary
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 co.elastic.clients.elasticsearch._types.RequestBase
toStringMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Field Details
-
_ENDPOINT
Endpoint "cat.segments".
-
-
Method Details
-
of
public static SegmentsRequest of(java.util.function.Function<SegmentsRequest.Builder,ObjectBuilder<SegmentsRequest>> fn) -
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
-