回答編集履歴

1

リンク追加

2022/10/09 04:56

投稿

jimbe
jimbe

スコア12632

test CHANGED
@@ -8,4 +8,4 @@
8
8
  ```redisTemplate.opsForList().range("redis-tutorial:list", 0, -1)```
9
9
  ```redisTemplate.<String, String>opsForHash().entries("redis-tutorial:map")```
10
10
 
11
- get() は opsForValue() が返すオブジェクトのメソッドですが、 range() は opsForList() 、entries() は opsForHash() が返すオブジェクトのメソッドです。
11
+ get() は opsForValue() が返すオブジェクトのメソッドですが、 range() は [opsForList()](https://spring.pleiades.io/spring-data/redis/docs/current/api/org/springframework/data/redis/core/RedisTemplate.html#opsForList--) 、entries() は [opsForHash()](https://spring.pleiades.io/spring-data/redis/docs/current/api/org/springframework/data/redis/core/RedisTemplate.html#opsForHash--) が返すオブジェクトのメソッドです。