Spring Data Key-Value

org.springframework.data.keyvalue.redis.core
Interface BoundZSetOperations<K,V>

All Superinterfaces:
KeyBound<K>

public interface BoundZSetOperations<K,V>
extends KeyBound<K>

ZSet (or SortedSet) operations bound to a certain key.

Author:
Costin Leau

Method Summary
 Boolean add(V value, double score)
           
 Long count(double min, double max)
           
 RedisOperations<K,V> getOperations()
           
 Double incrementScore(V value, double delta)
           
 void intersectAndStore(K destKey, Collection<K> keys)
           
 Set<V> range(long start, long end)
           
 Set<V> rangeByScore(double min, double max)
           
 Long rank(Object o)
           
 Boolean remove(Object o)
           
 void removeRange(long start, long end)
           
 void removeRangeByScore(double min, double max)
           
 Set<V> reverseRange(long start, long end)
           
 Long reverseRank(Object o)
           
 Double score(Object o)
           
 Long size()
           
 void unionAndStore(K destKey, Collection<K> keys)
           
 
Methods inherited from interface org.springframework.data.keyvalue.redis.core.KeyBound
getKey
 

Method Detail

getOperations

RedisOperations<K,V> getOperations()

intersectAndStore

void intersectAndStore(K destKey,
                       Collection<K> keys)

range

Set<V> range(long start,
             long end)

rangeByScore

Set<V> rangeByScore(double min,
                    double max)

reverseRange

Set<V> reverseRange(long start,
                    long end)

removeRange

void removeRange(long start,
                 long end)

removeRangeByScore

void removeRangeByScore(double min,
                        double max)

unionAndStore

void unionAndStore(K destKey,
                   Collection<K> keys)

add

Boolean add(V value,
            double score)

incrementScore

Double incrementScore(V value,
                      double delta)

rank

Long rank(Object o)

reverseRank

Long reverseRank(Object o)

remove

Boolean remove(Object o)

count

Long count(double min,
           double max)

size

Long size()

score

Double score(Object o)

Spring Data Key-Value

Copyright © 2010-2011 SpringSource. All Rights Reserved.