org.springframework.data.keyvalue.redis.core
Interface ZSetOperations<K,V>
public interface ZSetOperations<K,V>
Redis ZSet/sorted set specific operations.
- Author:
- Costin Leau
Method Summary |
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)
|
void |
intersectAndStore(K key,
K destKey,
Collection<K> keys)
|
Set<V> |
range(K key,
long start,
long end)
|
Set<V> |
rangeByScore(K key,
double min,
double max)
|
Long |
rank(K key,
Object o)
|
Boolean |
remove(K key,
Object o)
|
void |
removeRange(K key,
long start,
long end)
|
void |
removeRangeByScore(K key,
double min,
double max)
|
Set<V> |
reverseRange(K key,
long start,
long end)
|
Long |
reverseRank(K key,
Object o)
|
Double |
score(K key,
Object o)
|
Long |
size(K key)
|
void |
unionAndStore(K key,
K destKey,
Collection<K> keys)
|
intersectAndStore
void intersectAndStore(K key,
K destKey,
Collection<K> keys)
unionAndStore
void unionAndStore(K key,
K destKey,
Collection<K> keys)
range
Set<V> range(K key,
long start,
long end)
rangeByScore
Set<V> rangeByScore(K key,
double min,
double max)
reverseRange
Set<V> reverseRange(K key,
long start,
long end)
add
Boolean add(K key,
V value,
double score)
incrementScore
Double incrementScore(K key,
V value,
double delta)
rank
Long rank(K key,
Object o)
reverseRank
Long reverseRank(K key,
Object o)
score
Double score(K key,
Object o)
remove
Boolean remove(K key,
Object o)
removeRange
void removeRange(K key,
long start,
long end)
removeRangeByScore
void removeRangeByScore(K key,
double min,
double max)
count
Long count(K key,
double min,
double max)
size
Long size(K key)
getOperations
RedisOperations<K,V> getOperations()
Copyright © 2010-2011 SpringSource. All Rights Reserved.