前言
之前在学Redis的时候直接就是用java就连接使用了,存进去的还都是字符串类型的。根本就没总结过这个数据类型,现在终于有时间了,所以总结一下。
开搞
1.string数据类型
string
string
2.list数据类型
list
list
3.set数据类型
set
set
4.hash数据类型
hash
hash
5.zset数据类型
zset
zset
6.bitmap数据类型
bitmap
bitmap
7.hyperloglog数据类型
hyperloglog
hyperloglog
8.geospatial数据类型
geospatial
geospatial