I use Redis as the data store for my spring web application and using Spring Data-Redis as my client to interact with Redis .
I use HashMap to store my objects having multiple fields. I can put all the fields in Redis once using the DefaultRedisMap.putAll() method, but I cannot immediately get the whole object using BoundHashOperations to get each field using the get() method.
I am wondering if there is a way that I can do the same as the HGETALL operation supported in Redis ?
source share