AbstractIndex<T>, Serializable, SyncBaseIndex<T>Indexpublic interface SyncIndexCRUD<T> extends SyncBaseIndex<T>
| Modifier and Type | Method | Description |
|---|---|---|
default Task |
clear() |
Delete the index content without removing settings and index specific API keys.
|
default Task |
clear(RequestOptions requestOptions) |
Delete the index content without removing settings and index specific API keys.
|
default Task |
copyTo(String dstIndexName) |
Copy an existing index
|
default Task |
copyTo(String dstIndexName,
RequestOptions requestOptions) |
Copy an existing index
|
default Task |
copyTo(String dstIndexName,
List<String> scope) |
Copy an existing index
|
default Task |
copyTo(String dstIndexName,
List<String> scope,
RequestOptions requestOptions) |
Copy an existing index
|
default Task |
delete() |
Deletes the index
|
default Task |
delete(RequestOptions requestOptions) |
Deletes the index
|
default Task |
moveTo(String dstIndexName) |
Moves an existing index
|
default Task |
moveTo(String dstIndexName,
RequestOptions requestOptions) |
Moves an existing index
|
getKlass, getNamegetApiClientdefault Task delete() throws AlgoliaException
AlgoliaExceptiondefault Task delete(@Nonnull RequestOptions requestOptions) throws AlgoliaException
requestOptions - Options to pass to this requestAlgoliaExceptiondefault Task clear() throws AlgoliaException
AlgoliaExceptiondefault Task clear(@Nonnull RequestOptions requestOptions) throws AlgoliaException
requestOptions - Options to pass to this requestAlgoliaExceptiondefault Task moveTo(@Nonnull String dstIndexName) throws AlgoliaException
dstIndexName - the new index name that will contains a copy of srcIndexName (destination
will be overwritten if it already exist)AlgoliaExceptiondefault Task moveTo(@Nonnull String dstIndexName, @Nonnull RequestOptions requestOptions) throws AlgoliaException
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 requestAlgoliaExceptiondefault Task copyTo(@Nonnull String dstIndexName) throws AlgoliaException
dstIndexName - the new index name that will contains a copy of srcIndexName (destination
will be overwritten if it already exist)AlgoliaExceptiondefault Task copyTo(@Nonnull String dstIndexName, @Nonnull RequestOptions requestOptions) throws AlgoliaException
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 requestAlgoliaExceptiondefault Task copyTo(@Nonnull String dstIndexName, @Nonnull List<String> scope, @Nonnull RequestOptions requestOptions) throws AlgoliaException
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 requestAlgoliaExceptiondefault Task copyTo(@Nonnull String dstIndexName, @Nonnull List<String> scope) throws AlgoliaException
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 copyAlgoliaExceptionCopyright © 2018. All rights reserved.