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


public interface SetOperations<K,V>

Redis set specific operations.


Method Summary
 Boolean add(K key, V value)
           
 Set<V> difference(K key, Collection<K> otherKeys)
           
 Set<V> difference(K key, K otherKey)
           
 Long differenceAndStore(K key, Collection<K> otherKeys, K destKey)
           
 Long differenceAndStore(K key, K otherKey, K destKey)
           
 RedisOperations<K,V> getOperations()
           
 Set<V> intersect(K key, Collection<K> otherKeys)
           
 Set<V> intersect(K key, K otherKey)
           
 Long intersectAndStore(K key, Collection<K> otherKeys, K destKey)
           
 Long intersectAndStore(K key, K otherKey, K destKey)
           
 Boolean isMember(K key, Object o)
           
 Set<V> members(K key)
           
 Boolean move(K key, V value, K destKey)
           
 V pop(K key)
           
 V randomMember(K key)
           
 Boolean remove(K key, Object o)
           
 Long size(K key)
           
 Set<V> union(K key, Collection<K> otherKeys)
           
 Set<V> union(K key, K otherKey)
           
 Long unionAndStore(K key, Collection<K> otherKeys, K destKey)
           
 Long unionAndStore(K key, K otherKey, K destKey)
           
 

Method Detail

difference

Set<V> difference(K key,
                  K otherKey)

difference

Set<V> difference(K key,
                  Collection<K> otherKeys)

differenceAndStore

Long differenceAndStore(K key,
                        K otherKey,
                        K destKey)

differenceAndStore

Long differenceAndStore(K key,
                        Collection<K> otherKeys,
                        K destKey)

intersect

Set<V> intersect(K key,
                 K otherKey)

intersect

Set<V> intersect(K key,
                 Collection<K> otherKeys)

intersectAndStore

Long intersectAndStore(K key,
                       K otherKey,
                       K destKey)

intersectAndStore

Long intersectAndStore(K key,
                       Collection<K> otherKeys,
                       K destKey)

union

Set<V> union(K key,
             K otherKey)

union

Set<V> union(K key,
             Collection<K> otherKeys)

unionAndStore

Long unionAndStore(K key,
                   K otherKey,
                   K destKey)

unionAndStore

Long unionAndStore(K key,
                   Collection<K> otherKeys,
                   K destKey)

add

Boolean add(K key,
            V value)

isMember

Boolean isMember(K key,
                 Object o)

members

Set<V> members(K key)

move

Boolean move(K key,
             V value,
             K destKey)

randomMember

V randomMember(K key)

remove

Boolean remove(K key,
               Object o)

pop

V pop(K key)

size

Long size(K key)

getOperations

RedisOperations<K,V> getOperations()