Package com.algolia.search
Class UserInsightsClient
- java.lang.Object
-
- com.algolia.search.UserInsightsClient
-
public final class UserInsightsClient extends Object
-
-
Constructor Summary
Constructors Constructor Description UserInsightsClient(String userToken, InsightsClient insightsClient)
-
Method Summary
-
-
-
Constructor Detail
-
UserInsightsClient
public UserInsightsClient(String userToken, InsightsClient insightsClient)
-
-
Method Detail
-
clickedFilters
public InsightsResult clickedFilters(@Nonnull String eventName, @Nonnull String indexName, @Nonnull List<String> filters)
- Parameters:
eventName- The Event NameindexName- The Index Namefilters- Filters parameters- Throws:
AlgoliaRetryException- When the retry has failed on all hostsAlgoliaApiException- When the API sends an http error codeAlgoliaRuntimeException- When an error occurred during the serialization
-
clickedFilters
public InsightsResult clickedFilters(@Nonnull String eventName, @Nonnull String indexName, @Nonnull List<String> filters, RequestOptions requestOptions)
- Parameters:
eventName- The Event NameindexName- The Index Namefilters- Filters parametersrequestOptions- RequestOptions- Throws:
AlgoliaRetryException- When the retry has failed on all hostsAlgoliaApiException- When the API sends an http error codeAlgoliaRuntimeException- When an error occurred during the serialization
-
clickedFiltersAsync
public CompletableFuture<InsightsResult> clickedFiltersAsync(@Nonnull String eventName, @Nonnull String indexName, @Nonnull List<String> filters)
- Parameters:
eventName- The Event NameindexName- The Index Namefilters- Filters parameters- Throws:
AlgoliaRetryException- When the retry has failed on all hostsAlgoliaApiException- When the API sends an http error codeAlgoliaRuntimeException- When an error occurred during the serialization
-
clickedFiltersAsync
public CompletableFuture<InsightsResult> clickedFiltersAsync(@Nonnull String eventName, @Nonnull String indexName, @Nonnull List<String> filters, RequestOptions requestOptions)
- Parameters:
eventName- The Event NameindexName- The Index Namefilters- Filters parametersrequestOptions- RequestOptions- Throws:
AlgoliaRetryException- When the retry has failed on all hostsAlgoliaApiException- When the API sends an http error codeAlgoliaRuntimeException- When an error occurred during the serialization
-
clickedObjectIDs
public InsightsResult clickedObjectIDs(@Nonnull String eventName, @Nonnull String indexName, @Nonnull List<String> objectIDs)
- Parameters:
eventName- The Event NameindexName- The Index NameobjectIDs- List of objectId- Throws:
AlgoliaRetryException- When the retry has failed on all hostsAlgoliaApiException- When the API sends an http error codeAlgoliaRuntimeException- When an error occurred during the serialization
-
clickedObjectIDs
public InsightsResult clickedObjectIDs(@Nonnull String eventName, @Nonnull String indexName, @Nonnull List<String> objectIDs, RequestOptions requestOptions)
- Parameters:
eventName- The Event NameindexName- The Index NameobjectIDs- List of objectIdrequestOptions- RequestOptions- Throws:
AlgoliaRetryException- When the retry has failed on all hostsAlgoliaApiException- When the API sends an http error codeAlgoliaRuntimeException- When an error occurred during the serialization
-
clickedObjectIDsAsync
public CompletableFuture<InsightsResult> clickedObjectIDsAsync(@Nonnull String eventName, @Nonnull String indexName, @Nonnull List<String> objectIDs)
- Parameters:
eventName- The Event NameindexName- The Index NameobjectIDs- List of objectId- Throws:
AlgoliaRetryException- When the retry has failed on all hostsAlgoliaApiException- When the API sends an http error codeAlgoliaRuntimeException- When an error occurred during the serialization
-
clickedObjectIDsAsync
public CompletableFuture<InsightsResult> clickedObjectIDsAsync(@Nonnull String eventName, @Nonnull String indexName, @Nonnull List<String> objectIDs, RequestOptions requestOptions)
- Parameters:
eventName- The Event NameindexName- The Index NameobjectIDs- List of objectIdrequestOptions- RequestOptions- Throws:
AlgoliaRetryException- When the retry has failed on all hostsAlgoliaApiException- When the API sends an http error codeAlgoliaRuntimeException- When an error occurred during the serialization
-
clickedObjectIDsAfterSearch
public InsightsResult clickedObjectIDsAfterSearch(@Nonnull String eventName, @Nonnull String indexName, @Nonnull List<String> objectIDs, @Nonnull List<Long> positions, @Nonnull String queryID)
- Parameters:
eventName- The Event NameindexName- The Index NameobjectIDs- List of objectIdpositions- List of positionqueryID- The query Id- Throws:
AlgoliaRetryException- When the retry has failed on all hostsAlgoliaApiException- When the API sends an http error codeAlgoliaRuntimeException- When an error occurred during the serialization
-
clickedObjectIDsAfterSearch
public InsightsResult clickedObjectIDsAfterSearch(@Nonnull String eventName, @Nonnull String indexName, @Nonnull List<String> objectIDs, @Nonnull List<Long> positions, @Nonnull String queryID, RequestOptions requestOptions)
- Parameters:
eventName- The Event NameindexName- The Index NameobjectIDs- List of objectIdpositions- List of positionqueryID- The query IdrequestOptions- RequestOptions- Throws:
AlgoliaRetryException- When the retry has failed on all hostsAlgoliaApiException- When the API sends an http error codeAlgoliaRuntimeException- When an error occurred during the serialization
-
clickedObjectIDsAfterSearchAsync
public CompletableFuture<InsightsResult> clickedObjectIDsAfterSearchAsync(@Nonnull String eventName, @Nonnull String indexName, @Nonnull List<String> objectIDs, @Nonnull List<Long> positions, @Nonnull String queryID)
- Parameters:
eventName- The Event NameindexName- The Index NameobjectIDs- List of objectIdpositions- List of positionqueryID- The query Id- Throws:
AlgoliaRetryException- When the retry has failed on all hostsAlgoliaApiException- When the API sends an http error codeAlgoliaRuntimeException- When an error occurred during the serialization
-
clickedObjectIDsAfterSearchAsync
public CompletableFuture<InsightsResult> clickedObjectIDsAfterSearchAsync(@Nonnull String eventName, @Nonnull String indexName, @Nonnull List<String> objectIDs, @Nonnull List<Long> positions, @Nonnull String queryID, RequestOptions requestOptions)
- Parameters:
eventName- The Event NameindexName- The Index NameobjectIDs- List of objectIdpositions- List of positionqueryID- The query IdrequestOptions- RequestOptions- Throws:
AlgoliaRetryException- When the retry has failed on all hostsAlgoliaApiException- When the API sends an http error codeAlgoliaRuntimeException- When an error occurred during the serialization
-
convertedObjectIDs
public InsightsResult convertedObjectIDs(@Nonnull String eventName, @Nonnull String indexName, @Nonnull List<String> objectIDs)
- Parameters:
eventName- The Event NameindexName- The Index NameobjectIDs- List of objectId- Throws:
AlgoliaRetryException- When the retry has failed on all hostsAlgoliaApiException- When the API sends an http error codeAlgoliaRuntimeException- When an error occurred during the serialization
-
convertedObjectIDs
public InsightsResult convertedObjectIDs(@Nonnull String eventName, @Nonnull String indexName, @Nonnull List<String> objectIDs, RequestOptions requestOptions)
- Parameters:
eventName- The Event NameindexName- The Index NameobjectIDs- List of objectIdrequestOptions- RequestOptions- Throws:
AlgoliaRetryException- When the retry has failed on all hostsAlgoliaApiException- When the API sends an http error codeAlgoliaRuntimeException- When an error occurred during the serialization
-
convertedObjectIDsAsync
public CompletableFuture<InsightsResult> convertedObjectIDsAsync(@Nonnull String eventName, @Nonnull String indexName, @Nonnull List<String> objectIDs)
- Parameters:
eventName- The Event NameindexName- The Index NameobjectIDs- List of objectId- Throws:
AlgoliaRetryException- When the retry has failed on all hostsAlgoliaApiException- When the API sends an http error codeAlgoliaRuntimeException- When an error occurred during the serialization
-
convertedObjectIDsAsync
public CompletableFuture<InsightsResult> convertedObjectIDsAsync(@Nonnull String eventName, @Nonnull String indexName, @Nonnull List<String> objectIDs, RequestOptions requestOptions)
- Parameters:
eventName- The Event NameindexName- The Index NameobjectIDs- List of objectIdrequestOptions- RequestOptions- Throws:
AlgoliaRetryException- When the retry has failed on all hostsAlgoliaApiException- When the API sends an http error codeAlgoliaRuntimeException- When an error occurred during the serialization
-
convertedObjectIDsAfterSearch
public InsightsResult convertedObjectIDsAfterSearch(@Nonnull String eventName, @Nonnull String indexName, @Nonnull List<String> objectIDs, @Nonnull String queryID)
- Parameters:
eventName- The Event NameindexName- The Index NameobjectIDs- List of objectIdqueryID- The query Id- Throws:
AlgoliaRetryException- When the retry has failed on all hostsAlgoliaApiException- When the API sends an http error codeAlgoliaRuntimeException- When an error occurred during the serialization
-
convertedObjectIDsAfterSearch
public InsightsResult convertedObjectIDsAfterSearch(@Nonnull String eventName, @Nonnull String indexName, @Nonnull List<String> objectIDs, @Nonnull String queryID, RequestOptions requestOptions)
- Parameters:
eventName- The Event NameindexName- The Index NameobjectIDs- List of objectIdqueryID- The query IdrequestOptions- RequestOptions- Throws:
AlgoliaRetryException- When the retry has failed on all hostsAlgoliaApiException- When the API sends an http error codeAlgoliaRuntimeException- When an error occurred during the serialization
-
convertedObjectIDsAfterSearchAsync
public CompletableFuture<InsightsResult> convertedObjectIDsAfterSearchAsync(@Nonnull String eventName, @Nonnull String indexName, @Nonnull List<String> objectIDs, @Nonnull String queryID)
- Parameters:
eventName- The Event NameindexName- The Index NameobjectIDs- List of objectIdqueryID- The query Id- Throws:
AlgoliaRetryException- When the retry has failed on all hostsAlgoliaApiException- When the API sends an http error codeAlgoliaRuntimeException- When an error occurred during the serialization
-
convertedObjectIDsAfterSearchAsync
public CompletableFuture<InsightsResult> convertedObjectIDsAfterSearchAsync(@Nonnull String eventName, @Nonnull String indexName, @Nonnull List<String> objectIDs, @Nonnull String queryID, RequestOptions requestOptions)
- Parameters:
eventName- The Event NameindexName- The Index NameobjectIDs- List of objectIdqueryID- The query IdrequestOptions- RequestOptions- Throws:
AlgoliaRetryException- When the retry has failed on all hostsAlgoliaApiException- When the API sends an http error codeAlgoliaRuntimeException- When an error occurred during the serialization
-
convertedFilters
public InsightsResult convertedFilters(@Nonnull String eventName, @Nonnull String indexName, @Nonnull List<String> filters)
- Parameters:
eventName- The Event NameindexName- The index namefilters- List of filters- Throws:
AlgoliaRetryException- When the retry has failed on all hostsAlgoliaApiException- When the API sends an http error codeAlgoliaRuntimeException- When an error occurred during the serialization
-
convertedFilters
public InsightsResult convertedFilters(@Nonnull String eventName, @Nonnull String indexName, @Nonnull List<String> filters, RequestOptions requestOptions)
- Parameters:
eventName- The Event NameindexName- The index namefilters- List of filtersrequestOptions- RequestOptions- Throws:
AlgoliaRetryException- When the retry has failed on all hostsAlgoliaApiException- When the API sends an http error codeAlgoliaRuntimeException- When an error occurred during the serialization
-
convertedFiltersAsync
public CompletableFuture<InsightsResult> convertedFiltersAsync(@Nonnull String eventName, @Nonnull String indexName, @Nonnull List<String> filters)
- Parameters:
eventName- The Event NameindexName- The index namefilters- List of filters- Throws:
AlgoliaRetryException- When the retry has failed on all hostsAlgoliaApiException- When the API sends an http error codeAlgoliaRuntimeException- When an error occurred during the serialization
-
convertedFiltersAsync
public CompletableFuture<InsightsResult> convertedFiltersAsync(@Nonnull String eventName, @Nonnull String indexName, @Nonnull List<String> filters, RequestOptions requestOptions)
- Parameters:
eventName- The Event NameindexName- The index namefilters- List of filtersrequestOptions- RequestOptions- Throws:
AlgoliaRetryException- When the retry has failed on all hostsAlgoliaApiException- When the API sends an http error codeAlgoliaRuntimeException- When an error occurred during the serialization
-
viewedFilters
public InsightsResult viewedFilters(@Nonnull String eventName, @Nonnull String indexName, @Nonnull List<String> filters)
- Parameters:
eventName- The Event NameindexName- The Index Namefilters- Filters parameters- Throws:
AlgoliaRetryException- When the retry has failed on all hostsAlgoliaApiException- When the API sends an http error codeAlgoliaRuntimeException- When an error occurred during the serialization
-
viewedFilters
public InsightsResult viewedFilters(@Nonnull String eventName, @Nonnull String indexName, @Nonnull List<String> filters, RequestOptions requestOptions)
- Parameters:
eventName- The Event NameindexName- The Index Namefilters- Filters parametersrequestOptions- RequestOptions- Throws:
AlgoliaRetryException- When the retry has failed on all hostsAlgoliaApiException- When the API sends an http error codeAlgoliaRuntimeException- When an error occurred during the serialization
-
viewedFiltersAsync
public CompletableFuture<InsightsResult> viewedFiltersAsync(@Nonnull String eventName, @Nonnull String indexName, @Nonnull List<String> filters)
- Parameters:
eventName- The Event NameindexName- The Index Namefilters- Filters parameters- Throws:
AlgoliaRetryException- When the retry has failed on all hostsAlgoliaApiException- When the API sends an http error codeAlgoliaRuntimeException- When an error occurred during the serialization
-
viewedFiltersAsync
public CompletableFuture<InsightsResult> viewedFiltersAsync(@Nonnull String eventName, @Nonnull String indexName, @Nonnull List<String> filters, RequestOptions requestOptions)
- Parameters:
eventName- The Event NameindexName- The Index Namefilters- Filters parametersrequestOptions- RequestOptions- Throws:
AlgoliaRetryException- When the retry has failed on all hostsAlgoliaApiException- When the API sends an http error codeAlgoliaRuntimeException- When an error occurred during the serialization
-
viewedObjectIDs
public InsightsResult viewedObjectIDs(@Nonnull String eventName, @Nonnull String indexName, @Nonnull List<String> objectIDs)
- Parameters:
eventName- The Event NameindexName- The Index NameobjectIDs- List of objectId- Throws:
AlgoliaRetryException- When the retry has failed on all hostsAlgoliaApiException- When the API sends an http error codeAlgoliaRuntimeException- When an error occurred during the serialization
-
viewedObjectIDs
public InsightsResult viewedObjectIDs(@Nonnull String eventName, @Nonnull String indexName, @Nonnull List<String> objectIDs, RequestOptions requestOptions)
- Parameters:
eventName- The Event NameindexName- The Index NameobjectIDs- List of objectIdrequestOptions- RequestOptions- Throws:
AlgoliaRetryException- When the retry has failed on all hostsAlgoliaApiException- When the API sends an http error codeAlgoliaRuntimeException- When an error occurred during the serialization
-
viewedObjectIDsAsync
public CompletableFuture<InsightsResult> viewedObjectIDsAsync(@Nonnull String eventName, @Nonnull String indexName, @Nonnull List<String> objectIDs)
- Parameters:
eventName- The Event NameindexName- The Index NameobjectIDs- List of objectId- Throws:
AlgoliaRetryException- When the retry has failed on all hostsAlgoliaApiException- When the API sends an http error codeAlgoliaRuntimeException- When an error occurred during the serialization
-
viewedObjectIDsAsync
public CompletableFuture<InsightsResult> viewedObjectIDsAsync(@Nonnull String eventName, @Nonnull String indexName, @Nonnull List<String> objectIDs, RequestOptions requestOptions)
- Parameters:
eventName- The Event NameindexName- The Index NameobjectIDs- List of objectIdrequestOptions- RequestOptions- Throws:
AlgoliaRetryException- When the retry has failed on all hostsAlgoliaApiException- When the API sends an http error codeAlgoliaRuntimeException- When an error occurred during the serialization
-
-