Class ElasticsearchDanglingIndicesClient
java.lang.Object
co.elastic.clients.base.ApiClient
co.elastic.clients.elasticsearch.dangling_indices.ElasticsearchDanglingIndicesClient
public class ElasticsearchDanglingIndicesClient extends ApiClient
Client for the dangling_indices namespace.
-
Field Summary
-
Constructor Summary
Constructors Constructor Description ElasticsearchDanglingIndicesClient(Transport transport)
-
Method Summary
Modifier and Type Method Description DeleteDanglingIndexResponse
deleteDanglingIndex(DeleteDanglingIndexRequest request)
Deletes the specified dangling indexDeleteDanglingIndexResponse
deleteDanglingIndex(java.util.function.Function<DeleteDanglingIndexRequest.Builder,ObjectBuilder<DeleteDanglingIndexRequest>> fn)
Deletes the specified dangling indexImportDanglingIndexResponse
importDanglingIndex(ImportDanglingIndexRequest request)
Imports the specified dangling indexImportDanglingIndexResponse
importDanglingIndex(java.util.function.Function<ImportDanglingIndexRequest.Builder,ObjectBuilder<ImportDanglingIndexRequest>> fn)
Imports the specified dangling indexListDanglingIndicesResponse
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
-
ElasticsearchDanglingIndicesClient
-
-
Method Details
-
deleteDanglingIndex
public 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 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 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 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
Returns all dangling indices.- Throws:
java.io.IOException
- See Also:
- Documentation on elastic.co
-