Package | Description |
---|---|
com.sugestio.client | |
com.sugestio.client.call |
Modifier and Type | Method and Description |
---|---|
static SugestioClient.PartitionType |
SugestioClient.PartitionType.valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static SugestioClient.PartitionType[] |
SugestioClient.PartitionType.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Method and Description |
---|---|
java.util.Map<java.lang.String,SugestioResult<java.util.List<Recommendation>>> |
SugestioClient.getRecommendations(java.util.List<java.lang.String> userIds,
SugestioClient.PartitionType partitionType,
java.lang.String partitionId)
Gets recommendations for the given userIds, limited to the given partition
|
java.util.List<Recommendation> |
SugestioClient.getRecommendations(java.lang.String userId,
SugestioClient.PartitionType partitionType,
java.lang.String partitionId)
Gets recommendations for the given userId, limited to the given partition
|
java.util.Map<java.lang.String,SugestioResult<java.util.List<Recommendation>>> |
SugestioClient.getSimilar(java.util.List<java.lang.String> itemIds,
SugestioClient.PartitionType partitionType,
java.lang.String partitionId)
Gets similar items for the given itemIds, limited to the given partition
|
java.util.List<Recommendation> |
SugestioClient.getSimilar(java.lang.String itemId,
SugestioClient.PartitionType partitionType,
java.lang.String partitionId)
Gets items that are similar to the given item, limited to the given partition
|
Constructor and Description |
---|
GetRecommendationsCall(Client jClient,
SugestioConfig config,
SugestioClient.ResourceType resourceType,
java.lang.String userId,
java.lang.String itemId,
SugestioClient.PartitionType partitionType,
java.lang.String partitionId) |