-
Method Summary
Create a new
RedisSet
by diffing this sorted set and the collection
RedisSet
and store result in
destination
destKey
.
Create a new
RedisSet
by diffing this sorted set and
RedisSet
and store result in destination
destKey
.
Intersect this set and another
RedisSet
.
Create a new
RedisSet
by intersecting this sorted set and the collection
RedisSet
and store result
in destination
destKey
.
Create a new
RedisSet
by intersecting this sorted set and
RedisSet
and store result in destination
destKey
.
Get random element from the set.
Create a new
RedisSet
by union this sorted set and the collection
RedisSet
and store result in
destination
destKey
.
Create a new
RedisSet
by union this sorted set and
RedisSet
and store result in destination
destKey
.
Methods inherited from interface java.util.Set
add, addAll, clear, contains, containsAll, equals, hashCode, isEmpty, iterator, remove, removeAll, retainAll, size, spliterator, toArray, toArray
-
Method Details
-
create
- Parameters:
key
- Redis key of this set.
operations
- RedisOperations
for the value type of this set.
- Since:
- 2.6
-
diff
- Parameters:
set
- must not be null.
- Returns:
- a
Set
containing the values that differ.
- Since:
- 1.0
-
diff
- Parameters:
sets
- must not be null.
- Returns:
- a
Set
containing the values that differ.
- Since:
- 1.0
-
diffAndStore
Create a new
RedisSet
by diffing this sorted set and
RedisSet
and store result in destination
destKey
.
- Parameters:
set
- must not be null.
destKey
- must not be null.
- Returns:
- a new
RedisSet
pointing at destKey
.
- Since:
- 1.0
-
diffAndStore
Create a new
RedisSet
by diffing this sorted set and the collection
RedisSet
and store result in
destination
destKey
.
- Parameters:
sets
- must not be null.
destKey
- must not be null.
- Returns:
- a new
RedisSet
pointing at destKey
.
- Since:
- 1.0
-
intersect
Intersect this set and another
RedisSet
.
- Parameters:
set
- must not be null.
- Returns:
- a
Set
containing the intersecting values.
- Since:
- 1.0
-
intersect
- Parameters:
sets
- must not be null.
- Returns:
- a
Set
containing the intersecting values.
- Since:
- 1.0
-
intersectAndStore
Create a new
RedisSet
by intersecting this sorted set and
RedisSet
and store result in destination
destKey
.
- Parameters:
set
- must not be null.
destKey
- must not be null.
- Returns:
- a new
RedisSet
pointing at destKey
- Since:
- 1.0
-
intersectAndStore
Create a new
RedisSet
by intersecting this sorted set and the collection
RedisSet
and store result
in destination
destKey
.
- Parameters:
sets
- must not be null.
destKey
- must not be null.
- Returns:
- a new
RedisSet
pointing at destKey
.
- Since:
- 1.0
-
randomValue
Get random element from the set.
- Returns:
- Since:
- 2.6
-
-
union
- Parameters:
set
- must not be null.
- Returns:
- a
Set
containing the combined values.
- Since:
- 2.6
-
union
- Parameters:
sets
- must not be null.
- Returns:
- a
Set
containing the combined values.
- Since:
- 1.0
-
unionAndStore
Create a new
RedisSet
by union this sorted set and
RedisSet
and store result in destination
destKey
.
- Parameters:
set
- must not be null.
destKey
- must not be null.
- Returns:
- a new
RedisSet
pointing at destKey
.
- Since:
- 1.0
-
unionAndStore
Create a new
RedisSet
by union this sorted set and the collection
RedisSet
and store result in
destination
destKey
.
- Parameters:
sets
- must not be null.
destKey
- must not be null.
- Returns:
- a new
RedisSet
pointing at destKey
.
- Since:
- 1.0