RedisTemplate方法opsForHash()

文档地址 https://docs.spring.io/spring-data/redis/docs/current/api/org/springframework/data/redis/core/RedisTemplate.html#opsForHash()

opsForHash

public <HK,HV> HashOperations<K,HK,HV> opsForHash()

Description copied from interface: RedisOperations

返回对哈希值执行的操作。
Returns the operations performed on hash values.

Specified by:
opsForHash in interface RedisOperations<K,V>

Type Parameters:

  • HK - hash key (or field) type
  • HV - hash value type

Returns:
hash operations

posted @ 2025-04-12 14:09  kuki'  阅读(17)  评论(0)    收藏  举报