public class DeleteIndexRequestBuilder extends MasterNodeOperationRequestBuilder<DeleteIndexRequest,DeleteIndexResponse,DeleteIndexRequestBuilder,IndicesAdminClient>
client, request
Constructor and Description |
---|
DeleteIndexRequestBuilder(IndicesAdminClient indicesClient,
String... indices) |
Modifier and Type | Method and Description |
---|---|
protected void |
doExecute(ActionListener<DeleteIndexResponse> listener) |
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, setMasterNodeTimeout
execute, execute, get, get, get, putHeader, request, setListenerThreaded
public DeleteIndexRequestBuilder(IndicesAdminClient indicesClient, String... indices)
public DeleteIndexRequestBuilder setTimeout(TimeValue timeout)
public DeleteIndexRequestBuilder setTimeout(String timeout)
public DeleteIndexRequestBuilder setIndicesOptions(IndicesOptions options)
protected void doExecute(ActionListener<DeleteIndexResponse> listener)
doExecute
in class ActionRequestBuilder<DeleteIndexRequest,DeleteIndexResponse,DeleteIndexRequestBuilder,IndicesAdminClient>
Copyright © 2009–2015. All rights reserved.