java如何在Redis中存储嵌套的Hashmap?
我想将netsted HashMap
存储在Redis
中,并使用单个键
例如:
HashMap<String, HashMap<String,String>> map = new HashMap<>();
请建议:
- 有没有办法存储上述数据结构李>
- 我们如何才能做到这一点李>
你可以在下面搜索框中键入要查询的问题!
我想将netsted HashMap
存储在Redis
中,并使用单个键
例如:
HashMap<String, HashMap<String,String>> map = new HashMap<>();
请建议:
# 1 楼答案
REDIS现在允许嵌套HashMap https://redis.io/topics/data-types