public class DefaultHashOperationsX<HK,HV> extends Object implements IKeyNamingPolicy
| Constructor and Description |
|---|
DefaultHashOperationsX(org.springframework.data.redis.core.RedisTemplate<String,?> template,
IKeyNamingPolicy keyNamingPolicy) |
| Modifier and Type | Method and Description |
|---|---|
Long |
delete(String key,
Object... hashKeys) |
Map<HK,HV> |
entries(String key) |
HV |
get(String key,
Object hashKey) |
String |
getKeyName(String key)
Get naming key
|
org.springframework.data.redis.core.RedisOperations<K,V> |
getOperations() |
Boolean |
hasKey(String key,
Object hashKey) |
Double |
increment(String key,
HK hashKey,
double delta) |
Long |
increment(String key,
HK hashKey,
long delta) |
Set<HK> |
keys(String key) |
Long |
lengthOfValue(String key,
HK hashKey) |
List<HV> |
multiGet(String key,
Collection<HK> fields) |
void |
put(String key,
HK hashKey,
HV value) |
void |
putAll(String key,
Map<? extends HK,? extends HV> m) |
Boolean |
putIfAbsent(String key,
HK hashKey,
HV value) |
org.springframework.data.redis.core.Cursor<Map.Entry<HK,HV>> |
scan(String key,
org.springframework.data.redis.core.ScanOptions options) |
Long |
size(String key) |
List<HV> |
values(String key) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetKeyNames, getKeyNames, mapKeyNamingpublic DefaultHashOperationsX(org.springframework.data.redis.core.RedisTemplate<String,?> template, IKeyNamingPolicy keyNamingPolicy)
public List<HV> multiGet(String key, Collection<HK> fields)
public org.springframework.data.redis.core.Cursor<Map.Entry<HK,HV>> scan(String key, org.springframework.data.redis.core.ScanOptions options)
public String getKeyName(String key)
IKeyNamingPolicygetKeyName in interface IKeyNamingPolicypublic org.springframework.data.redis.core.RedisOperations<K,V> getOperations()
Copyright © 2020. All rights reserved.