https://redis.io/commands
https://www.runoob.com/redis/redis-commands.html
https://blog.csdn.net/adsadadaddadasda/article/details/78829337
在使用Spring Data Redis发现其使用困难, 其学习成本较多, 既要学习Redis命令又要学习Spring Data Redis的API极其厌烦.
在其工作之中及其厌烦使用,在这种情况下逐渐的失去对学习的态度和心情, 经过不断的学习发现其所使用Spring Data Redis其可以使用 Java Collection接口实现其大部分Spring Data Redis的API, 经过一段时间的思索, 决定在最近的开发一款属于自己的Redis Collection框架.
基础操作
教程 | sptring boot | Redis Collection |
---|---|---|
Redis 键(key) | BoundKeyOperations |
|
Redis 字符串(String) | ValueOperations BoundValueOperations ReactiveValueOperations |
|
Redis 哈希(Hash) | HashOperations BoundHashOperations ReactiveHashOperations |
|
Redis 列表(List) | ListOperations BoundListOperations ReactiveListOperations |
|
Redis 集合(Set) | SetOperations BoundSetOperations ReactiveSetOperations |
|
Redis 有序集合(sorted set) | ZSetOperations BoundZSetOperations ReactiveZSetOperations |
|
Geo | GeoOperations BoundGeoOperations ReactiveGeoOperations |
|
Redis HyperLogLog | HyperLogLogOperations ReactiveHyperLogLogOperations |
|
Callback | RedisCallback ReactiveRedisCallback SessionCallback RedisClusterCallback |
|
Redis | RedisOperations ReactiveRedisOperations |
|
Cluster | ClusterOperations RedisClusterCallback |
|
Cursor BulkMapper TimeToLiveAccessor |
注解 |
---|
RedisHash |
TimeToLive |