public interface SearchClientMultipleOperations extends SearchClientBase
| Modifier and Type | Method and Description |
|---|---|
default <T> MultipleIndexBatchIndexingResponse |
multipleBatch(List<BatchOperation<T>> operations)
Perform multiple write operations, potentially targeting multiple indices, in a single API
call.
|
default <T> MultipleIndexBatchIndexingResponse |
multipleBatch(List<BatchOperation<T>> operations,
RequestOptions requestOptions)
Perform multiple write operations, potentially targeting multiple indices, in a single API
call.
|
default <T> CompletableFuture<MultipleIndexBatchIndexingResponse> |
multipleBatchAsync(List<BatchOperation<T>> operations)
Perform multiple write operations, potentially targeting multiple indices, in a single API
call.
|
default <T> CompletableFuture<MultipleIndexBatchIndexingResponse> |
multipleBatchAsync(List<BatchOperation<T>> operations,
RequestOptions requestOptions)
Perform multiple write operations, potentially targeting multiple indices, in a single API
call.
|
default <T> MultipleGetObjectsResponse<T> |
multipleGetObjects(List<MultipleGetObject> queries,
Class<T> clazz)
Retrieve one or more objects, potentially from different indices, in a single API call.
|
default <T> MultipleGetObjectsResponse<T> |
multipleGetObjects(List<MultipleGetObject> queries,
Class<T> clazz,
RequestOptions requestOptions)
Retrieve one or more objects, potentially from different indices, in a single API call.
|
default <T> CompletableFuture<MultipleGetObjectsResponse<T>> |
multipleGetObjectsAsync(List<MultipleGetObject> queries,
Class<T> clazz)
Retrieve one or more objects, potentially from different indices, in a single API call.
|
default <T> CompletableFuture<MultipleGetObjectsResponse<T>> |
multipleGetObjectsAsync(List<MultipleGetObject> queries,
Class<T> clazz,
RequestOptions requestOptions)
Retrieve one or more objects, potentially from different indices, in a single API call.
|
default <T> MultipleQueriesResponse<T> |
multipleQueries(MultipleQueriesRequest request,
Class<T> clazz)
This method allows to send multiple search queries, potentially targeting multiple indices, in
a single API call.
|
default <T> MultipleQueriesResponse<T> |
multipleQueries(MultipleQueriesRequest request,
Class<T> clazz,
RequestOptions requestOptions)
This method allows to send multiple search queries, potentially targeting multiple indices, in
a single API call.
|
default <T> CompletableFuture<MultipleQueriesResponse<T>> |
multipleQueriesAsync(MultipleQueriesRequest request,
Class<T> clazz)
This method allows to send multiple search queries, potentially targeting multiple indices, in
a single API call.
|
default <T> CompletableFuture<MultipleQueriesResponse<T>> |
multipleQueriesAsync(MultipleQueriesRequest request,
Class<T> clazz,
RequestOptions requestOptions)
This method allows to send multiple search queries, potentially targeting multiple indices, in
a single API call.
|
getConfig, getTransport, waitTask, waitTaskdefault <T> MultipleGetObjectsResponse<T> multipleGetObjects(List<MultipleGetObject> queries, Class<T> clazz)
T - Type of the data to retrievequeries - The query objectclazz - Class of the data to retrieveAlgoliaRetryException - When the retry has failed on all hostsAlgoliaApiException - When the API sends an http error codeAlgoliaRuntimeException - When an error occurred during the serializationdefault <T> MultipleGetObjectsResponse<T> multipleGetObjects(List<MultipleGetObject> queries, Class<T> clazz, RequestOptions requestOptions)
T - Type of the data to retrievequeries - The query objectclazz - Class of the data to retrieverequestOptions - 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> CompletableFuture<MultipleGetObjectsResponse<T>> multipleGetObjectsAsync(List<MultipleGetObject> queries, Class<T> clazz)
T - Type of the data to retrievequeries - The query objectclazz - Class of the data to retrievedefault <T> CompletableFuture<MultipleGetObjectsResponse<T>> multipleGetObjectsAsync(List<MultipleGetObject> queries, Class<T> clazz, RequestOptions requestOptions)
T - Type of the data to retrievequeries - The query objectclazz - Class of the data to retrieverequestOptions - 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> MultipleIndexBatchIndexingResponse multipleBatch(@Nonnull List<BatchOperation<T>> operations)
operations - The batch operations to process. It could be on multiple indices with
multiple actionsAlgoliaRetryException - When the retry has failed on all hostsAlgoliaApiException - When the API sends an http error codeAlgoliaRuntimeException - When an error occurred during the serializationdefault <T> MultipleIndexBatchIndexingResponse multipleBatch(@Nonnull List<BatchOperation<T>> operations, RequestOptions requestOptions)
operations - The batch operations to process. It could be on multiple indices with
multiple actionrequestOptions - 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> CompletableFuture<MultipleIndexBatchIndexingResponse> multipleBatchAsync(@Nonnull List<BatchOperation<T>> operations)
operations - The batch operations to process. It could be on multiple indices with
multiple actionAlgoliaRetryException - When the retry has failed on all hostsAlgoliaApiException - When the API sends an http error codeAlgoliaRuntimeException - When an error occurred during the serializationdefault <T> CompletableFuture<MultipleIndexBatchIndexingResponse> multipleBatchAsync(@Nonnull List<BatchOperation<T>> operations, RequestOptions requestOptions)
operations - The batch operations to process. It could be on multiple indices with
multiple actionrequestOptions - 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> MultipleQueriesResponse<T> multipleQueries(@Nonnull MultipleQueriesRequest request, @Nonnull Class<T> clazz)
T - Type of the expected resultsrequest - The requestclazz - The class of the expected resultsAlgoliaRetryException - When the retry has failed on all hostsAlgoliaApiException - When the API sends an http error codeAlgoliaRuntimeException - When an error occurred during the serializationdefault <T> MultipleQueriesResponse<T> multipleQueries(@Nonnull MultipleQueriesRequest request, @Nonnull Class<T> clazz, RequestOptions requestOptions)
T - Type of the expected resultsrequest - The requestclazz - The class of the expected resultsrequestOptions - 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> CompletableFuture<MultipleQueriesResponse<T>> multipleQueriesAsync(@Nonnull MultipleQueriesRequest request, @Nonnull Class<T> clazz)
T - Type of the expected resultsrequest - The requestclazz - The class of the expected resultsAlgoliaRetryException - When the retry has failed on all hostsAlgoliaApiException - When the API sends an http error codeAlgoliaRuntimeException - When an error occurred during the serializationdefault <T> CompletableFuture<MultipleQueriesResponse<T>> multipleQueriesAsync(@Nonnull MultipleQueriesRequest request, @Nonnull Class<T> clazz, RequestOptions requestOptions)
T - Type of the expected resultsrequest - The requestclazz - The class of the expected resultsrequestOptions - 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.