org.springframework.data.redis.support.collections
Interface RedisSet<E>
- All Superinterfaces:
- BoundKeyOperations<String>, Collection<E>, Iterable<E>, RedisCollection<E>, RedisStore, Set<E>
- All Known Implementing Classes:
- DefaultRedisSet
public interface RedisSet<E>
- extends RedisCollection<E>, Set<E>
Redis extension for the Set
contract. Supports Set
specific operations backed by Redis operations.
Methods inherited from interface java.util.Set |
add, addAll, clear, contains, containsAll, equals, hashCode, isEmpty, iterator, remove, removeAll, retainAll, size, toArray, toArray |
intersect
Set<E> intersect(RedisSet<?> set)
intersect
Set<E> intersect(Collection<? extends RedisSet<?>> sets)
union
Set<E> union(RedisSet<?> set)
union
Set<E> union(Collection<? extends RedisSet<?>> sets)
diff
Set<E> diff(RedisSet<?> set)
diff
Set<E> diff(Collection<? extends RedisSet<?>> sets)
intersectAndStore
RedisSet<E> intersectAndStore(RedisSet<?> set,
String destKey)
intersectAndStore
RedisSet<E> intersectAndStore(Collection<? extends RedisSet<?>> sets,
String destKey)
unionAndStore
RedisSet<E> unionAndStore(RedisSet<?> set,
String destKey)
unionAndStore
RedisSet<E> unionAndStore(Collection<? extends RedisSet<?>> sets,
String destKey)
diffAndStore
RedisSet<E> diffAndStore(RedisSet<?> set,
String destKey)
diffAndStore
RedisSet<E> diffAndStore(Collection<? extends RedisSet<?>> sets,
String destKey)