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

All Superinterfaces:
BoundKeyOperations<K>

public interface BoundSetOperations<K,V>
extends BoundKeyOperations<K>

Set operations bound to a certain key.


Method Summary
 Boolean add(V value)
           
 Set<V> diff(Collection<K> keys)
           
 Set<V> diff(K key)
           
 void diffAndStore(Collection<K> keys, K destKey)
           
 void diffAndStore(K key, K destKey)
           
 RedisOperations<K,V> getOperations()
           
 Set<V> intersect(Collection<K> keys)
           
 Set<V> intersect(K key)
           
 void intersectAndStore(Collection<K> keys, K destKey)
           
 void intersectAndStore(K key, K destKey)
           
 Boolean isMember(Object o)
           
 Set<V> members()
           
 Boolean move(K destKey, V value)
           
 V pop()
           
 V randomMember()
           
 Boolean remove(Object o)
           
 Long size()
           
 Set<V> union(Collection<K> keys)
           
 Set<V> union(K key)
           
 void unionAndStore(Collection<K> keys, K destKey)
           
 void unionAndStore(K key, K destKey)
           
 
Methods inherited from interface org.springframework.data.redis.core.BoundKeyOperations
expire, expireAt, getExpire, getKey, getType, persist, rename
 

Method Detail

getOperations

RedisOperations<K,V> getOperations()

diff

Set<V> diff(K key)

diff

Set<V> diff(Collection<K> keys)

diffAndStore

void diffAndStore(K key,
                  K destKey)

diffAndStore

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

intersect

Set<V> intersect(K key)

intersect

Set<V> intersect(Collection<K> keys)

intersectAndStore

void intersectAndStore(K key,
                       K destKey)

intersectAndStore

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

union

Set<V> union(K key)

union

Set<V> union(Collection<K> keys)

unionAndStore

void unionAndStore(K key,
                   K destKey)

unionAndStore

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

add

Boolean add(V value)

isMember

Boolean isMember(Object o)

members

Set<V> members()

move

Boolean move(K destKey,
             V value)

randomMember

V randomMember()

remove

Boolean remove(Object o)

pop

V pop()

size

Long size()