Spring Data Key-Value

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

All Superinterfaces:
KeyBound<K>

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

Set operations bound to a certain key.

Author:
Costin Leau

Method Summary
 Boolean add(V value)
           
 Set<V> diff(Collection<K> keys)
           
 void diffAndStore(K destKey, Collection<K> keys)
           
 RedisOperations<K,V> getOperations()
           
 Set<V> intersect(Collection<K> keys)
           
 void intersectAndStore(K destKey, Collection<K> keys)
           
 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)
           
 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()

diff

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

diffAndStore

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

intersect

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

intersectAndStore

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

union

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

unionAndStore

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

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()

Spring Data Key-Value

Copyright © 2010-2011 SpringSource. All Rights Reserved.