public class DefaultBoundZSetOperationsX<V> extends Object implements IBoundOperationsX, IKeyNamingPolicy
| Constructor and Description |
|---|
DefaultBoundZSetOperationsX(String key,
org.springframework.data.redis.core.RedisOperations<String,V> operations,
IKeyNamingPolicy keyNamingPolicy)
Constructs a new
DefaultBoundZSetOperations instance. |
| Modifier and Type | Method and Description |
|---|---|
Long |
add(Set<org.springframework.data.redis.core.ZSetOperations.TypedTuple<V>> arg0) |
Boolean |
add(V arg0,
double arg1) |
Long |
count(double arg0,
double arg1) |
Boolean |
expire(long arg0,
TimeUnit arg1) |
Boolean |
expireAt(Date arg0) |
Long |
getExpire() |
K |
getKey() |
String |
getKeyName(String key)
Get naming key
|
org.springframework.data.redis.core.RedisOperations<K,V> |
getOperations() |
String |
getOriginKey()
Get origin Key
|
org.springframework.data.redis.connection.DataType |
getType() |
Double |
incrementScore(V arg0,
double arg1) |
Long |
intersectAndStore(Collection<K> arg0,
K arg1) |
Long |
intersectAndStore(Collection<K> arg0,
K arg1,
org.springframework.data.redis.connection.RedisZSetCommands.Aggregate arg2) |
Long |
intersectAndStore(Collection<K> arg0,
K arg1,
org.springframework.data.redis.connection.RedisZSetCommands.Aggregate arg2,
org.springframework.data.redis.connection.RedisZSetCommands.Weights arg3) |
Long |
intersectAndStore(K arg0,
K arg1) |
Boolean |
persist() |
Set<V> |
range(long arg0,
long arg1) |
Set<V> |
rangeByLex(org.springframework.data.redis.connection.RedisZSetCommands.Range arg0) |
Set<V> |
rangeByLex(org.springframework.data.redis.connection.RedisZSetCommands.Range arg0,
org.springframework.data.redis.connection.RedisZSetCommands.Limit arg1) |
Set<V> |
rangeByScore(double arg0,
double arg1) |
Set<org.springframework.data.redis.core.ZSetOperations.TypedTuple<V>> |
rangeByScoreWithScores(double arg0,
double arg1) |
Set<org.springframework.data.redis.core.ZSetOperations.TypedTuple<V>> |
rangeWithScores(long arg0,
long arg1) |
Long |
rank(Object arg0) |
Long |
remove(Object... arg0) |
Long |
removeRange(long arg0,
long arg1) |
Long |
removeRangeByScore(double arg0,
double arg1) |
void |
rename(String newKey) |
Set<V> |
reverseRange(long arg0,
long arg1) |
Set<V> |
reverseRangeByScore(double arg0,
double arg1) |
Set<org.springframework.data.redis.core.ZSetOperations.TypedTuple<V>> |
reverseRangeByScoreWithScores(double arg0,
double arg1) |
Set<org.springframework.data.redis.core.ZSetOperations.TypedTuple<V>> |
reverseRangeWithScores(long arg0,
long arg1) |
Long |
reverseRank(Object arg0) |
org.springframework.data.redis.core.Cursor<org.springframework.data.redis.core.ZSetOperations.TypedTuple<V>> |
scan(org.springframework.data.redis.core.ScanOptions arg0) |
Double |
score(Object arg0) |
Long |
size() |
Long |
unionAndStore(Collection<K> arg0,
K arg1) |
Long |
unionAndStore(Collection<K> arg0,
K arg1,
org.springframework.data.redis.connection.RedisZSetCommands.Aggregate arg2) |
Long |
unionAndStore(Collection<K> arg0,
K arg1,
org.springframework.data.redis.connection.RedisZSetCommands.Aggregate arg2,
org.springframework.data.redis.connection.RedisZSetCommands.Weights arg3) |
Long |
unionAndStore(K arg0,
K arg1) |
Long |
zCard() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetKeyNames, getKeyNames, mapKeyNamingpublic DefaultBoundZSetOperationsX(String key, org.springframework.data.redis.core.RedisOperations<String,V> operations, IKeyNamingPolicy keyNamingPolicy)
DefaultBoundZSetOperations instance.key - operations - keyNamingPolicy - key naming policypublic String getOriginKey()
getOriginKey in interface IBoundOperationsXpublic void rename(String newKey)
rename in interface org.springframework.data.redis.core.BoundKeyOperations<String>public String getKeyName(String key)
IKeyNamingPolicygetKeyName in interface IKeyNamingPolicypublic Boolean add(V arg0, double arg1)
add in interface org.springframework.data.redis.core.BoundZSetOperations<K,V>public Long add(Set<org.springframework.data.redis.core.ZSetOperations.TypedTuple<V>> arg0)
add in interface org.springframework.data.redis.core.BoundZSetOperations<K,V>public Double incrementScore(V arg0, double arg1)
incrementScore in interface org.springframework.data.redis.core.BoundZSetOperations<K,V>public org.springframework.data.redis.core.RedisOperations<K,V> getOperations()
getOperations in interface org.springframework.data.redis.core.BoundZSetOperations<K,V>public Long intersectAndStore(K arg0, K arg1)
intersectAndStore in interface org.springframework.data.redis.core.BoundZSetOperations<K,V>public Long intersectAndStore(Collection<K> arg0, K arg1)
intersectAndStore in interface org.springframework.data.redis.core.BoundZSetOperations<K,V>public Long intersectAndStore(Collection<K> arg0, K arg1, org.springframework.data.redis.connection.RedisZSetCommands.Aggregate arg2)
intersectAndStore in interface org.springframework.data.redis.core.BoundZSetOperations<K,V>public Long intersectAndStore(Collection<K> arg0, K arg1, org.springframework.data.redis.connection.RedisZSetCommands.Aggregate arg2, org.springframework.data.redis.connection.RedisZSetCommands.Weights arg3)
intersectAndStore in interface org.springframework.data.redis.core.BoundZSetOperations<K,V>public Set<V> range(long arg0, long arg1)
range in interface org.springframework.data.redis.core.BoundZSetOperations<K,V>public Set<V> rangeByScore(double arg0, double arg1)
rangeByScore in interface org.springframework.data.redis.core.BoundZSetOperations<K,V>public Set<org.springframework.data.redis.core.ZSetOperations.TypedTuple<V>> rangeByScoreWithScores(double arg0, double arg1)
rangeByScoreWithScores in interface org.springframework.data.redis.core.BoundZSetOperations<K,V>public Set<org.springframework.data.redis.core.ZSetOperations.TypedTuple<V>> rangeWithScores(long arg0, long arg1)
rangeWithScores in interface org.springframework.data.redis.core.BoundZSetOperations<K,V>public Set<V> reverseRangeByScore(double arg0, double arg1)
reverseRangeByScore in interface org.springframework.data.redis.core.BoundZSetOperations<K,V>public Set<org.springframework.data.redis.core.ZSetOperations.TypedTuple<V>> reverseRangeByScoreWithScores(double arg0, double arg1)
reverseRangeByScoreWithScores in interface org.springframework.data.redis.core.BoundZSetOperations<K,V>public Set<org.springframework.data.redis.core.ZSetOperations.TypedTuple<V>> reverseRangeWithScores(long arg0, long arg1)
reverseRangeWithScores in interface org.springframework.data.redis.core.BoundZSetOperations<K,V>public Set<V> rangeByLex(org.springframework.data.redis.connection.RedisZSetCommands.Range arg0)
rangeByLex in interface org.springframework.data.redis.core.BoundZSetOperations<K,V>public Set<V> rangeByLex(org.springframework.data.redis.connection.RedisZSetCommands.Range arg0, org.springframework.data.redis.connection.RedisZSetCommands.Limit arg1)
rangeByLex in interface org.springframework.data.redis.core.BoundZSetOperations<K,V>public Long rank(Object arg0)
rank in interface org.springframework.data.redis.core.BoundZSetOperations<K,V>public Long reverseRank(Object arg0)
reverseRank in interface org.springframework.data.redis.core.BoundZSetOperations<K,V>public Double score(Object arg0)
score in interface org.springframework.data.redis.core.BoundZSetOperations<K,V>public Long remove(Object... arg0)
remove in interface org.springframework.data.redis.core.BoundZSetOperations<K,V>public Long removeRange(long arg0, long arg1)
removeRange in interface org.springframework.data.redis.core.BoundZSetOperations<K,V>public Long removeRangeByScore(double arg0, double arg1)
removeRangeByScore in interface org.springframework.data.redis.core.BoundZSetOperations<K,V>public Set<V> reverseRange(long arg0, long arg1)
reverseRange in interface org.springframework.data.redis.core.BoundZSetOperations<K,V>public Long count(double arg0, double arg1)
count in interface org.springframework.data.redis.core.BoundZSetOperations<K,V>public Long size()
size in interface org.springframework.data.redis.core.BoundZSetOperations<K,V>public Long zCard()
zCard in interface org.springframework.data.redis.core.BoundZSetOperations<K,V>public Long unionAndStore(K arg0, K arg1)
unionAndStore in interface org.springframework.data.redis.core.BoundZSetOperations<K,V>public Long unionAndStore(Collection<K> arg0, K arg1)
unionAndStore in interface org.springframework.data.redis.core.BoundZSetOperations<K,V>public Long unionAndStore(Collection<K> arg0, K arg1, org.springframework.data.redis.connection.RedisZSetCommands.Aggregate arg2)
unionAndStore in interface org.springframework.data.redis.core.BoundZSetOperations<K,V>public Long unionAndStore(Collection<K> arg0, K arg1, org.springframework.data.redis.connection.RedisZSetCommands.Aggregate arg2, org.springframework.data.redis.connection.RedisZSetCommands.Weights arg3)
unionAndStore in interface org.springframework.data.redis.core.BoundZSetOperations<K,V>public org.springframework.data.redis.connection.DataType getType()
getType in interface org.springframework.data.redis.core.BoundKeyOperations<K>public org.springframework.data.redis.core.Cursor<org.springframework.data.redis.core.ZSetOperations.TypedTuple<V>> scan(org.springframework.data.redis.core.ScanOptions arg0)
scan in interface org.springframework.data.redis.core.BoundZSetOperations<K,V>public K getKey()
getKey in interface org.springframework.data.redis.core.BoundKeyOperations<K>public Boolean expire(long arg0, TimeUnit arg1)
expire in interface org.springframework.data.redis.core.BoundKeyOperations<K>public Boolean expireAt(Date arg0)
expireAt in interface org.springframework.data.redis.core.BoundKeyOperations<K>public Long getExpire()
getExpire in interface org.springframework.data.redis.core.BoundKeyOperations<K>public Boolean persist()
persist in interface org.springframework.data.redis.core.BoundKeyOperations<K>Copyright © 2020. All rights reserved.