Uses of Interface
org.springframework.data.redis.support.collections.RedisZSet
Package
Description
Package providing implementations for most of the
java.util
collections on top of Redis.-
Uses of RedisZSet in org.springframework.data.redis.support.collections
Modifier and TypeMethodDescriptionstatic <E> RedisZSet<E>
RedisZSet.create
(String key, RedisOperations<String, E> operations) Constructs a newRedisZSet
instance with a default score of 1.static <E> RedisZSet<E>
RedisZSet.create
(String key, RedisOperations<String, E> operations, double defaultScore) Constructs a newRedisZSet
instance.DefaultRedisZSet.diffAndStore
(Collection<? extends RedisZSet<?>> sets, String destKey) DefaultRedisZSet.diffAndStore
(RedisZSet<?> set, String destKey) RedisZSet.diffAndStore
(Collection<? extends RedisZSet<?>> sets, String destKey) RedisZSet.diffAndStore
(RedisZSet<?> set, String destKey) DefaultRedisZSet.intersectAndStore
(Collection<? extends RedisZSet<?>> sets, String destKey) DefaultRedisZSet.intersectAndStore
(RedisZSet<?> set, String destKey) RedisZSet.intersectAndStore
(Collection<? extends RedisZSet<?>> sets, String destKey) RedisZSet.intersectAndStore
(RedisZSet<?> set, String destKey) DefaultRedisZSet.rangeAndStoreByLex
(String dstKey, Range<String> range, Limit limit) RedisZSet.rangeAndStoreByLex
(String dstKey, Range<String> range) Store all elements atdstKey
with lexicographical ordering from ZSET at the bound key with a value betweenRange.getLowerBound()
andRange.getUpperBound()
.RedisZSet.rangeAndStoreByLex
(String dstKey, Range<String> range, Limit limit) Store n elements atdstKey
, where n =Limit.getCount()
, starting atLimit.getOffset()
with lexicographical ordering from ZSET at the bound key with a value betweenRange.getLowerBound()
andRange.getUpperBound()
.DefaultRedisZSet.rangeAndStoreByScore
(String dstKey, Range<? extends Number> range, Limit limit) RedisZSet.rangeAndStoreByScore
(String dstKey, Range<? extends Number> range) Store all elements atdstKey
with ordering by score from ZSET at the bound key with a score betweenRange.getLowerBound()
andRange.getUpperBound()
.RedisZSet.rangeAndStoreByScore
(String dstKey, Range<? extends Number> range, Limit limit) Store n elements atdstKey
, where n =Limit.getCount()
, starting atLimit.getOffset()
with ordering by score from ZSET at the bound key with a score betweenRange.getLowerBound()
andRange.getUpperBound()
.DefaultRedisZSet.remove
(long start, long end) RedisZSet.remove
(long start, long end) Remove elements in range betweenstart
andend
from sorted set.DefaultRedisZSet.removeByLex
(Range<String> range) RedisZSet.removeByLex
(Range<String> range) Remove all elements in range.DefaultRedisZSet.removeByScore
(double min, double max) RedisZSet.removeByScore
(double min, double max) Remove elements with scores betweenmin
andmax
from sorted set with the bound key.DefaultRedisZSet.reverseRangeAndStoreByLex
(String dstKey, Range<String> range, Limit limit) RedisZSet.reverseRangeAndStoreByLex
(String dstKey, Range<String> range) Store all elements atdstKey
with reverse lexicographical ordering from ZSET at the bound key with a value betweenRange.getLowerBound()
andRange.getUpperBound()
.RedisZSet.reverseRangeAndStoreByLex
(String dstKey, Range<String> range, Limit limit) Store n elements atdstKey
, where n =Limit.getCount()
, starting atLimit.getOffset()
with reverse lexicographical ordering from ZSET at the bound key with a value betweenRange.getLowerBound()
andRange.getUpperBound()
.DefaultRedisZSet.reverseRangeAndStoreByScore
(String dstKey, Range<? extends Number> range, Limit limit) RedisZSet.reverseRangeAndStoreByScore
(String dstKey, Range<? extends Number> range) Store all elements atdstKey
with reverse ordering by score from ZSET at the bound key with a score betweenRange.getLowerBound()
andRange.getUpperBound()
.RedisZSet.reverseRangeAndStoreByScore
(String dstKey, Range<? extends Number> range, Limit limit) Store n elements atdstKey
, where n =Limit.getCount()
, starting atLimit.getOffset()
with reverse ordering by score from ZSET at the bound key with a score betweenRange.getLowerBound()
andRange.getUpperBound()
.DefaultRedisZSet.unionAndStore
(Collection<? extends RedisZSet<?>> sets, String destKey) DefaultRedisZSet.unionAndStore
(RedisZSet<?> set, String destKey) RedisZSet.unionAndStore
(Collection<? extends RedisZSet<?>> sets, String destKey) RedisZSet.unionAndStore
(RedisZSet<?> set, String destKey) Modifier and TypeMethodDescriptionDiff this set and anotherRedisZSet
.DefaultRedisZSet.diffAndStore
(RedisZSet<?> set, String destKey) RedisZSet.diffAndStore
(RedisZSet<?> set, String destKey) DefaultRedisZSet.diffWithScores
(RedisZSet<?> set) RedisZSet.diffWithScores
(RedisZSet<?> set) Diff this set and anotherRedisZSet
.Intersect this set and anotherRedisZSet
.DefaultRedisZSet.intersectAndStore
(RedisZSet<?> set, String destKey) RedisZSet.intersectAndStore
(RedisZSet<?> set, String destKey) DefaultRedisZSet.intersectWithScores
(RedisZSet<?> set) RedisZSet.intersectWithScores
(RedisZSet<?> set) Intersect this set and anotherRedisZSet
.Union this set and anotherRedisZSet
.DefaultRedisZSet.unionAndStore
(RedisZSet<?> set, String destKey) RedisZSet.unionAndStore
(RedisZSet<?> set, String destKey) DefaultRedisZSet.unionWithScores
(RedisZSet<?> set) RedisZSet.unionWithScores
(RedisZSet<?> set) Union this set and anotherRedisZSet
.Modifier and TypeMethodDescriptionDefaultRedisZSet.diff
(Collection<? extends RedisZSet<?>> sets) RedisZSet.diff
(Collection<? extends RedisZSet<?>> sets) Diff this set and otherRedisZSet
s.DefaultRedisZSet.diffAndStore
(Collection<? extends RedisZSet<?>> sets, String destKey) RedisZSet.diffAndStore
(Collection<? extends RedisZSet<?>> sets, String destKey) DefaultRedisZSet.diffWithScores
(Collection<? extends RedisZSet<?>> sets) RedisZSet.diffWithScores
(Collection<? extends RedisZSet<?>> sets) Diff this set and otherRedisZSet
s.DefaultRedisZSet.intersect
(Collection<? extends RedisZSet<?>> sets) RedisZSet.intersect
(Collection<? extends RedisZSet<?>> sets) Intersect this set and otherRedisZSet
s.DefaultRedisZSet.intersectAndStore
(Collection<? extends RedisZSet<?>> sets, String destKey) RedisZSet.intersectAndStore
(Collection<? extends RedisZSet<?>> sets, String destKey) DefaultRedisZSet.intersectWithScores
(Collection<? extends RedisZSet<?>> sets) RedisZSet.intersectWithScores
(Collection<? extends RedisZSet<?>> sets) Intersect this set and otherRedisZSet
s.DefaultRedisZSet.union
(Collection<? extends RedisZSet<?>> sets) RedisZSet.union
(Collection<? extends RedisZSet<?>> sets) Union this set and otherRedisZSet
s.DefaultRedisZSet.unionAndStore
(Collection<? extends RedisZSet<?>> sets, String destKey) RedisZSet.unionAndStore
(Collection<? extends RedisZSet<?>> sets, String destKey) DefaultRedisZSet.unionWithScores
(Collection<? extends RedisZSet<?>> sets) RedisZSet.unionWithScores
(Collection<? extends RedisZSet<?>> sets) Union this set and otherRedisZSet
s.