Class ElasticsearchDanglingIndicesAsyncClient
java.lang.Object
co.elastic.clients.base.ApiClient
co.elastic.clients.elasticsearch.dangling_indices.ElasticsearchDanglingIndicesAsyncClient
public class ElasticsearchDanglingIndicesAsyncClient extends ApiClient
Client for the dangling_indices namespace.
-
Field Summary
-
Constructor Summary
Constructors Constructor Description ElasticsearchDanglingIndicesAsyncClient(Transport transport)
-
Method Summary
Modifier and Type Method Description java.util.concurrent.CompletableFuture<DeleteDanglingIndexResponse>
deleteDanglingIndex(DeleteDanglingIndexRequest request)
Deletes the specified dangling indexjava.util.concurrent.CompletableFuture<DeleteDanglingIndexResponse>
deleteDanglingIndex(java.util.function.Function<DeleteDanglingIndexRequest.Builder,ObjectBuilder<DeleteDanglingIndexRequest>> fn)
Deletes the specified dangling indexjava.util.concurrent.CompletableFuture<ImportDanglingIndexResponse>
importDanglingIndex(ImportDanglingIndexRequest request)
Imports the specified dangling indexjava.util.concurrent.CompletableFuture<ImportDanglingIndexResponse>
importDanglingIndex(java.util.function.Function<ImportDanglingIndexRequest.Builder,ObjectBuilder<ImportDanglingIndexRequest>> fn)
Imports the specified dangling indexjava.util.concurrent.CompletableFuture<ListDanglingIndicesResponse>
listDanglingIndices()
Returns all dangling indices.Methods inherited from class co.elastic.clients.base.ApiClient
_transport, getDeserializer
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Constructor Details
-
ElasticsearchDanglingIndicesAsyncClient
-
-
Method Details
-
deleteDanglingIndex
public java.util.concurrent.CompletableFuture<DeleteDanglingIndexResponse> deleteDanglingIndex(DeleteDanglingIndexRequest request) throws java.io.IOExceptionDeletes the specified dangling index- Throws:
java.io.IOException
- See Also:
- Documentation on elastic.co
-
deleteDanglingIndex
public final java.util.concurrent.CompletableFuture<DeleteDanglingIndexResponse> deleteDanglingIndex(java.util.function.Function<DeleteDanglingIndexRequest.Builder,ObjectBuilder<DeleteDanglingIndexRequest>> fn) throws java.io.IOExceptionDeletes the specified dangling index- Parameters:
fn
- a function that initializes a freshly created builder. This function can either return its builder argument after having set its properties or return another builder.- Throws:
java.io.IOException
- See Also:
- Documentation on elastic.co
-
importDanglingIndex
public java.util.concurrent.CompletableFuture<ImportDanglingIndexResponse> importDanglingIndex(ImportDanglingIndexRequest request) throws java.io.IOExceptionImports the specified dangling index- Throws:
java.io.IOException
- See Also:
- Documentation on elastic.co
-
importDanglingIndex
public final java.util.concurrent.CompletableFuture<ImportDanglingIndexResponse> importDanglingIndex(java.util.function.Function<ImportDanglingIndexRequest.Builder,ObjectBuilder<ImportDanglingIndexRequest>> fn) throws java.io.IOExceptionImports the specified dangling index- Parameters:
fn
- a function that initializes a freshly created builder. This function can either return its builder argument after having set its properties or return another builder.- Throws:
java.io.IOException
- See Also:
- Documentation on elastic.co
-
listDanglingIndices
public java.util.concurrent.CompletableFuture<ListDanglingIndicesResponse> listDanglingIndices() throws java.io.IOExceptionReturns all dangling indices.- Throws:
java.io.IOException
- See Also:
- Documentation on elastic.co
-