map hash实现
list 使用双向链表实现
set 使用 value为null的 hash实现
sort set使用 hash实现 类似 map 因为 每个 key 有一个浮点数权重 (内部是通过一个跳跃表 和 一个 hash表实现的)
位图 一个 key 是32 位 512MB 可以表示 40亿个 bit位信息 (不是一种新数据结构)
r: EXISTS key
r: TYPE key
w: DEL key
w: EXPIRE key seconds
w: EXPIREAT key timestamp
r: TTL key
w: PEXPIRE key milliseconds
w: PEXPIREAT key milli_timestamp
r: PTTL key
w: PERSIST key
r: GET key
w: SET key value
w: SETEX key seconds value
w: SETNX key value
w: APPEND key value
r: GETRANGE key start end
w: SETRANGE key start value
r: STRLEN key
w: GETSET key value
r: GETBIT key offset
w: SETBIT key offset value
w: INCR key
w: INCRBY key step
w: DECR key
w: DECRBY key step
r: HGET key field
w: HSET key field value
r: HMGET key +field
w: HMSET key +[ field value ](fields)
w: HSETNX key field value
w: HDEL key +field
r: HGETALL key : field value
r: HKEYS key
r: HVALS key
r: HLEN key
r: HEXISTS key field
w: HINCRBY key field step
w: LPUSH key +value
w: LPOP key
w: LPUSHX key value
w: RPUSH key +value
w: RPOP key
w: RPUSHX key value
r: LLEN key
r: LINDEX key index
r: LRANGE key start stop
w: LSET key index value
w: LREM key count value
w: LTRIM key start stop
w: LINSERTAFTER(LINSERT) key AFTER pivot value
w: LINSERTBEFORE(LINSERT) key BEFORE pivot value
w: SADD key +member
w: SREM key +member
r: SCARD key
r: SISMEMBER key member
r: SMEMBERS key
w: SPOP key
w: ZADD key +[ score member ](members)
w: ZREM key +member
r: ZCARD key
r: ZCOUNT key min max
w: ZINCRBY key step member
r: ZRANGE key start stop
r: ZRANGEWITHSCORES(ZRANGE) key start stop WITHSCORES : member score
r: ZREVRANGE key start stop
r: ZREVRANGEWITHSCORES(ZREVRANGE) key start stop WITHSCORES : member score
r: ZRANGEBYSCORE key min max [ LIMIT offset count ]
r: ZRANGEBYSCOREWITHSCORES(ZRANGEBYSCORE) key min max WITHSCORES [ LIMIT offset count ] : member score
r: ZREVRANGEBYSCORE key min max [ LIMIT offset count ]
r: ZREVRANGEBYSCOREWITHSCORES(ZREVRANGEBYSCORE) key min max WITHSCORES [ LIMIT offset count ] : member score
r: ZRANK key member
r: ZREVRANK key member
r: ZSCORE key member
w: ZREMRANGEBYRANK key start stop
w: ZREMRANGEBYSCORE key min max