Uses of Interface
org.springframework.data.redis.connection.StringRedisConnection.StringTuple
Package
Description
Connection package providing low-level abstractions for interacting with the various Redis 'drivers'/libraries.
-
Uses of StringRedisConnection.StringTuple in org.springframework.data.redis.connection
Modifier and TypeClassDescriptionclass
Default implementation forStringRedisConnection.StringTuple
interface.Modifier and TypeMethodDescriptionRemove and return the value with its score having the highest score from sorted set atkey
.Remove and return the value with its score having the lowest score from sorted set atkey
.Remove and return the value with its score having the highest score from sorted set atkey
.DefaultStringRedisConnection.zRandMemberWithScore
(String key) StringRedisConnection.zRandMemberWithScore
(String key) Get random element from sorted set atkey
.Modifier and TypeMethodDescriptionDefaultStringRedisConnection.zDiffWithScores
(String... sets) StringRedisConnection.zDiffWithScores
(String... sets) Diff sortedsets
.DefaultStringRedisConnection.zInterWithScores
(String... sets) DefaultStringRedisConnection.zInterWithScores
(Aggregate aggregate, Weights weights, String... sets) StringRedisConnection.zInterWithScores
(String... sets) Intersect sortedsets
.default Set<StringRedisConnection.StringTuple>
StringRedisConnection.zInterWithScores
(Aggregate aggregate, int[] weights, String... sets) Intersect sortedsets
.StringRedisConnection.zInterWithScores
(Aggregate aggregate, Weights weights, String... sets) Intersect sortedsets
.Remove and returncount
values with their score having the highest score from sorted set atkey
.Remove and returncount
values with their score having the lowest score from sorted set atkey
.DefaultStringRedisConnection.zRandMemberWithScores
(String key, long count) StringRedisConnection.zRandMemberWithScores
(String key, long count) Getcount
random elements from sorted set atkey
.DefaultStringRedisConnection.zRangeByScoreWithScores
(String key, double min, double max) DefaultStringRedisConnection.zRangeByScoreWithScores
(String key, double min, double max, long offset, long count) StringRedisConnection.zRangeByScoreWithScores
(String key, double min, double max) StringRedisConnection.zRangeByScoreWithScores
(String key, double min, double max, long offset, long count) DefaultStringRedisConnection.zRangeWithScores
(String key, long start, long end) StringRedisConnection.zRangeWithScores
(String key, long start, long end) DefaultStringRedisConnection.zRevRangeByScoreWithScores
(String key, double min, double max) DefaultStringRedisConnection.zRevRangeByScoreWithScores
(String key, double min, double max, long offset, long count) StringRedisConnection.zRevRangeByScoreWithScores
(String key, double min, double max) StringRedisConnection.zRevRangeByScoreWithScores
(String key, double min, double max, long offset, long count) Get set ofTuple
in range fromstart
toend
where score is betweenmin
andmax
from sorted set ordered high -> low.DefaultStringRedisConnection.zRevRangeWithScores
(String key, long start, long end) StringRedisConnection.zRevRangeWithScores
(String key, long start, long end) DefaultStringRedisConnection.zScan
(String key, ScanOptions options) StringRedisConnection.zScan
(String key, ScanOptions options) Use aCursor
to iterate over elements in sorted set atkey
.DefaultStringRedisConnection.zUnionWithScores
(String... sets) DefaultStringRedisConnection.zUnionWithScores
(Aggregate aggregate, Weights weights, String... sets) StringRedisConnection.zUnionWithScores
(String... sets) Union sortedsets
.default Set<StringRedisConnection.StringTuple>
StringRedisConnection.zUnionWithScores
(Aggregate aggregate, int[] weights, String... sets) Union sortedsets
.StringRedisConnection.zUnionWithScores
(Aggregate aggregate, Weights weights, String... sets) Union sortedsets
.Modifier and TypeMethodDescriptionDefaultStringRedisConnection.zAdd
(String key, Set<StringRedisConnection.StringTuple> tuples) DefaultStringRedisConnection.zAdd
(String key, Set<StringRedisConnection.StringTuple> tuples, RedisZSetCommands.ZAddArgs args) StringRedisConnection.zAdd
(String key, Set<StringRedisConnection.StringTuple> tuples) Addtuples
to a sorted set atkey
, or update itsscore
if it already exists.StringRedisConnection.zAdd
(String key, Set<StringRedisConnection.StringTuple> tuples, RedisZSetCommands.ZAddArgs args)