org.springframework.data.keyvalue.redis.support.collections
Interface RedisSet<E>
- All Superinterfaces:
- Collection<E>, Iterable<E>, KeyBound<String>, 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.
- Author:
- Costin Leau
Methods inherited from interface org.springframework.data.keyvalue.redis.support.collections.RedisStore |
getOperations |
Methods inherited from interface org.springframework.data.keyvalue.redis.core.KeyBound |
getKey |
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(Collection<? extends RedisSet<?>> sets)
union
Set<E> union(Collection<? extends RedisSet<?>> sets)
diff
Set<E> diff(Collection<? extends RedisSet<?>> sets)
intersectAndStore
RedisSet<E> intersectAndStore(String destKey,
Collection<? extends RedisSet<?>> sets)
unionAndStore
RedisSet<E> unionAndStore(String destKey,
Collection<? extends RedisSet<?>> sets)
diffAndStore
RedisSet<E> diffAndStore(String destKey,
Collection<? extends RedisSet<?>> sets)
Copyright © 2010-2011 SpringSource. All Rights Reserved.