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.
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
Long add(V... values)
isMember
Boolean isMember(Object o)
members
Set<V> members()
move
Boolean move(K destKey,
V value)
randomMember
V randomMember()
distinctRandomMembers
Set<V> distinctRandomMembers(long count)
randomMembers
List<V> randomMembers(long count)
remove
Long remove(Object... values)
pop
V pop()
size
Long size()