@DefaultImplementation(value=StandardRatingVectorPDAO.class) public interface RatingVectorPDAO
Proxy DAO for user ‘rating vectors’, which are mappings of items to user preference. This is used to access use ratings, or to transform other types of data into something that looks like a rating vector.
This DAO interface is generally proxy DAO: that is, it provides a different view of data typically implemented on top of the base
DataAccessObject interface. However, an application can specialize it with some other kind of optimized implementation if desired; for example, if user rating vectors are stored in a Redis cache.
@Nonnull Long2DoubleMap userRatingVector(long user)
Get a user’s rating vector.
user - The rating vector summarizing a user’s historical preferences.