Class IndicesShardStoreRequestBuilder
org.elasticsearch.action.ActionRequestBuilder<Request,Response>
org.elasticsearch.action.support.master.MasterNodeOperationRequestBuilder<Request,Response,RequestBuilder>
org.elasticsearch.action.support.master.MasterNodeReadOperationRequestBuilder<IndicesShardStoresRequest,IndicesShardStoresResponse,IndicesShardStoreRequestBuilder>
org.elasticsearch.action.admin.indices.shards.IndicesShardStoreRequestBuilder
public class IndicesShardStoreRequestBuilder
extends MasterNodeReadOperationRequestBuilder<IndicesShardStoresRequest,IndicesShardStoresResponse,IndicesShardStoreRequestBuilder>
Request builder for
IndicesShardStoresRequest
-
Field Summary
Fields inherited from class org.elasticsearch.action.ActionRequestBuilder
action, client, request
-
Constructor Summary
ConstructorDescriptionIndicesShardStoreRequestBuilder(ElasticsearchClient client, ActionType<IndicesShardStoresResponse> action, ... indices)
-
Method Summary
Modifier and TypeMethodDescription... indices)
Sets the indices for the shard stores requestsetIndicesOptions(IndicesOptions indicesOptions)
Specifies what type of requested indices to ignore and wildcard indices expressions By default, expands wildcards to both open and closed indices... shardStatuses)
Set statuses to filter shards to get stores info on.Methods inherited from class org.elasticsearch.action.support.master.MasterNodeReadOperationRequestBuilder
setLocal
Methods inherited from class org.elasticsearch.action.support.master.MasterNodeOperationRequestBuilder
setMasterNodeTimeout, setMasterNodeTimeout
Methods inherited from class org.elasticsearch.action.ActionRequestBuilder
execute, execute, get, get, get, request
Methods inherited from class java.lang.
, , , , , , , , , ,
-
Constructor Details
-
IndicesShardStoreRequestBuilder
public IndicesShardStoreRequestBuilder(ElasticsearchClient client, ActionType<IndicesShardStoresResponse> action, ... indices)
-
-
Method Details
-
setIndices
public ... indices)Sets the indices for the shard stores request -
setIndicesOptions
Specifies what type of requested indices to ignore and wildcard indices expressions By default, expands wildcards to both open and closed indices -
setShardStatuses
public ... shardStatuses)Set statuses to filter shards to get stores info on.- Parameters:
shardStatuses
- acceptable values are "green", "yellow", "red" and "all" seeClusterHealthStatus
for details
-