public interface BoundSetOperations<K,V> extends BoundKeyOperations<K>
Modifier and Type | Method and Description |
---|---|
Long |
add(V... values) |
Set<V> |
diff(Collection<K> keys) |
Set<V> |
diff(K key) |
void |
diffAndStore(Collection<K> keys,
K destKey) |
void |
diffAndStore(K key,
K destKey) |
Set<V> |
distinctRandomMembers(long count) |
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() |
List<V> |
randomMembers(long count) |
Long |
remove(Object... values) |
Cursor<V> |
scan(ScanOptions options) |
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) |
RedisOperations<K,V> getOperations()
Set<V> diff(Collection<K> keys)
void diffAndStore(Collection<K> keys, K destKey)
Set<V> intersect(Collection<K> keys)
void intersectAndStore(Collection<K> keys, K destKey)
Set<V> union(Collection<K> keys)
void unionAndStore(Collection<K> keys, K destKey)
V randomMember()
V pop()
Long size()
Cursor<V> scan(ScanOptions options)
options
-