Class SearchableSnapshotsStatsRequest
java.lang.Object
co.elastic.clients.elasticsearch._types.RequestBase
co.elastic.clients.elasticsearch.searchable_snapshots.SearchableSnapshotsStatsRequest
public class SearchableSnapshotsStatsRequest extends RequestBase
Retrieve shard-level statistics about searchable snapshots.
- See Also:
- API specification
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
SearchableSnapshotsStatsRequest.Builder
Builder forSearchableSnapshotsStatsRequest
.Nested classes/interfaces inherited from class co.elastic.clients.elasticsearch._types.RequestBase
RequestBase.AbstractBuilder<BuilderT extends RequestBase.AbstractBuilder<BuilderT>>
-
Field Summary
Fields Modifier and Type Field Description static Endpoint<SearchableSnapshotsStatsRequest,SearchableSnapshotsStatsResponse,ErrorResponse>
_ENDPOINT
Endpoint "searchable_snapshots.stats
". -
Method Summary
Modifier and Type Method Description java.util.List<java.lang.String>
index()
A comma-separated list of index namesStatsLevel
level()
Return stats aggregated at cluster, index or shard levelstatic SearchableSnapshotsStatsRequest
of(java.util.function.Function<SearchableSnapshotsStatsRequest.Builder,ObjectBuilder<SearchableSnapshotsStatsRequest>> fn)
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Field Details
-
_ENDPOINT
public static final Endpoint<SearchableSnapshotsStatsRequest,SearchableSnapshotsStatsResponse,ErrorResponse> _ENDPOINTEndpoint "searchable_snapshots.stats
".
-
-
Method Details
-
of
public static SearchableSnapshotsStatsRequest of(java.util.function.Function<SearchableSnapshotsStatsRequest.Builder,ObjectBuilder<SearchableSnapshotsStatsRequest>> fn) -
index
public final java.util.List<java.lang.String> index()A comma-separated list of index namesAPI name:
index
-
level
Return stats aggregated at cluster, index or shard levelAPI name:
level
-