Can anyone suggest a Redis example (NoSQL DB) for type Collection? Usually we use the following (in Spring):
@Cacheable(value = "PRODUCT", key = "#productId" )
public Map<String,Object> findProduct(String productId, String productName)
{ return map; }
which stores the key and value as a String, but I need:
public Map<RestaurantId,Set<Order>>find(String RestaurantId, String productName){ return map; }
user3118961
source
share