Class ElasticsearchDanglingIndicesAsyncClient
java.lang.Object
co.elastic.clients.ApiClient<ElasticsearchTransport,ElasticsearchDanglingIndicesAsyncClient>
co.elastic.clients.elasticsearch.dangling_indices.ElasticsearchDanglingIndicesAsyncClient
public class ElasticsearchDanglingIndicesAsyncClient extends ApiClient<ElasticsearchTransport,ElasticsearchDanglingIndicesAsyncClient>
Client for the dangling_indices namespace.
-
Field Summary
Fields inherited from class co.elastic.clients.ApiClient
transport, transportOptions -
Constructor Summary
Constructors Constructor Description ElasticsearchDanglingIndicesAsyncClient(ElasticsearchTransport transport)ElasticsearchDanglingIndicesAsyncClient(ElasticsearchTransport transport, TransportOptions transportOptions) -
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.ElasticsearchDanglingIndicesAsyncClientwithTransportOptions(TransportOptions transportOptions)Creates a new client with some request optionsMethods inherited from class co.elastic.clients.ApiClient
_jsonpMapper, _transport, _transportOptions, getDeserializerMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Constructor Details
-
ElasticsearchDanglingIndicesAsyncClient
-
ElasticsearchDanglingIndicesAsyncClient
public ElasticsearchDanglingIndicesAsyncClient(ElasticsearchTransport transport, @Nullable TransportOptions transportOptions)
-
-
Method Details
-
withTransportOptions
public ElasticsearchDanglingIndicesAsyncClient withTransportOptions(@Nullable TransportOptions transportOptions)Description copied from class:ApiClientCreates a new client with some request options- Specified by:
withTransportOptionsin classApiClient<ElasticsearchTransport,ElasticsearchDanglingIndicesAsyncClient>
-
deleteDanglingIndex
public java.util.concurrent.CompletableFuture<DeleteDanglingIndexResponse> deleteDanglingIndex(DeleteDanglingIndexRequest request)Deletes the specified dangling index- See Also:
- Documentation on elastic.co
-
deleteDanglingIndex
public final java.util.concurrent.CompletableFuture<DeleteDanglingIndexResponse> deleteDanglingIndex(java.util.function.Function<DeleteDanglingIndexRequest.Builder,ObjectBuilder<DeleteDanglingIndexRequest>> fn)Deletes the specified dangling index- Parameters:
fn- a function that initializes a builder to create theDeleteDanglingIndexRequest- See Also:
- Documentation on elastic.co
-
importDanglingIndex
public java.util.concurrent.CompletableFuture<ImportDanglingIndexResponse> importDanglingIndex(ImportDanglingIndexRequest request)Imports the specified dangling index- See Also:
- Documentation on elastic.co
-
importDanglingIndex
public final java.util.concurrent.CompletableFuture<ImportDanglingIndexResponse> importDanglingIndex(java.util.function.Function<ImportDanglingIndexRequest.Builder,ObjectBuilder<ImportDanglingIndexRequest>> fn)Imports the specified dangling index- Parameters:
fn- a function that initializes a builder to create theImportDanglingIndexRequest- See Also:
- Documentation on elastic.co
-
listDanglingIndices
Returns all dangling indices.- See Also:
- Documentation on elastic.co
-