public interface SearchClientMcm extends SearchClientBase
| Modifier and Type | Method and Description |
|---|---|
default AssignUserIdResponse |
assignUserID(String userId,
String clusterName)
Assign or Move a userID to a cluster.
|
default AssignUserIdResponse |
assignUserID(String userId,
String clusterName,
RequestOptions requestOptions)
Assign or Move a userID to a cluster.
|
default CompletableFuture<AssignUserIdResponse> |
assignUserIDAsync(String userId,
String clusterName)
Assign or Move a userID to a cluster.
|
default CompletableFuture<AssignUserIdResponse> |
assignUserIDAsync(String userId,
String clusterName,
RequestOptions requestOptions)
Assign or Move a userID to a cluster.
|
default TopUserIdResponse |
getTopUserID()
Get the top 10 userIDs with the highest number of records per cluster.
|
default TopUserIdResponse |
getTopUserID(RequestOptions requestOptions)
Get the top 10 userIDs with the highest number of records per cluster.
|
default CompletableFuture<TopUserIdResponse> |
getTopUserIDAsync()
Get the top 10 userIDs with the highest number of records per cluster.
|
default CompletableFuture<TopUserIdResponse> |
getTopUserIDAsync(RequestOptions requestOptions)
Get the top 10 userIDs with the highest number of records per cluster.
|
default UserId |
getUserID(String userID)
Returns the userID data stored in the mapping.
|
default UserId |
getUserID(String userID,
RequestOptions requestOptions)
Returns the userID data stored in the mapping.
|
default CompletableFuture<UserId> |
getUserIDAsync(String userID)
Returns the userID data stored in the mapping.
|
default CompletableFuture<UserId> |
getUserIDAsync(String userID,
RequestOptions requestOptions)
Returns the userID data stored in the mapping.
|
default ListClustersResponse |
listClusters()
List the clusters available in a multi-clusters setup for a single appID
|
default ListClustersResponse |
listClusters(RequestOptions requestOptions)
List the clusters available in a multi-clusters setup for a single appID
|
default CompletableFuture<ListClustersResponse> |
listClustersAsync()
List the clusters available in a multi-clusters setup for a single appID
|
default CompletableFuture<ListClustersResponse> |
listClustersAsync(RequestOptions requestOptions)
List the clusters available in a multi-clusters setup for a single appID
|
default ListUserIdsResponse |
listUserIDs()
List the userIDs assigned to a multi-clusters appID.
|
default ListUserIdsResponse |
listUserIDs(int page,
int hitsPerPage,
RequestOptions requestOptions)
List the userIDs assigned to a multi-clusters appID.
|
default ListUserIdsResponse |
listUserIDs(RequestOptions requestOptions)
List the userIDs assigned to a multi-clusters appID.
|
default CompletableFuture<ListUserIdsResponse> |
listUserIDsAsync()
List the userIDs assigned to a multi-clusters appID.
|
default CompletableFuture<ListUserIdsResponse> |
listUserIDsAsync(int page,
int hitsPerPage,
RequestOptions requestOptions)
List the userIDs assigned to a multi-clusters appID.
|
default CompletableFuture<ListUserIdsResponse> |
listUserIDsAsync(RequestOptions requestOptions)
List the userIDs assigned to a multi-clusters appID.
|
default RemoveUserIdResponse |
removeUserID(String userId)
Remove a userID and its associated data from the multi-clusters
|
default RemoveUserIdResponse |
removeUserID(String userId,
RequestOptions requestOptions)
Remove a userID and its associated data from the multi-clusters.
|
default CompletableFuture<RemoveUserIdResponse> |
removeUserIDAsync(String userId)
Remove a userID and its associated data from the multi-clusters.
|
default CompletableFuture<RemoveUserIdResponse> |
removeUserIDAsync(String userId,
RequestOptions requestOptions)
Remove a userID and its associated data from the multi-clusters.
|
default SearchResult<UserId> |
searchUserIDs(SearchUserIdsRequest query)
Search for userIDs The data returned will usually be a few seconds behind real-time, because
userID usage may take up to a few seconds propagate to the different cluster
|
default SearchResult<UserId> |
searchUserIDs(SearchUserIdsRequest query,
RequestOptions requestOptions)
Search for userIDs The data returned will usually be a few seconds behind real-time, because
userID usage may take up to a few seconds propagate to the different cluster
|
default CompletableFuture<SearchResult<UserId>> |
searchUserIDsAsync(SearchUserIdsRequest query)
Search for userIDs The data returned will usually be a few seconds behind real-time, because
userID usage may take up to a few seconds propagate to the different cluster
|
default CompletableFuture<SearchResult<UserId>> |
searchUserIDsAsync(SearchUserIdsRequest query,
RequestOptions requestOptions)
Search for userIDs The data returned will usually be a few seconds behind real-time, because
userID usage may take up to a few seconds propagate to the different cluster
|
getConfig, getTransport, waitTask, waitTaskdefault ListClustersResponse listClusters()
default ListClustersResponse listClusters(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<ListClustersResponse> listClustersAsync()
default CompletableFuture<ListClustersResponse> listClustersAsync(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 SearchResult<UserId> searchUserIDs(@Nonnull SearchUserIdsRequest query)
query - The query to search for userIDsAlgoliaRetryException - When the retry has failed on all hostsAlgoliaApiException - When the API sends an http error codeAlgoliaRuntimeException - When an error occurred during the serializationdefault SearchResult<UserId> searchUserIDs(@Nonnull SearchUserIdsRequest query, RequestOptions requestOptions)
query - The query to search for userIDsrequestOptions - 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<SearchResult<UserId>> searchUserIDsAsync(@Nonnull SearchUserIdsRequest query)
query - The query to search for userIDsAlgoliaRetryException - When the retry has failed on all hostsAlgoliaApiException - When the API sends an http error codeAlgoliaRuntimeException - When an error occurred during the serializationdefault CompletableFuture<SearchResult<UserId>> searchUserIDsAsync(@Nonnull SearchUserIdsRequest query, RequestOptions requestOptions)
query - The query to search for userIDsrequestOptions - 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 ListUserIdsResponse listUserIDs()
AlgoliaRetryException - When the retry has failed on all hostsAlgoliaApiException - When the API sends an http error codeAlgoliaRuntimeException - When an error occurred during the serializationdefault ListUserIdsResponse listUserIDs(int page, int hitsPerPage, RequestOptions requestOptions)
page - The page number to requesthitsPerPage - Number of hits per pagerequestOptions - 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 ListUserIdsResponse listUserIDs(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<ListUserIdsResponse> listUserIDsAsync()
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<ListUserIdsResponse> listUserIDsAsync(int page, int hitsPerPage, RequestOptions requestOptions)
page - The page number to requesthitsPerPage - Number of hits per pagerequestOptions - 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<ListUserIdsResponse> listUserIDsAsync(RequestOptions requestOptions)
requestOptions - Options to pass to this requestdefault UserId getUserID(@Nonnull String userID)
userID - The userID in the mappingAlgoliaRetryException - When the retry has failed on all hostsAlgoliaApiException - When the API sends an http error codeAlgoliaRuntimeException - When an error occurred during the serializationdefault UserId getUserID(@Nonnull String userID, RequestOptions requestOptions)
userID - The userID in the mappingrequestOptions - 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<UserId> getUserIDAsync(@Nonnull String userID)
userID - The userID in the mappingdefault CompletableFuture<UserId> getUserIDAsync(@Nonnull String userID, RequestOptions requestOptions)
userID - The userID in the mappingrequestOptions - 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 TopUserIdResponse getTopUserID()
AlgoliaRetryException - When the retry has failed on all hostsAlgoliaApiException - When the API sends an http error codeAlgoliaRuntimeException - When an error occurred during the serializationdefault TopUserIdResponse getTopUserID(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<TopUserIdResponse> getTopUserIDAsync()
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<TopUserIdResponse> getTopUserIDAsync(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 RemoveUserIdResponse removeUserID(@Nonnull String userId)
userId - The userID to removeAlgoliaRetryException - When the retry has failed on all hostsAlgoliaApiException - When the API sends an http error codeAlgoliaRuntimeException - When an error occurred during the serializationdefault RemoveUserIdResponse removeUserID(@Nonnull String userId, RequestOptions requestOptions)
userId - userIDrequestOptions - 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<RemoveUserIdResponse> removeUserIDAsync(@Nonnull String userId)
userId - userIDAlgoliaRetryException - When the retry has failed on all hostsAlgoliaApiException - When the API sends an http error codeAlgoliaRuntimeException - When an error occurred during the serializationdefault CompletableFuture<RemoveUserIdResponse> removeUserIDAsync(@Nonnull String userId, RequestOptions requestOptions)
userId - userIDrequestOptions - 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 AssignUserIdResponse assignUserID(@Nonnull String userId, @Nonnull String clusterName)
userId - The userIDclusterName - The name of the clusterAlgoliaRetryException - When the retry has failed on all hostsAlgoliaApiException - When the API sends an http error codeAlgoliaRuntimeException - When an error occurred during the serializationdefault AssignUserIdResponse assignUserID(@Nonnull String userId, @Nonnull String clusterName, RequestOptions requestOptions)
userId - The userIDclusterName - The name of the clusterrequestOptions - 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<AssignUserIdResponse> assignUserIDAsync(@Nonnull String userId, @Nonnull String clusterName)
userId - The userIDclusterName - The name of the clusterAlgoliaRetryException - When the retry has failed on all hostsAlgoliaApiException - When the API sends an http error codeAlgoliaRuntimeException - When an error occurred during the serializationdefault CompletableFuture<AssignUserIdResponse> assignUserIDAsync(@Nonnull String userId, @Nonnull String clusterName, RequestOptions requestOptions)
userId - The userIDclusterName - The name of the clusterrequestOptions - 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.