|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface ZSetOperations<K,V>
Redis ZSet/sorted set specific operations.
| Nested Class Summary | |
|---|---|
static interface |
ZSetOperations.TypedTuple<V>
Typed ZSet tuple. |
| Method Summary | |
|---|---|
Long |
add(K key,
Set<ZSetOperations.TypedTuple<V>> tuples)
|
Boolean |
add(K key,
V value,
double score)
|
Long |
count(K key,
double min,
double max)
|
RedisOperations<K,V> |
getOperations()
|
Double |
incrementScore(K key,
V value,
double delta)
|
Long |
intersectAndStore(K key,
Collection<K> otherKeys,
K destKey)
|
Long |
intersectAndStore(K key,
K otherKey,
K destKey)
|
Set<V> |
range(K key,
long start,
long end)
|
Set<V> |
rangeByScore(K key,
double min,
double max)
|
Set<V> |
rangeByScore(K key,
double min,
double max,
long offset,
long count)
|
Set<ZSetOperations.TypedTuple<V>> |
rangeByScoreWithScores(K key,
double min,
double max)
|
Set<ZSetOperations.TypedTuple<V>> |
rangeByScoreWithScores(K key,
double min,
double max,
long offset,
long count)
|
Set<ZSetOperations.TypedTuple<V>> |
rangeWithScores(K key,
long start,
long end)
|
Long |
rank(K key,
Object o)
|
Long |
remove(K key,
Object... values)
|
Long |
removeRange(K key,
long start,
long end)
|
Long |
removeRangeByScore(K key,
double min,
double max)
|
Set<V> |
reverseRange(K key,
long start,
long end)
|
Set<V> |
reverseRangeByScore(K key,
double min,
double max)
|
Set<V> |
reverseRangeByScore(K key,
double min,
double max,
long offset,
long count)
|
Set<ZSetOperations.TypedTuple<V>> |
reverseRangeByScoreWithScores(K key,
double min,
double max)
|
Set<ZSetOperations.TypedTuple<V>> |
reverseRangeByScoreWithScores(K key,
double min,
double max,
long offset,
long count)
|
Set<ZSetOperations.TypedTuple<V>> |
reverseRangeWithScores(K key,
long start,
long end)
|
Long |
reverseRank(K key,
Object o)
|
Double |
score(K key,
Object o)
|
Long |
size(K key)
Returns the number of elements of the sorted set stored with given key. |
Long |
unionAndStore(K key,
Collection<K> otherKeys,
K destKey)
|
Long |
unionAndStore(K key,
K otherKey,
K destKey)
|
Long |
zCard(K key)
Returns the number of elements of the sorted set stored with given key. |
| Method Detail |
|---|
Long intersectAndStore(K key,
K otherKey,
K destKey)
Long intersectAndStore(K key,
Collection<K> otherKeys,
K destKey)
Long unionAndStore(K key,
K otherKey,
K destKey)
Long unionAndStore(K key,
Collection<K> otherKeys,
K destKey)
Set<V> range(K key,
long start,
long end)
Set<V> reverseRange(K key,
long start,
long end)
Set<ZSetOperations.TypedTuple<V>> rangeWithScores(K key,
long start,
long end)
Set<ZSetOperations.TypedTuple<V>> reverseRangeWithScores(K key,
long start,
long end)
Set<V> rangeByScore(K key,
double min,
double max)
Set<V> rangeByScore(K key,
double min,
double max,
long offset,
long count)
Set<V> reverseRangeByScore(K key,
double min,
double max)
Set<V> reverseRangeByScore(K key,
double min,
double max,
long offset,
long count)
Set<ZSetOperations.TypedTuple<V>> rangeByScoreWithScores(K key,
double min,
double max)
Set<ZSetOperations.TypedTuple<V>> rangeByScoreWithScores(K key,
double min,
double max,
long offset,
long count)
Set<ZSetOperations.TypedTuple<V>> reverseRangeByScoreWithScores(K key,
double min,
double max)
Set<ZSetOperations.TypedTuple<V>> reverseRangeByScoreWithScores(K key,
double min,
double max,
long offset,
long count)
Boolean add(K key,
V value,
double score)
Long add(K key,
Set<ZSetOperations.TypedTuple<V>> tuples)
Double incrementScore(K key,
V value,
double delta)
Long rank(K key,
Object o)
Long reverseRank(K key,
Object o)
Double score(K key,
Object o)
Long remove(K key,
Object... values)
Long removeRange(K key,
long start,
long end)
Long removeRangeByScore(K key,
double min,
double max)
Long count(K key,
double min,
double max)
Long size(K key)
key.
key -
zCard(Object)Long zCard(K key)
key.
key -
RedisOperations<K,V> getOperations()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||