While working with Redis using Spring Data Redis, I tried to scan hash data in my server (similar to HSCAN in CLI) -
Cursor<Entry<Object,Object>> scan = redisTemplate.opsForHash().scan("student", new ScanOptionsBuilder().count(0).match("*").build());
While running this I get the below error -
redis.clients.jedis.exceptions.JedisDataException: ERR syntax error
Can anyone help me how to solvw this.
There are many related discussions but none of them provide clear answer.