public interface AsyncIndexCRUD<T> extends AsyncBaseIndex<T>
| Modifier and Type | Method and Description |
|---|---|
default CompletableFuture<AsyncTask> |
clear()
Delete the index content without removing settings and index specific API keys.
|
default CompletableFuture<AsyncTask> |
clear(RequestOptions requestOptions)
Delete the index content without removing settings and index specific API keys.
|
default CompletableFuture<AsyncTask> |
copyTo(String dstIndexName)
Copy an existing index
|
default CompletableFuture<AsyncTask> |
copyTo(String dstIndexName,
List<String> scope)
Copy an existing index
|
default CompletableFuture<AsyncTask> |
copyTo(String dstIndexName,
List<String> scope,
RequestOptions requestOptions)
Copy an existing index
|
default CompletableFuture<AsyncTask> |
copyTo(String dstIndexName,
RequestOptions requestOptions)
Copy an existing index
|
default CompletableFuture<AsyncTask> |
delete()
Deletes the index
|
default CompletableFuture<AsyncTask> |
delete(RequestOptions requestOptions)
Deletes the index
|
default CompletableFuture<AsyncTask> |
moveTo(String dstIndexName)
Moves an existing index
|
default CompletableFuture<AsyncTask> |
moveTo(String dstIndexName,
RequestOptions requestOptions)
Moves an existing index
|
getApiClientgetKlass, getNamedefault CompletableFuture<AsyncTask> moveTo(@Nonnull String dstIndexName)
dstIndexName - the new index name that will contains a copy of srcIndexName (destination
will be overwritten if it already exist)default CompletableFuture<AsyncTask> moveTo(@Nonnull String dstIndexName, @Nonnull RequestOptions requestOptions)
dstIndexName - the new index name that will contains a copy of srcIndexName (destination
will be overwritten if it already exist)requestOptions - Options to pass to this requestdefault CompletableFuture<AsyncTask> copyTo(@Nonnull String dstIndexName)
dstIndexName - the new index name that will contains a copy of srcIndexName (destination
will be overwritten if it already exist)default CompletableFuture<AsyncTask> copyTo(@Nonnull String dstIndexName, @Nonnull RequestOptions requestOptions)
dstIndexName - the new index name that will contains a copy of srcIndexName (destination
will be overwritten if it already exist)requestOptions - Options to pass to this requestdefault CompletableFuture<AsyncTask> copyTo(@Nonnull String dstIndexName, @Nonnull List<String> scope, @Nonnull RequestOptions requestOptions)
dstIndexName - the new index name that will contains a copy of srcIndexName (destination
will be overwritten if it already exist)scope - the list of scope to copyrequestOptions - Options to pass to this requestdefault CompletableFuture<AsyncTask> copyTo(@Nonnull String dstIndexName, @Nonnull List<String> scope)
dstIndexName - the new index name that will contains a copy of srcIndexName (destination
will be overwritten if it already exist)scope - the list of scope to copydefault CompletableFuture<AsyncTask> delete()
default CompletableFuture<AsyncTask> delete(@Nonnull RequestOptions requestOptions)
requestOptions - Options to pass to this requestdefault CompletableFuture<AsyncTask> clear()
default CompletableFuture<AsyncTask> clear(@Nonnull RequestOptions requestOptions)
requestOptions - Options to pass to this requestCopyright © 2018. All rights reserved.