AbstractIndex<T>, Serializable, SyncBaseIndex<T>Indexpublic interface SyncKey<T> extends SyncBaseIndex<T>
| Modifier and Type | Method | Description |
|---|---|---|
default CreateUpdateKey |
addApiKey(ApiKey key) |
Add a key to this index
|
default CreateUpdateKey |
addApiKey(ApiKey key,
RequestOptions requestOptions) |
Add a key to this index
|
default CreateUpdateKey |
addKey(ApiKey key) |
Deprecated.
|
default DeleteKey |
deleteApiKey(String key) |
Delete a key by name from this index
|
default DeleteKey |
deleteApiKey(String key,
RequestOptions requestOptions) |
Delete a key by name from this index
|
default DeleteKey |
deleteKey(String key) |
Deprecated.
|
default Optional<ApiKey> |
getApiKey(String key) |
Get a key by name from this index
|
default Optional<ApiKey> |
getApiKey(String key,
RequestOptions requestOptions) |
Get a key by name from this index
|
default Optional<ApiKey> |
getKey(String key) |
Deprecated.
|
default List<ApiKey> |
listApiKeys() |
List keys of this index
|
default List<ApiKey> |
listApiKeys(RequestOptions requestOptions) |
List keys of this index
|
default List<ApiKey> |
listKeys() |
Deprecated.
|
default CreateUpdateKey |
updateApiKey(String keyName,
ApiKey key) |
Update a key by name from this index
|
default CreateUpdateKey |
updateApiKey(String keyName,
ApiKey key,
RequestOptions requestOptions) |
Update a key by name from this index
|
default CreateUpdateKey |
updateKey(String keyName,
ApiKey key) |
Deprecated.
|
default CreateUpdateKey |
updateKey(String keyName,
ApiKey key,
RequestOptions requestOptions) |
Deprecated.
|
getKlass, getNamegetApiClient@Deprecated default List<ApiKey> listKeys() throws AlgoliaException
listApiKeys()AlgoliaExceptiondefault List<ApiKey> listApiKeys() throws AlgoliaException
AlgoliaExceptiondefault List<ApiKey> listApiKeys(@Nonnull RequestOptions requestOptions) throws AlgoliaException
requestOptions - Options to pass to this requestAlgoliaException@Deprecated default Optional<ApiKey> getKey(@Nonnull String key) throws AlgoliaException
getApiKey(String)AlgoliaExceptiondefault Optional<ApiKey> getApiKey(@Nonnull String key) throws AlgoliaException
key - the key nameAlgoliaExceptiondefault Optional<ApiKey> getApiKey(@Nonnull String key, @Nonnull RequestOptions requestOptions) throws AlgoliaException
key - the key namerequestOptions - Options to pass to this requestAlgoliaException@Deprecated default DeleteKey deleteKey(@Nonnull String key) throws AlgoliaException
deleteApiKey(String)AlgoliaExceptiondefault DeleteKey deleteApiKey(@Nonnull String key) throws AlgoliaException
key - the key nameAlgoliaExceptiondefault DeleteKey deleteApiKey(@Nonnull String key, @Nonnull RequestOptions requestOptions) throws AlgoliaException
key - the key namerequestOptions - Options to pass to this requestAlgoliaException@Deprecated default CreateUpdateKey addKey(@Nonnull ApiKey key) throws AlgoliaException
addApiKey(ApiKey)AlgoliaExceptiondefault CreateUpdateKey addApiKey(@Nonnull ApiKey key) throws AlgoliaException
key - the keyAlgoliaExceptiondefault CreateUpdateKey addApiKey(@Nonnull ApiKey key, @Nonnull RequestOptions requestOptions) throws AlgoliaException
key - the keyrequestOptions - Options to pass to this requestAlgoliaException@Deprecated default CreateUpdateKey updateKey(@Nonnull String keyName, @Nonnull ApiKey key) throws AlgoliaException
updateApiKey(String, ApiKey)AlgoliaExceptiondefault CreateUpdateKey updateApiKey(@Nonnull String keyName, @Nonnull ApiKey key) throws AlgoliaException
keyName - the key namekey - the key to updateAlgoliaException@Deprecated default CreateUpdateKey updateKey(@Nonnull String keyName, @Nonnull ApiKey key, @Nonnull RequestOptions requestOptions) throws AlgoliaException
updateApiKey(String, ApiKey, RequestOptions)AlgoliaExceptiondefault CreateUpdateKey updateApiKey(@Nonnull String keyName, @Nonnull ApiKey key, @Nonnull RequestOptions requestOptions) throws AlgoliaException
keyName - the key namekey - the key to updaterequestOptions - Options to pass to this requestAlgoliaExceptionCopyright © 2018. All rights reserved.