public final class IndicesClient
extends java.lang.Object
RestHighLevelClient
that provides methods for accessing the Indices API.
See Indices API on elastic.coConstructor and Description |
---|
IndicesClient(RestHighLevelClient restHighLevelClient) |
Modifier and Type | Method and Description |
---|---|
DeleteIndexResponse |
deleteIndex(DeleteIndexRequest deleteIndexRequest,
org.apache.http.Header... headers)
Deletes an index using the Delete Index API
|
void |
deleteIndexAsync(DeleteIndexRequest deleteIndexRequest,
ActionListener<DeleteIndexResponse> listener,
org.apache.http.Header... headers)
Asynchronously deletes an index using the Delete Index API
|
public IndicesClient(RestHighLevelClient restHighLevelClient)
public DeleteIndexResponse deleteIndex(DeleteIndexRequest deleteIndexRequest, org.apache.http.Header... headers) throws java.io.IOException
java.io.IOException
public void deleteIndexAsync(DeleteIndexRequest deleteIndexRequest, ActionListener<DeleteIndexResponse> listener, org.apache.http.Header... headers)