public final class UserInsightsClient extends Object
| Constructor and Description |
|---|
UserInsightsClient(String userToken,
InsightsClient insightsClient) |
public UserInsightsClient(String userToken, InsightsClient insightsClient)
public InsightsResult clickedFilters(@Nonnull String eventName, @Nonnull String indexName, @Nonnull List<String> filters)
eventName - The Event NameindexName - The Index Namefilters - Filters parametersAlgoliaRetryException - When the retry has failed on all hostsAlgoliaApiException - When the API sends an http error codeAlgoliaRuntimeException - When an error occurred during the serializationpublic InsightsResult clickedFilters(@Nonnull String eventName, @Nonnull String indexName, @Nonnull List<String> filters, RequestOptions requestOptions)
eventName - The Event NameindexName - The Index Namefilters - Filters parametersrequestOptions - RequestOptionsAlgoliaRetryException - When the retry has failed on all hostsAlgoliaApiException - When the API sends an http error codeAlgoliaRuntimeException - When an error occurred during the serializationpublic CompletableFuture<InsightsResult> clickedFiltersAsync(@Nonnull String eventName, @Nonnull String indexName, @Nonnull List<String> filters)
eventName - The Event NameindexName - The Index Namefilters - Filters parametersAlgoliaRetryException - When the retry has failed on all hostsAlgoliaApiException - When the API sends an http error codeAlgoliaRuntimeException - When an error occurred during the serializationpublic CompletableFuture<InsightsResult> clickedFiltersAsync(@Nonnull String eventName, @Nonnull String indexName, @Nonnull List<String> filters, RequestOptions requestOptions)
eventName - The Event NameindexName - The Index Namefilters - Filters parametersrequestOptions - RequestOptionsAlgoliaRetryException - When the retry has failed on all hostsAlgoliaApiException - When the API sends an http error codeAlgoliaRuntimeException - When an error occurred during the serializationpublic InsightsResult clickedObjectIDs(@Nonnull String eventName, @Nonnull String indexName, @Nonnull List<String> objectIDs)
eventName - The Event NameindexName - The Index NameobjectIDs - List of objectIdAlgoliaRetryException - When the retry has failed on all hostsAlgoliaApiException - When the API sends an http error codeAlgoliaRuntimeException - When an error occurred during the serializationpublic InsightsResult clickedObjectIDs(@Nonnull String eventName, @Nonnull String indexName, @Nonnull List<String> objectIDs, RequestOptions requestOptions)
eventName - The Event NameindexName - The Index NameobjectIDs - List of objectIdrequestOptions - RequestOptionsAlgoliaRetryException - When the retry has failed on all hostsAlgoliaApiException - When the API sends an http error codeAlgoliaRuntimeException - When an error occurred during the serializationpublic CompletableFuture<InsightsResult> clickedObjectIDsAsync(@Nonnull String eventName, @Nonnull String indexName, @Nonnull List<String> objectIDs)
eventName - The Event NameindexName - The Index NameobjectIDs - List of objectIdAlgoliaRetryException - When the retry has failed on all hostsAlgoliaApiException - When the API sends an http error codeAlgoliaRuntimeException - When an error occurred during the serializationpublic CompletableFuture<InsightsResult> clickedObjectIDsAsync(@Nonnull String eventName, @Nonnull String indexName, @Nonnull List<String> objectIDs, RequestOptions requestOptions)
eventName - The Event NameindexName - The Index NameobjectIDs - List of objectIdrequestOptions - RequestOptionsAlgoliaRetryException - When the retry has failed on all hostsAlgoliaApiException - When the API sends an http error codeAlgoliaRuntimeException - When an error occurred during the serializationpublic InsightsResult clickedObjectIDsAfterSearch(@Nonnull String eventName, @Nonnull String indexName, @Nonnull List<String> objectIDs, @Nonnull List<Long> positions, @Nonnull String queryID)
eventName - The Event NameindexName - The Index NameobjectIDs - List of objectIdpositions - List of positionqueryID - The query IdAlgoliaRetryException - When the retry has failed on all hostsAlgoliaApiException - When the API sends an http error codeAlgoliaRuntimeException - When an error occurred during the serializationpublic InsightsResult clickedObjectIDsAfterSearch(@Nonnull String eventName, @Nonnull String indexName, @Nonnull List<String> objectIDs, @Nonnull List<Long> positions, @Nonnull String queryID, RequestOptions requestOptions)
eventName - The Event NameindexName - The Index NameobjectIDs - List of objectIdpositions - List of positionqueryID - The query IdrequestOptions - RequestOptionsAlgoliaRetryException - When the retry has failed on all hostsAlgoliaApiException - When the API sends an http error codeAlgoliaRuntimeException - When an error occurred during the serializationpublic CompletableFuture<InsightsResult> clickedObjectIDsAfterSearchAsync(@Nonnull String eventName, @Nonnull String indexName, @Nonnull List<String> objectIDs, @Nonnull List<Long> positions, @Nonnull String queryID)
eventName - The Event NameindexName - The Index NameobjectIDs - List of objectIdpositions - List of positionqueryID - The query IdAlgoliaRetryException - When the retry has failed on all hostsAlgoliaApiException - When the API sends an http error codeAlgoliaRuntimeException - When an error occurred during the serializationpublic CompletableFuture<InsightsResult> clickedObjectIDsAfterSearchAsync(@Nonnull String eventName, @Nonnull String indexName, @Nonnull List<String> objectIDs, @Nonnull List<Long> positions, @Nonnull String queryID, RequestOptions requestOptions)
eventName - The Event NameindexName - The Index NameobjectIDs - List of objectIdpositions - List of positionqueryID - The query IdrequestOptions - RequestOptionsAlgoliaRetryException - When the retry has failed on all hostsAlgoliaApiException - When the API sends an http error codeAlgoliaRuntimeException - When an error occurred during the serializationpublic InsightsResult convertedObjectIDs(@Nonnull String eventName, @Nonnull String indexName, @Nonnull List<String> objectIDs)
eventName - The Event NameindexName - The Index NameobjectIDs - List of objectIdAlgoliaRetryException - When the retry has failed on all hostsAlgoliaApiException - When the API sends an http error codeAlgoliaRuntimeException - When an error occurred during the serializationpublic InsightsResult convertedObjectIDs(@Nonnull String eventName, @Nonnull String indexName, @Nonnull List<String> objectIDs, RequestOptions requestOptions)
eventName - The Event NameindexName - The Index NameobjectIDs - List of objectIdrequestOptions - RequestOptionsAlgoliaRetryException - When the retry has failed on all hostsAlgoliaApiException - When the API sends an http error codeAlgoliaRuntimeException - When an error occurred during the serializationpublic CompletableFuture<InsightsResult> convertedObjectIDsAsync(@Nonnull String eventName, @Nonnull String indexName, @Nonnull List<String> objectIDs)
eventName - The Event NameindexName - The Index NameobjectIDs - List of objectIdAlgoliaRetryException - When the retry has failed on all hostsAlgoliaApiException - When the API sends an http error codeAlgoliaRuntimeException - When an error occurred during the serializationpublic CompletableFuture<InsightsResult> convertedObjectIDsAsync(@Nonnull String eventName, @Nonnull String indexName, @Nonnull List<String> objectIDs, RequestOptions requestOptions)
eventName - The Event NameindexName - The Index NameobjectIDs - List of objectIdrequestOptions - RequestOptionsAlgoliaRetryException - When the retry has failed on all hostsAlgoliaApiException - When the API sends an http error codeAlgoliaRuntimeException - When an error occurred during the serializationpublic InsightsResult convertedObjectIDsAfterSearch(@Nonnull String eventName, @Nonnull String indexName, @Nonnull List<String> objectIDs, @Nonnull String queryID)
eventName - The Event NameindexName - The Index NameobjectIDs - List of objectIdqueryID - The query IdAlgoliaRetryException - When the retry has failed on all hostsAlgoliaApiException - When the API sends an http error codeAlgoliaRuntimeException - When an error occurred during the serializationpublic InsightsResult convertedObjectIDsAfterSearch(@Nonnull String eventName, @Nonnull String indexName, @Nonnull List<String> objectIDs, @Nonnull String queryID, RequestOptions requestOptions)
eventName - The Event NameindexName - The Index NameobjectIDs - List of objectIdqueryID - The query IdrequestOptions - RequestOptionsAlgoliaRetryException - When the retry has failed on all hostsAlgoliaApiException - When the API sends an http error codeAlgoliaRuntimeException - When an error occurred during the serializationpublic CompletableFuture<InsightsResult> convertedObjectIDsAfterSearchAsync(@Nonnull String eventName, @Nonnull String indexName, @Nonnull List<String> objectIDs, @Nonnull String queryID)
eventName - The Event NameindexName - The Index NameobjectIDs - List of objectIdqueryID - The query IdAlgoliaRetryException - When the retry has failed on all hostsAlgoliaApiException - When the API sends an http error codeAlgoliaRuntimeException - When an error occurred during the serializationpublic CompletableFuture<InsightsResult> convertedObjectIDsAfterSearchAsync(@Nonnull String eventName, @Nonnull String indexName, @Nonnull List<String> objectIDs, @Nonnull String queryID, RequestOptions requestOptions)
eventName - The Event NameindexName - The Index NameobjectIDs - List of objectIdqueryID - The query IdrequestOptions - RequestOptionsAlgoliaRetryException - When the retry has failed on all hostsAlgoliaApiException - When the API sends an http error codeAlgoliaRuntimeException - When an error occurred during the serializationpublic InsightsResult convertedFilters(@Nonnull String eventName, @Nonnull String indexName, @Nonnull List<String> filters)
eventName - The Event NameindexName - The index namefilters - List of filtersAlgoliaRetryException - When the retry has failed on all hostsAlgoliaApiException - When the API sends an http error codeAlgoliaRuntimeException - When an error occurred during the serializationpublic InsightsResult convertedFilters(@Nonnull String eventName, @Nonnull String indexName, @Nonnull List<String> filters, RequestOptions requestOptions)
eventName - The Event NameindexName - The index namefilters - List of filtersrequestOptions - RequestOptionsAlgoliaRetryException - When the retry has failed on all hostsAlgoliaApiException - When the API sends an http error codeAlgoliaRuntimeException - When an error occurred during the serializationpublic CompletableFuture<InsightsResult> convertedFiltersAsync(@Nonnull String eventName, @Nonnull String indexName, @Nonnull List<String> filters)
eventName - The Event NameindexName - The index namefilters - List of filtersAlgoliaRetryException - When the retry has failed on all hostsAlgoliaApiException - When the API sends an http error codeAlgoliaRuntimeException - When an error occurred during the serializationpublic CompletableFuture<InsightsResult> convertedFiltersAsync(@Nonnull String eventName, @Nonnull String indexName, @Nonnull List<String> filters, RequestOptions requestOptions)
eventName - The Event NameindexName - The index namefilters - List of filtersrequestOptions - RequestOptionsAlgoliaRetryException - When the retry has failed on all hostsAlgoliaApiException - When the API sends an http error codeAlgoliaRuntimeException - When an error occurred during the serializationpublic InsightsResult viewedFilters(@Nonnull String eventName, @Nonnull String indexName, @Nonnull List<String> filters)
eventName - The Event NameindexName - The Index Namefilters - Filters parametersAlgoliaRetryException - When the retry has failed on all hostsAlgoliaApiException - When the API sends an http error codeAlgoliaRuntimeException - When an error occurred during the serializationpublic InsightsResult viewedFilters(@Nonnull String eventName, @Nonnull String indexName, @Nonnull List<String> filters, RequestOptions requestOptions)
eventName - The Event NameindexName - The Index Namefilters - Filters parametersrequestOptions - RequestOptionsAlgoliaRetryException - When the retry has failed on all hostsAlgoliaApiException - When the API sends an http error codeAlgoliaRuntimeException - When an error occurred during the serializationpublic CompletableFuture<InsightsResult> viewedFiltersAsync(@Nonnull String eventName, @Nonnull String indexName, @Nonnull List<String> filters)
eventName - The Event NameindexName - The Index Namefilters - Filters parametersAlgoliaRetryException - When the retry has failed on all hostsAlgoliaApiException - When the API sends an http error codeAlgoliaRuntimeException - When an error occurred during the serializationpublic CompletableFuture<InsightsResult> viewedFiltersAsync(@Nonnull String eventName, @Nonnull String indexName, @Nonnull List<String> filters, RequestOptions requestOptions)
eventName - The Event NameindexName - The Index Namefilters - Filters parametersrequestOptions - RequestOptionsAlgoliaRetryException - When the retry has failed on all hostsAlgoliaApiException - When the API sends an http error codeAlgoliaRuntimeException - When an error occurred during the serializationpublic InsightsResult viewedObjectIDs(@Nonnull String eventName, @Nonnull String indexName, @Nonnull List<String> objectIDs)
eventName - The Event NameindexName - The Index NameobjectIDs - List of objectIdAlgoliaRetryException - When the retry has failed on all hostsAlgoliaApiException - When the API sends an http error codeAlgoliaRuntimeException - When an error occurred during the serializationpublic InsightsResult viewedObjectIDs(@Nonnull String eventName, @Nonnull String indexName, @Nonnull List<String> objectIDs, RequestOptions requestOptions)
eventName - The Event NameindexName - The Index NameobjectIDs - List of objectIdrequestOptions - RequestOptionsAlgoliaRetryException - When the retry has failed on all hostsAlgoliaApiException - When the API sends an http error codeAlgoliaRuntimeException - When an error occurred during the serializationpublic CompletableFuture<InsightsResult> viewedObjectIDsAsync(@Nonnull String eventName, @Nonnull String indexName, @Nonnull List<String> objectIDs)
eventName - The Event NameindexName - The Index NameobjectIDs - List of objectIdAlgoliaRetryException - When the retry has failed on all hostsAlgoliaApiException - When the API sends an http error codeAlgoliaRuntimeException - When an error occurred during the serializationpublic CompletableFuture<InsightsResult> viewedObjectIDsAsync(@Nonnull String eventName, @Nonnull String indexName, @Nonnull List<String> objectIDs, RequestOptions requestOptions)
eventName - The Event NameindexName - The Index NameobjectIDs - List of objectIdrequestOptions - RequestOptionsAlgoliaRetryException - 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.