public interface SearchClientAdvanced extends SearchClientBase
| Modifier and Type | Method and Description |
|---|---|
default <U> U |
customRequest(Class<U> returnClazz,
HttpMethod httpMethod,
String path,
CallType callType)
Executes a custom to the Algolia API under the retry strategy.
|
default <U> U |
customRequest(Class<U> returnClazz,
HttpMethod httpMethod,
String path,
CallType callType,
RequestOptions requestOptions)
Executes a custom to the Algolia API under the retry strategy.
|
default <T,U> U |
customRequest(T data,
Class<U> returnClazz,
HttpMethod httpMethod,
String path,
CallType callType)
Executes a custom to the Algolia API under the retry strategy.
|
default <T,U> U |
customRequest(T data,
Class<U> returnClazz,
HttpMethod httpMethod,
String path,
CallType callType,
RequestOptions requestOptions)
Executes a custom to the Algolia API under the retry strategy.
|
default <U> CompletableFuture<U> |
customRequestAsync(Class<U> returnClazz,
HttpMethod httpMethod,
String path,
CallType callType)
Executes a custom to the Algolia API under the retry strategy.
|
default <U> CompletableFuture<U> |
customRequestAsync(Class<U> returnClazz,
HttpMethod httpMethod,
String path,
CallType callType,
RequestOptions requestOptions)
Executes a custom to the Algolia API under the retry strategy.
|
default <T,U> CompletableFuture<U> |
customRequestAsync(T data,
Class<U> returnClazz,
HttpMethod httpMethod,
String path,
CallType callType)
Executes a custom to the Algolia API under the retry strategy.
|
default <T,U> CompletableFuture<U> |
customRequestAsync(T data,
Class<U> returnClazz,
HttpMethod httpMethod,
String path,
CallType callType,
RequestOptions requestOptions)
Executes a custom to the Algolia API under the retry strategy.
|
default List<Log> |
getLogs()
Get the logs of the latest search and indexing operations You can retrieve the logs of your
last 1,000 API calls.
|
default List<Log> |
getLogs(int offset,
int length)
Get the logs of the latest search and indexing operations You can retrieve the logs of your
last 1,000 API calls.
|
default List<Log> |
getLogs(int offset,
int length,
RequestOptions requestOptions)
Get the logs of the latest search and indexing operations You can retrieve the logs of your
last 1,000 API calls.
|
default List<Log> |
getLogs(int offset,
int length,
String logType)
Get the logs of the latest search and indexing operations You can retrieve the logs of your
last 1,000 API calls.
|
default List<Log> |
getLogs(RequestOptions requestOptions)
Get the logs of the latest search and indexing operations You can retrieve the logs of your
last 1,000 API calls.
|
default CompletableFuture<List<Log>> |
getLogsAsync()
Get the logs of the latest search and indexing operations You can retrieve the logs of your
last 1,000 API calls.
|
default CompletableFuture<List<Log>> |
getLogsAsync(int offset,
int length)
Get the logs of the latest search and indexing operations You can retrieve the logs of your
last 1,000 API calls.
|
default CompletableFuture<List<Log>> |
getLogsAsync(int offset,
int length,
String logType)
Get the logs of the latest search and indexing operations You can retrieve the logs of your
last 1,000 API calls.
|
default CompletableFuture<List<Log>> |
getLogsAsync(int offset,
int length,
String logType,
RequestOptions requestOptions)
Get the logs of the latest search and indexing operations You can retrieve the logs of your
last 1,000 API calls.
|
default CompletableFuture<List<Log>> |
getLogsAsync(RequestOptions requestOptions)
Get the logs of the latest search and indexing operations You can retrieve the logs of your
last 1,000 API calls.
|
default List<IndicesResponse> |
listIndices()
List all existing indexes
|
default List<IndicesResponse> |
listIndices(RequestOptions requestOptions)
List all existing indexes
|
default CompletableFuture<List<IndicesResponse>> |
listIndicesAsync()
List asynchronously all existing indexes
|
default CompletableFuture<List<IndicesResponse>> |
listIndicesAsync(RequestOptions requestOptions)
List asynchronously all existing indexes
|
getConfig, getTransport, waitTask, waitTaskdefault List<IndicesResponse> listIndices()
AlgoliaRetryException - When the retry has failed on all hostsAlgoliaApiException - When the API sends an http error codeAlgoliaRuntimeException - When an error occurred during the serializationdefault List<IndicesResponse> listIndices(RequestOptions requestOptions)
requestOptions - Options to pass to this requestAlgoliaRetryException - When the retry has failed on all hostsAlgoliaApiException - When the API sends an http error codeAlgoliaRuntimeException - When an error occurred during the serializationdefault CompletableFuture<List<IndicesResponse>> listIndicesAsync()
AlgoliaRetryException - When the retry has failed on all hostsAlgoliaApiException - When the API sends an http error codeAlgoliaRuntimeException - When an error occurred during the serializationdefault CompletableFuture<List<IndicesResponse>> listIndicesAsync(RequestOptions requestOptions)
requestOptions - Options to pass to this requestAlgoliaRetryException - When the retry has failed on all hostsAlgoliaApiException - When the API sends an http error codeAlgoliaRuntimeException - When an error occurred during the serializationdefault List<Log> getLogs()
AlgoliaRetryException - When the retry has failed on all hostsAlgoliaApiException - When the API sends an http error codeAlgoliaRuntimeException - When an error occurred during the serializationdefault List<Log> getLogs(RequestOptions requestOptions)
requestOptions - Options to pass to this requestAlgoliaRetryException - When the retry has failed on all hostsAlgoliaApiException - When the API sends an http error codeAlgoliaRuntimeException - When an error occurred during the serializationdefault List<Log> getLogs(int offset, int length)
offset - Specify the first entry to retrieve (0-based, 0 is the most recent log entry).length - Specify the maximum number of entries to retrieve starting at the offset. Maximum
allowed value: 1,000.AlgoliaRetryException - When the retry has failed on all hostsAlgoliaApiException - When the API sends an http error codeAlgoliaRuntimeException - When an error occurred during the serializationdefault List<Log> getLogs(int offset, int length, @Nonnull String logType)
offset - Specify the first entry to retrieve (0-based, 0 is the most recent log entry).length - Specify the maximum number of entries to retrieve starting at the offset. Maximum
allowed value: 1,000.logType - Log type values can be found in LogTypeAlgoliaRetryException - When the retry has failed on all hostsAlgoliaApiException - When the API sends an http error codeAlgoliaRuntimeException - When an error occurred during the serializationdefault List<Log> getLogs(int offset, int length, RequestOptions requestOptions)
offset - Specify the first entry to retrieve (0-based, 0 is the most recent log entry).length - Specify the maximum number of entries to retrieve starting at the offset. Maximum
allowed value: 1,000.requestOptions - Options to pass to this requestAlgoliaRetryException - When the retry has failed on all hostsAlgoliaApiException - When the API sends an http error codeAlgoliaRuntimeException - When an error occurred during the serializationdefault CompletableFuture<List<Log>> getLogsAsync()
AlgoliaRetryException - When the retry has failed on all hostsAlgoliaApiException - When the API sends an http error codeAlgoliaRuntimeException - When an error occurred during the serializationdefault CompletableFuture<List<Log>> getLogsAsync(int offset, int length)
offset - Specify the first entry to retrieve (0-based, 0 is the most recent log entry).length - Specify the maximum number of entries to retrieve starting at the offset. Maximum
allowed value: 1,000.AlgoliaRetryException - When the retry has failed on all hostsAlgoliaApiException - When the API sends an http error codeAlgoliaRuntimeException - When an error occurred during the serializationdefault CompletableFuture<List<Log>> getLogsAsync(int offset, int length, @Nonnull String logType)
offset - Specify the first entry to retrieve (0-based, 0 is the most recent log entry).length - Specify the maximum number of entries to retrieve starting at the offset. Maximum
allowed value: 1,000.logType - Log type values can be found in LogTypeAlgoliaRetryException - When the retry has failed on all hostsAlgoliaApiException - When the API sends an http error codeAlgoliaRuntimeException - When an error occurred during the serializationdefault CompletableFuture<List<Log>> getLogsAsync(RequestOptions requestOptions)
requestOptions - Options to pass to this requestAlgoliaRetryException - When the retry has failed on all hostsAlgoliaApiException - When the API sends an http error codeAlgoliaRuntimeException - When an error occurred during the serializationdefault CompletableFuture<List<Log>> getLogsAsync(int offset, int length, @Nonnull String logType, RequestOptions requestOptions)
offset - Specify the first entry to retrieve (0-based, 0 is the most recent log entry).length - Specify the maximum number of entries to retrieve starting at the offset. Maximum
allowed value: 1,000.logType - Log type values can be found in LogTyperequestOptions - Options to pass to this requestAlgoliaRetryException - When the retry has failed on all hostsAlgoliaApiException - When the API sends an http error codeAlgoliaRuntimeException - When an error occurred during the serializationdefault <T,U> U customRequest(T data,
Class<U> returnClazz,
@Nonnull
HttpMethod httpMethod,
@Nonnull
String path,
@Nonnull
CallType callType)
U - The return classT - The data classdata - The data to send to the APIreturnClazz - The return classhttpMethod - The http method. HttpMethodpath - The path to the Algolia REST API methodcallType - The CallType. CallTypeAlgoliaRetryException - When the retry has failed on all hostsAlgoliaApiException - When the API sends an http error codeAlgoliaRuntimeException - When an error occurred during the serializationdefault <T,U> U customRequest(T data,
Class<U> returnClazz,
@Nonnull
HttpMethod httpMethod,
@Nonnull
String path,
@Nonnull
CallType callType,
RequestOptions requestOptions)
U - The return classT - The data classdata - The data to send to the APIreturnClazz - The return classhttpMethod - The http method. HttpMethodpath - The path to the Algolia REST API methodcallType - The CallType. CallTyperequestOptions - Options to pass to this requestAlgoliaRetryException - When the retry has failed on all hostsAlgoliaApiException - When the API sends an http error codeAlgoliaRuntimeException - When an error occurred during the serializationdefault <U> U customRequest(Class<U> returnClazz, @Nonnull HttpMethod httpMethod, @Nonnull String path, @Nonnull CallType callType)
U - The return classreturnClazz - The return classhttpMethod - The http method. HttpMethodpath - The path to the Algolia REST API methodcallType - The CallType. CallTypeAlgoliaRetryException - When the retry has failed on all hostsAlgoliaApiException - When the API sends an http error codeAlgoliaRuntimeException - When an error occurred during the serializationdefault <U> U customRequest(Class<U> returnClazz, @Nonnull HttpMethod httpMethod, @Nonnull String path, @Nonnull CallType callType, RequestOptions requestOptions)
U - The return classreturnClazz - The return classhttpMethod - The http method. HttpMethodpath - The path to the Algolia REST API methodcallType - The CallType. CallTyperequestOptions - Options to pass to this requestAlgoliaRetryException - When the retry has failed on all hostsAlgoliaApiException - When the API sends an http error codeAlgoliaRuntimeException - When an error occurred during the serializationdefault <T,U> CompletableFuture<U> customRequestAsync(T data, Class<U> returnClazz, @Nonnull HttpMethod httpMethod, @Nonnull String path, @Nonnull CallType callType)
U - The return classT - The data classdata - The data to send to the APIreturnClazz - The return classhttpMethod - The http method. HttpMethodpath - The path to the Algolia REST API methodcallType - The CallType. CallTypeAlgoliaRetryException - When the retry has failed on all hostsAlgoliaApiException - When the API sends an http error codeAlgoliaRuntimeException - When an error occurred during the serializationdefault <T,U> CompletableFuture<U> customRequestAsync(T data, Class<U> returnClazz, @Nonnull HttpMethod httpMethod, @Nonnull String path, @Nonnull CallType callType, RequestOptions requestOptions)
U - The return classT - The data classdata - The data to send to the APIreturnClazz - The return classhttpMethod - The http method. HttpMethodpath - The path to the Algolia REST API methodcallType - The CallType. CallTyperequestOptions - Options to pass to this requestAlgoliaRetryException - When the retry has failed on all hostsAlgoliaApiException - When the API sends an http error codeAlgoliaRuntimeException - When an error occurred during the serializationdefault <U> CompletableFuture<U> customRequestAsync(Class<U> returnClazz, @Nonnull HttpMethod httpMethod, @Nonnull String path, @Nonnull CallType callType)
U - The return classreturnClazz - The return classhttpMethod - The http method. HttpMethodpath - The path to the Algolia REST API methodcallType - The CallType. CallTypeAlgoliaRetryException - When the retry has failed on all hostsAlgoliaApiException - When the API sends an http error codeAlgoliaRuntimeException - When an error occurred during the serializationdefault <U> CompletableFuture<U> customRequestAsync(Class<U> returnClazz, @Nonnull HttpMethod httpMethod, @Nonnull String path, @Nonnull CallType callType, RequestOptions requestOptions)
U - The return classreturnClazz - The return classhttpMethod - The http method. HttpMethodpath - The path to the Algolia REST API methodcallType - The CallType. CallTyperequestOptions - Options to pass to this requestAlgoliaRetryException - When the retry has failed on all hostsAlgoliaApiException - When the API sends an http error codeAlgoliaRuntimeException - When an error occurred during the serializationCopyright © 2019. All rights reserved.