I have been stuck with this problem with quite some time.I want to get keys from redis using redis template. I tried this.redistemplate.keys(\"*\"); but this doesn\'t fetch
Solution can be like this
String pattern = "abc"+"*"; Set keys = jedis.keys(pattern); for (String key : keys) { jedis.keys(key); }
Or you can use jedis.hscan() and ScanParams instead.
jedis.hscan()
ScanParams