public class DeleteIndexRequestBuilder extends MasterNodeOperationRequestBuilder<DeleteIndexRequest,DeleteIndexResponse,DeleteIndexRequestBuilder>
action, client, request| Constructor and Description |
|---|
DeleteIndexRequestBuilder(ElasticsearchClient client,
DeleteIndexAction action,
String... indices) |
| Modifier and Type | Method and Description |
|---|---|
DeleteIndexRequestBuilder |
setIndicesOptions(IndicesOptions options)
Specifies what type of requested indices to ignore and wildcard indices expressions.
|
DeleteIndexRequestBuilder |
setTimeout(String timeout)
Timeout to wait for the index deletion to be acknowledged by current cluster nodes.
|
DeleteIndexRequestBuilder |
setTimeout(TimeValue timeout)
Timeout to wait for the index deletion to be acknowledged by current cluster nodes.
|
setMasterNodeTimeout, setMasterNodeTimeoutbeforeExecute, execute, execute, get, get, get, putHeader, requestpublic DeleteIndexRequestBuilder(ElasticsearchClient client, DeleteIndexAction action, String... indices)
public DeleteIndexRequestBuilder setTimeout(TimeValue timeout)
public DeleteIndexRequestBuilder setTimeout(String timeout)
public DeleteIndexRequestBuilder setIndicesOptions(IndicesOptions options)
For example indices that don't exist.
Copyright © 2009–2017. All rights reserved.