Class IndicesRequest
java.lang.Object
co.elastic.clients.elasticsearch._types.RequestBase
co.elastic.clients.elasticsearch.cat.CatRequestBase
co.elastic.clients.elasticsearch.cat.IndicesRequest
public class IndicesRequest extends CatRequestBase
Returns information about indices: number of primaries and replicas, document
counts, disk size, ...
- See Also:
- API specification
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
IndicesRequest.Builder
Builder forIndicesRequest
.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<IndicesRequest,IndicesResponse,ErrorResponse>
_ENDPOINT
Endpoint "cat.indices
". -
Method Summary
Modifier and Type Method Description Bytes
bytes()
The unit in which to display byte valuesjava.util.List<ExpandWildcard>
expandWildcards()
Whether to expand wildcard expression to concrete indices that are open, closed or both.HealthStatus
health()
A health status ("green", "yellow", or "red" to filter only indices matching the specified health statusjava.lang.Boolean
includeUnloadedSegments()
If set to true segment stats will include stats for segments that are not currently loaded into memoryjava.util.List<java.lang.String>
index()
A comma-separated list of index names to limit the returned informationstatic IndicesRequest
of(java.util.function.Function<IndicesRequest.Builder,ObjectBuilder<IndicesRequest>> fn)
java.lang.Boolean
pri()
Set to true to return stats only for primary shardsMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Field Details
-
_ENDPOINT
Endpoint "cat.indices
".
-
-
Method Details
-
of
public static IndicesRequest of(java.util.function.Function<IndicesRequest.Builder,ObjectBuilder<IndicesRequest>> fn) -
bytes
The unit in which to display byte valuesAPI name:
bytes
-
expandWildcards
Whether to expand wildcard expression to concrete indices that are open, closed or both.API name:
expand_wildcards
-
health
A health status ("green", "yellow", or "red" to filter only indices matching the specified health statusAPI name:
health
-
includeUnloadedSegments
@Nullable public final java.lang.Boolean includeUnloadedSegments()If set to true segment stats will include stats for segments that are not currently loaded into memoryAPI name:
include_unloaded_segments
-
index
public final java.util.List<java.lang.String> index()A comma-separated list of index names to limit the returned informationAPI name:
index
-
pri
@Nullable public final java.lang.Boolean pri()Set to true to return stats only for primary shardsAPI name:
pri
-