public interface BoundZSetOperations<K,V> extends BoundKeyOperations<K>
Modifier and Type | Method and Description |
---|---|
Long |
add(Set<ZSetOperations.TypedTuple<V>> tuples) |
Boolean |
add(V value,
double score) |
Long |
count(double min,
double max) |
RedisOperations<K,V> |
getOperations() |
Double |
incrementScore(V value,
double delta) |
void |
intersectAndStore(Collection<K> otherKeys,
K destKey) |
void |
intersectAndStore(K otherKey,
K destKey) |
Set<V> |
range(long start,
long end) |
Set<V> |
rangeByScore(double min,
double max) |
Set<ZSetOperations.TypedTuple<V>> |
rangeByScoreWithScores(double min,
double max) |
Set<ZSetOperations.TypedTuple<V>> |
rangeWithScores(long start,
long end) |
Long |
rank(Object o) |
Long |
remove(Object... values) |
void |
removeRange(long start,
long end) |
void |
removeRangeByScore(double min,
double max) |
Set<V> |
reverseRange(long start,
long end) |
Set<V> |
reverseRangeByScore(double min,
double max) |
Set<ZSetOperations.TypedTuple<V>> |
reverseRangeByScoreWithScores(double min,
double max) |
Set<ZSetOperations.TypedTuple<V>> |
reverseRangeWithScores(long start,
long end) |
Long |
reverseRank(Object o) |
Cursor<ZSetOperations.TypedTuple<V>> |
scan(ScanOptions options) |
Double |
score(Object o) |
Long |
size()
Returns the number of elements of the sorted set.
|
void |
unionAndStore(Collection<K> otherKeys,
K destKey) |
void |
unionAndStore(K otherKey,
K destKey) |
Long |
zCard()
Returns the number of elements of the sorted set.
|
RedisOperations<K,V> getOperations()
void intersectAndStore(Collection<K> otherKeys, K destKey)
Set<ZSetOperations.TypedTuple<V>> rangeWithScores(long start, long end)
Set<ZSetOperations.TypedTuple<V>> rangeByScoreWithScores(double min, double max)
Set<ZSetOperations.TypedTuple<V>> reverseRangeWithScores(long start, long end)
Set<ZSetOperations.TypedTuple<V>> reverseRangeByScoreWithScores(double min, double max)
void removeRange(long start, long end)
void removeRangeByScore(double min, double max)
void unionAndStore(Collection<K> otherKeys, K destKey)
Long add(Set<ZSetOperations.TypedTuple<V>> tuples)
Long count(double min, double max)
Long zCard()
Cursor<ZSetOperations.TypedTuple<V>> scan(ScanOptions options)
options
-