Class IndicesShardStoreRequestBuilder
java.lang.Object
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
-
Constructor Summary
Constructors Constructor Description IndicesShardStoreRequestBuilder(ElasticsearchClient client, ActionType<IndicesShardStoresResponse> action, java.lang.String... indices) -
Method Summary
Modifier and Type Method Description IndicesShardStoreRequestBuildersetIndices(java.lang.String... indices)Sets the indices for the shard stores requestIndicesShardStoreRequestBuildersetIndicesOptions(IndicesOptions indicesOptions)Specifies what type of requested indices to ignore and wildcard indices expressions By default, expands wildcards to both open and closed indicesIndicesShardStoreRequestBuildersetShardStatuses(java.lang.String... shardStatuses)Set statuses to filter shards to get stores info on.Methods inherited from class org.elasticsearch.action.support.master.MasterNodeReadOperationRequestBuilder
setLocalMethods inherited from class org.elasticsearch.action.support.master.MasterNodeOperationRequestBuilder
setMasterNodeTimeout, setMasterNodeTimeout
-
Constructor Details
-
IndicesShardStoreRequestBuilder
public IndicesShardStoreRequestBuilder(ElasticsearchClient client, ActionType<IndicesShardStoresResponse> action, java.lang.String... indices)
-
-
Method Details
-
setIndices
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
Set statuses to filter shards to get stores info on.- Parameters:
shardStatuses- acceptable values are "green", "yellow", "red" and "all" seeClusterHealthStatusfor details
-