K
- Key type.V
- Value type.public interface RedisSortedSetCommands<K,V>
Modifier and Type | Method and Description |
---|---|
Long |
zadd(K key,
double score,
V member)
Add one or more members to a sorted set, or update its score if it already exists.
|
Long |
zadd(K key,
Object... scoresAndValues)
Add one or more members to a sorted set, or update its score if it already exists.
|
Long |
zadd(K key,
ScoredValue<V>... scoredValues)
Add one or more members to a sorted set, or update its score if it already exists.
|
Long |
zadd(K key,
ZAddArgs zAddArgs,
double score,
V member)
Add one or more members to a sorted set, or update its score if it already exists.
|
Long |
zadd(K key,
ZAddArgs zAddArgs,
Object... scoresAndValues)
Add one or more members to a sorted set, or update its score if it already exists.
|
Long |
zadd(K key,
ZAddArgs zAddArgs,
ScoredValue<V>... scoredValues)
Add one or more members to a sorted set, or update its score if it already exists.
|
Double |
zaddincr(K key,
double score,
V member)
Add one or more members to a sorted set, or update its score if it already exists applying the
INCR option. |
Double |
zaddincr(K key,
ZAddArgs zAddArgs,
double score,
V member)
Add one or more members to a sorted set, or update its score if it already exists applying the
INCR option. |
Long |
zcard(K key)
Get the number of members in a sorted set.
|
Long |
zcount(K key,
double min,
double max)
Deprecated.
|
Long |
zcount(K key,
Range<? extends Number> range)
Count the members in a sorted set with scores within the given
Range . |
Long |
zcount(K key,
String min,
String max)
Deprecated.
|
Double |
zincrby(K key,
double amount,
K member)
Increment the score of a member in a sorted set.
|
Long |
zinterstore(K destination,
K... keys)
Intersect multiple sorted sets and store the resulting sorted set in a new key.
|
Long |
zinterstore(K destination,
ZStoreArgs storeArgs,
K... keys)
Intersect multiple sorted sets and store the resulting sorted set in a new key.
|
Long |
zlexcount(K key,
Range<? extends V> range)
Count the number of members in a sorted set between a given lexicographical range.
|
Long |
zlexcount(K key,
String min,
String max)
Deprecated.
|
List<V> |
zrange(K key,
long start,
long stop)
Return a range of members in a sorted set, by index.
|
Long |
zrange(ValueStreamingChannel<V> channel,
K key,
long start,
long stop)
Return a range of members in a sorted set, by index.
|
List<V> |
zrangebylex(K key,
Range<? extends V> range)
Return a range of members in a sorted set, by lexicographical range.
|
List<V> |
zrangebylex(K key,
Range<? extends V> range,
Limit limit)
Return a range of members in a sorted set, by lexicographical range.
|
List<V> |
zrangebylex(K key,
String min,
String max)
Deprecated.
|
List<V> |
zrangebylex(K key,
String min,
String max,
long offset,
long count)
Deprecated.
|
List<V> |
zrangebyscore(K key,
double min,
double max)
Deprecated.
|
List<V> |
zrangebyscore(K key,
double min,
double max,
long offset,
long count)
Deprecated.
|
List<V> |
zrangebyscore(K key,
Range<? extends Number> range)
Return a range of members in a sorted set, by score.
|
List<V> |
zrangebyscore(K key,
Range<? extends Number> range,
Limit limit)
Return a range of members in a sorted set, by score.
|
List<V> |
zrangebyscore(K key,
String min,
String max)
Deprecated.
|
List<V> |
zrangebyscore(K key,
String min,
String max,
long offset,
long count)
Deprecated.
|
Long |
zrangebyscore(ValueStreamingChannel<V> channel,
K key,
double min,
double max)
Deprecated.
|
Long |
zrangebyscore(ValueStreamingChannel<V> channel,
K key,
double min,
double max,
long offset,
long count)
|
Long |
zrangebyscore(ValueStreamingChannel<V> channel,
K key,
Range<? extends Number> range)
Stream over a range of members in a sorted set, by score.
|
Long |
zrangebyscore(ValueStreamingChannel<V> channel,
K key,
Range<? extends Number> range,
Limit limit)
Stream over a range of members in a sorted set, by score.
|
Long |
zrangebyscore(ValueStreamingChannel<V> channel,
K key,
String min,
String max)
Deprecated.
|
Long |
zrangebyscore(ValueStreamingChannel<V> channel,
K key,
String min,
String max,
long offset,
long count)
|
List<ScoredValue<V>> |
zrangebyscoreWithScores(K key,
double min,
double max)
Deprecated.
|
List<ScoredValue<V>> |
zrangebyscoreWithScores(K key,
double min,
double max,
long offset,
long count)
Deprecated.
|
List<ScoredValue<V>> |
zrangebyscoreWithScores(K key,
Range<? extends Number> range)
Return a range of members with score in a sorted set, by score.
|
List<ScoredValue<V>> |
zrangebyscoreWithScores(K key,
Range<? extends Number> range,
Limit limit)
Return a range of members with score in a sorted set, by score.
|
List<ScoredValue<V>> |
zrangebyscoreWithScores(K key,
String min,
String max)
Deprecated.
|
List<ScoredValue<V>> |
zrangebyscoreWithScores(K key,
String min,
String max,
long offset,
long count)
Deprecated.
|
Long |
zrangebyscoreWithScores(ScoredValueStreamingChannel<V> channel,
K key,
double min,
double max)
|
Long |
zrangebyscoreWithScores(ScoredValueStreamingChannel<V> channel,
K key,
double min,
double max,
long offset,
long count)
|
Long |
zrangebyscoreWithScores(ScoredValueStreamingChannel<V> channel,
K key,
Range<? extends Number> range)
Stream over a range of members with scores in a sorted set, by score.
|
Long |
zrangebyscoreWithScores(ScoredValueStreamingChannel<V> channel,
K key,
Range<? extends Number> range,
Limit limit)
Stream over a range of members with scores in a sorted set, by score.
|
Long |
zrangebyscoreWithScores(ScoredValueStreamingChannel<V> channel,
K key,
String min,
String max)
|
Long |
zrangebyscoreWithScores(ScoredValueStreamingChannel<V> channel,
K key,
String min,
String max,
long offset,
long count)
|
List<ScoredValue<V>> |
zrangeWithScores(K key,
long start,
long stop)
Return a range of members with scores in a sorted set, by index.
|
Long |
zrangeWithScores(ScoredValueStreamingChannel<V> channel,
K key,
long start,
long stop)
Stream over a range of members with scores in a sorted set, by index.
|
Long |
zrank(K key,
V member)
Determine the index of a member in a sorted set.
|
Long |
zrem(K key,
V... members)
Remove one or more members from a sorted set.
|
Long |
zremrangebylex(K key,
Range<? extends V> range)
Remove all members in a sorted set between the given lexicographical range.
|
Long |
zremrangebylex(K key,
String min,
String max)
Deprecated.
|
Long |
zremrangebyrank(K key,
long start,
long stop)
Remove all members in a sorted set within the given indexes.
|
Long |
zremrangebyscore(K key,
double min,
double max)
Deprecated.
|
Long |
zremrangebyscore(K key,
Range<? extends Number> range)
Remove all members in a sorted set within the given scores.
|
Long |
zremrangebyscore(K key,
String min,
String max)
Deprecated.
|
List<V> |
zrevrange(K key,
long start,
long stop)
Return a range of members in a sorted set, by index, with scores ordered from high to low.
|
Long |
zrevrange(ValueStreamingChannel<V> channel,
K key,
long start,
long stop)
Stream over a range of members in a sorted set, by index, with scores ordered from high to low.
|
List<V> |
zrevrangebylex(K key,
Range<? extends V> range)
Return a range of members in a sorted set, by lexicographical range ordered from high to low.
|
List<V> |
zrevrangebylex(K key,
Range<? extends V> range,
Limit limit)
Return a range of members in a sorted set, by lexicographical range ordered from high to low.
|
List<V> |
zrevrangebyscore(K key,
double max,
double min)
Deprecated.
|
List<V> |
zrevrangebyscore(K key,
double max,
double min,
long offset,
long count)
Deprecated.
|
List<V> |
zrevrangebyscore(K key,
Range<? extends Number> range)
Return a range of members in a sorted set, by score, with scores ordered from high to low.
|
List<V> |
zrevrangebyscore(K key,
Range<? extends Number> range,
Limit limit)
Return a range of members in a sorted set, by score, with scores ordered from high to low.
|
List<V> |
zrevrangebyscore(K key,
String max,
String min)
Deprecated.
|
List<V> |
zrevrangebyscore(K key,
String max,
String min,
long offset,
long count)
Deprecated.
|
Long |
zrevrangebyscore(ValueStreamingChannel<V> channel,
K key,
double max,
double min)
Deprecated.
|
Long |
zrevrangebyscore(ValueStreamingChannel<V> channel,
K key,
double max,
double min,
long offset,
long count)
Deprecated.
|
Long |
zrevrangebyscore(ValueStreamingChannel<V> channel,
K key,
Range<? extends Number> range)
Stream over a range of members in a sorted set, by score, with scores ordered from high to low.
|
Long |
zrevrangebyscore(ValueStreamingChannel<V> channel,
K key,
Range<? extends Number> range,
Limit limit)
Stream over a range of members in a sorted set, by score, with scores ordered from high to low.
|
Long |
zrevrangebyscore(ValueStreamingChannel<V> channel,
K key,
String max,
String min)
Deprecated.
|
Long |
zrevrangebyscore(ValueStreamingChannel<V> channel,
K key,
String max,
String min,
long offset,
long count)
Deprecated.
|
List<ScoredValue<V>> |
zrevrangebyscoreWithScores(K key,
double max,
double min)
Deprecated.
|
List<ScoredValue<V>> |
zrevrangebyscoreWithScores(K key,
double max,
double min,
long offset,
long count)
Deprecated.
|
List<ScoredValue<V>> |
zrevrangebyscoreWithScores(K key,
Range<? extends Number> range)
Return a range of members with scores in a sorted set, by score, with scores ordered from high to low.
|
List<ScoredValue<V>> |
zrevrangebyscoreWithScores(K key,
Range<? extends Number> range,
Limit limit)
Return a range of members with scores in a sorted set, by score, with scores ordered from high to low.
|
List<ScoredValue<V>> |
zrevrangebyscoreWithScores(K key,
String max,
String min)
Deprecated.
|
List<ScoredValue<V>> |
zrevrangebyscoreWithScores(K key,
String max,
String min,
long offset,
long count)
Deprecated.
|
Long |
zrevrangebyscoreWithScores(ScoredValueStreamingChannel<V> channel,
K key,
double max,
double min)
|
Long |
zrevrangebyscoreWithScores(ScoredValueStreamingChannel<V> channel,
K key,
double max,
double min,
long offset,
long count)
|
Long |
zrevrangebyscoreWithScores(ScoredValueStreamingChannel<V> channel,
K key,
Range<? extends Number> range)
Stream over a range of members with scores in a sorted set, by score, with scores ordered from high to low.
|
Long |
zrevrangebyscoreWithScores(ScoredValueStreamingChannel<V> channel,
K key,
Range<? extends Number> range,
Limit limit)
Stream over a range of members with scores in a sorted set, by score, with scores ordered from high to low.
|
Long |
zrevrangebyscoreWithScores(ScoredValueStreamingChannel<V> channel,
K key,
String max,
String min)
|
Long |
zrevrangebyscoreWithScores(ScoredValueStreamingChannel<V> channel,
K key,
String max,
String min,
long offset,
long count)
|
List<ScoredValue<V>> |
zrevrangeWithScores(K key,
long start,
long stop)
Return a range of members with scores in a sorted set, by index, with scores ordered from high to low.
|
Long |
zrevrangeWithScores(ScoredValueStreamingChannel<V> channel,
K key,
long start,
long stop)
Stream over a range of members with scores in a sorted set, by index, with scores ordered from high to low.
|
Long |
zrevrank(K key,
V member)
Determine the index of a member in a sorted set, with scores ordered from high to low.
|
ScoredValueScanCursor<V> |
zscan(K key)
Incrementally iterate sorted sets elements and associated scores.
|
ScoredValueScanCursor<V> |
zscan(K key,
ScanArgs scanArgs)
Incrementally iterate sorted sets elements and associated scores.
|
ScoredValueScanCursor<V> |
zscan(K key,
ScanCursor scanCursor)
Incrementally iterate sorted sets elements and associated scores.
|
ScoredValueScanCursor<V> |
zscan(K key,
ScanCursor scanCursor,
ScanArgs scanArgs)
Incrementally iterate sorted sets elements and associated scores.
|
StreamScanCursor |
zscan(ScoredValueStreamingChannel<V> channel,
K key)
Incrementally iterate sorted sets elements and associated scores.
|
StreamScanCursor |
zscan(ScoredValueStreamingChannel<V> channel,
K key,
ScanArgs scanArgs)
Incrementally iterate sorted sets elements and associated scores.
|
StreamScanCursor |
zscan(ScoredValueStreamingChannel<V> channel,
K key,
ScanCursor scanCursor)
Incrementally iterate sorted sets elements and associated scores.
|
StreamScanCursor |
zscan(ScoredValueStreamingChannel<V> channel,
K key,
ScanCursor scanCursor,
ScanArgs scanArgs)
Incrementally iterate sorted sets elements and associated scores.
|
Double |
zscore(K key,
V member)
Get the score associated with the given member in a sorted set.
|
Long |
zunionstore(K destination,
K... keys)
Add multiple sorted sets and store the resulting sorted set in a new key.
|
Long |
zunionstore(K destination,
ZStoreArgs storeArgs,
K... keys)
Add multiple sorted sets and store the resulting sorted set in a new key.
|
Long zadd(K key, double score, V member)
key
- the keyscore
- the scoremember
- the memberLong zadd(K key, Object... scoresAndValues)
key
- the keyscoresAndValues
- the scoresAndValue tuples (score,value,score,value,...)Long zadd(K key, ScoredValue<V>... scoredValues)
key
- the keyscoredValues
- the scored valuesLong zadd(K key, ZAddArgs zAddArgs, double score, V member)
key
- the keyzAddArgs
- arguments for zaddscore
- the scoremember
- the memberLong zadd(K key, ZAddArgs zAddArgs, Object... scoresAndValues)
key
- the keyzAddArgs
- arguments for zaddscoresAndValues
- the scoresAndValue tuples (score,value,score,value,...)Long zadd(K key, ZAddArgs zAddArgs, ScoredValue<V>... scoredValues)
key
- the kezAddArgs
- arguments for zaddscoredValues
- the scored valuesDouble zaddincr(K key, double score, V member)
INCR
option. ZADD
acts like ZINCRBY.key
- the keyscore
- the scoremember
- the memberDouble zaddincr(K key, ZAddArgs zAddArgs, double score, V member)
INCR
option. ZADD
acts like ZINCRBY.key
- the keyzAddArgs
- arguments for zaddscore
- the scoremember
- the memberLong zcard(K key)
key
- the keykey
does not exist.@Deprecated Long zcount(K key, double min, double max)
zcount(java.lang.Object, Range)
key
- the keymin
- min scoremax
- max score@Deprecated Long zcount(K key, String min, String max)
zcount(java.lang.Object, Range)
key
- the keymin
- min scoremax
- max scoreLong zcount(K key, Range<? extends Number> range)
Range
.key
- the keyrange
- the rangeDouble zincrby(K key, double amount, K member)
key
- the keyamount
- the increment type: longmember
- the member type: keymember
(a double precision floating point number), represented
as string.Long zinterstore(K destination, K... keys)
destination
- the destinationkeys
- the keysdestination
.Long zinterstore(K destination, ZStoreArgs storeArgs, K... keys)
destination
- the destinationstoreArgs
- the storeArgskeys
- the keysdestination
.@Deprecated Long zlexcount(K key, String min, String max)
zlexcount(java.lang.Object, Range)
key
- the keymin
- min scoremax
- max scoreLong zlexcount(K key, Range<? extends V> range)
key
- the keyrange
- the rangeList<V> zrange(K key, long start, long stop)
key
- the keystart
- the startstop
- the stopLong zrange(ValueStreamingChannel<V> channel, K key, long start, long stop)
channel
- streaming channel that receives a call for every valuekey
- the keystart
- the startstop
- the stopList<ScoredValue<V>> zrangeWithScores(K key, long start, long stop)
key
- the keystart
- the startstop
- the stopLong zrangeWithScores(ScoredValueStreamingChannel<V> channel, K key, long start, long stop)
channel
- streaming channel that receives a call for every valuekey
- the keystart
- the startstop
- the stop@Deprecated List<V> zrangebylex(K key, String min, String max)
zrangebylex(java.lang.Object, Range)
key
- the keymin
- min scoremax
- max scoreList<V> zrangebylex(K key, Range<? extends V> range)
key
- the keyrange
- the range@Deprecated List<V> zrangebylex(K key, String min, String max, long offset, long count)
zrangebylex(java.lang.Object, Range)
key
- the keymin
- min scoremax
- max scoreoffset
- the offsetcount
- the countList<V> zrangebylex(K key, Range<? extends V> range, Limit limit)
key
- the keyrange
- the rangelimit
- the limit@Deprecated List<V> zrangebyscore(K key, double min, double max)
zrangebyscore(java.lang.Object, Range)
key
- the keymin
- min scoremax
- max score@Deprecated List<V> zrangebyscore(K key, String min, String max)
zrangebyscore(java.lang.Object, Range)
key
- the keymin
- min scoremax
- max scoreList<V> zrangebyscore(K key, Range<? extends Number> range)
key
- the keyrange
- the range@Deprecated List<V> zrangebyscore(K key, double min, double max, long offset, long count)
zrangebyscore(java.lang.Object, Range, Limit)
key
- the keymin
- min scoremax
- max scoreoffset
- the offsetcount
- the count@Deprecated List<V> zrangebyscore(K key, String min, String max, long offset, long count)
zrangebyscore(java.lang.Object, Range, Limit)
key
- the keymin
- min scoremax
- max scoreoffset
- the offsetcount
- the countList<V> zrangebyscore(K key, Range<? extends Number> range, Limit limit)
key
- the keyrange
- the rangelimit
- the limit@Deprecated Long zrangebyscore(ValueStreamingChannel<V> channel, K key, double min, double max)
zrangebyscore(ValueStreamingChannel, java.lang.Object, Range)
channel
- streaming channel that receives a call for every valuekey
- the keymin
- min scoremax
- max score@Deprecated Long zrangebyscore(ValueStreamingChannel<V> channel, K key, String min, String max)
zrangebyscore(ValueStreamingChannel, java.lang.Object, Range)
channel
- streaming channel that receives a call for every valuekey
- the keymin
- min scoremax
- max scoreLong zrangebyscore(ValueStreamingChannel<V> channel, K key, Range<? extends Number> range)
channel
- streaming channel that receives a call for every valuekey
- the keyrange
- the range@Deprecated Long zrangebyscore(ValueStreamingChannel<V> channel, K key, double min, double max, long offset, long count)
channel
- streaming channel that receives a call for every valuekey
- the keymin
- min scoremax
- max scoreoffset
- the offsetcount
- the count@Deprecated Long zrangebyscore(ValueStreamingChannel<V> channel, K key, String min, String max, long offset, long count)
channel
- streaming channel that receives a call for every valuekey
- the keymin
- min scoremax
- max scoreoffset
- the offsetcount
- the countLong zrangebyscore(ValueStreamingChannel<V> channel, K key, Range<? extends Number> range, Limit limit)
channel
- streaming channel that receives a call for every valuekey
- the keyrange
- the rangelimit
- the limit@Deprecated List<ScoredValue<V>> zrangebyscoreWithScores(K key, double min, double max)
zrangebyscoreWithScores(java.lang.Object, Range)
key
- the keymin
- min scoremax
- max score@Deprecated List<ScoredValue<V>> zrangebyscoreWithScores(K key, String min, String max)
zrangebyscoreWithScores(java.lang.Object, Range)
key
- the keymin
- min scoremax
- max scoreList<ScoredValue<V>> zrangebyscoreWithScores(K key, Range<? extends Number> range)
key
- the keyrange
- the range@Deprecated List<ScoredValue<V>> zrangebyscoreWithScores(K key, double min, double max, long offset, long count)
zrangebyscoreWithScores(java.lang.Object, Range, Limit limit)
key
- the keymin
- min scoremax
- max scoreoffset
- the offsetcount
- the count@Deprecated List<ScoredValue<V>> zrangebyscoreWithScores(K key, String min, String max, long offset, long count)
zrangebyscoreWithScores(java.lang.Object, Range, Limit)
key
- the keymin
- min scoremax
- max scoreoffset
- the offsetcount
- the countList<ScoredValue<V>> zrangebyscoreWithScores(K key, Range<? extends Number> range, Limit limit)
key
- the keyrange
- the rangelimit
- the limit@Deprecated Long zrangebyscoreWithScores(ScoredValueStreamingChannel<V> channel, K key, double min, double max)
channel
- streaming channel that receives a call for every scored valuekey
- the keymin
- min scoremax
- max score@Deprecated Long zrangebyscoreWithScores(ScoredValueStreamingChannel<V> channel, K key, String min, String max)
channel
- streaming channel that receives a call for every scored valuekey
- the keymin
- min scoremax
- max scoreLong zrangebyscoreWithScores(ScoredValueStreamingChannel<V> channel, K key, Range<? extends Number> range)
channel
- streaming channel that receives a call for every scored valuekey
- the keyrange
- the range@Deprecated Long zrangebyscoreWithScores(ScoredValueStreamingChannel<V> channel, K key, double min, double max, long offset, long count)
zrangebyscoreWithScores(ScoredValueStreamingChannel, java.lang.Object, Range, Limit limit)
channel
- streaming channel that receives a call for every scored valuekey
- the keymin
- min scoremax
- max scoreoffset
- the offsetcount
- the count@Deprecated Long zrangebyscoreWithScores(ScoredValueStreamingChannel<V> channel, K key, String min, String max, long offset, long count)
zrangebyscoreWithScores(ScoredValueStreamingChannel, java.lang.Object, Range, Limit limit)
channel
- streaming channel that receives a call for every scored valuekey
- the keymin
- min scoremax
- max scoreoffset
- the offsetcount
- the countLong zrangebyscoreWithScores(ScoredValueStreamingChannel<V> channel, K key, Range<? extends Number> range, Limit limit)
channel
- streaming channel that receives a call for every scored valuekey
- the keyrange
- the rangelimit
- the limitLong zrank(K key, V member)
key
- the keymember
- the member type: valuemember
. If member
does not exist in the sorted set or key
does not exist,Long zrem(K key, V... members)
key
- the keymembers
- the member type: value@Deprecated Long zremrangebylex(K key, String min, String max)
zremrangebylex(java.lang.Object, Range)
key
- the keymin
- min scoremax
- max scoreLong zremrangebylex(K key, Range<? extends V> range)
key
- the keyrange
- the rangeLong zremrangebyrank(K key, long start, long stop)
key
- the keystart
- the start type: longstop
- the stop type: long@Deprecated Long zremrangebyscore(K key, double min, double max)
zremrangebyscore(java.lang.Object, Range)
key
- the keymin
- min scoremax
- max score@Deprecated Long zremrangebyscore(K key, String min, String max)
zremrangebyscore(java.lang.Object, Range)
key
- the keymin
- min scoremax
- max scoreLong zremrangebyscore(K key, Range<? extends Number> range)
key
- the keyrange
- the rangeList<V> zrevrange(K key, long start, long stop)
key
- the keystart
- the startstop
- the stopLong zrevrange(ValueStreamingChannel<V> channel, K key, long start, long stop)
channel
- streaming channel that receives a call for every scored valuekey
- the keystart
- the startstop
- the stopList<ScoredValue<V>> zrevrangeWithScores(K key, long start, long stop)
key
- the keystart
- the startstop
- the stopLong zrevrangeWithScores(ScoredValueStreamingChannel<V> channel, K key, long start, long stop)
channel
- streaming channel that receives a call for every scored valuekey
- the keystart
- the startstop
- the stopList<V> zrevrangebylex(K key, Range<? extends V> range)
key
- the keyrange
- the rangeList<V> zrevrangebylex(K key, Range<? extends V> range, Limit limit)
key
- the keyrange
- the rangelimit
- the limit@Deprecated List<V> zrevrangebyscore(K key, double max, double min)
zrevrangebyscore(java.lang.Object, Range)
key
- the keymin
- min scoremax
- max score@Deprecated List<V> zrevrangebyscore(K key, String max, String min)
zrevrangebyscore(java.lang.Object, Range)
key
- the keymin
- min scoremax
- max scoreList<V> zrevrangebyscore(K key, Range<? extends Number> range)
key
- the keyrange
- the range@Deprecated List<V> zrevrangebyscore(K key, double max, double min, long offset, long count)
zrevrangebyscore(java.lang.Object, Range, Limit)
key
- the keymax
- max scoremin
- min scoreoffset
- the withscorescount
- the null@Deprecated List<V> zrevrangebyscore(K key, String max, String min, long offset, long count)
zrevrangebyscore(java.lang.Object, Range, Limit)
key
- the keymax
- max scoremin
- min scoreoffset
- the offsetcount
- the countList<V> zrevrangebyscore(K key, Range<? extends Number> range, Limit limit)
key
- the keyrange
- the rangelimit
- the limit@Deprecated Long zrevrangebyscore(ValueStreamingChannel<V> channel, K key, double max, double min)
zrevrangebyscore(java.lang.Object, Range)
channel
- streaming channel that receives a call for every valuekey
- the keymax
- max scoremin
- min score@Deprecated Long zrevrangebyscore(ValueStreamingChannel<V> channel, K key, String max, String min)
zrevrangebyscore(java.lang.Object, Range)
channel
- streaming channel that receives a call for every valuekey
- the keymin
- min scoremax
- max scoreLong zrevrangebyscore(ValueStreamingChannel<V> channel, K key, Range<? extends Number> range)
channel
- streaming channel that receives a call for every valuekey
- the keyrange
- the range@Deprecated Long zrevrangebyscore(ValueStreamingChannel<V> channel, K key, double max, double min, long offset, long count)
zrevrangebyscoreWithScores(java.lang.Object, Range, Limit)
channel
- streaming channel that receives a call for every valuekey
- the keymin
- min scoremax
- max scoreoffset
- the offsetcount
- the count@Deprecated Long zrevrangebyscore(ValueStreamingChannel<V> channel, K key, String max, String min, long offset, long count)
zrevrangebyscoreWithScores(java.lang.Object, Range, Limit)
channel
- streaming channel that receives a call for every valuekey
- the keymin
- min scoremax
- max scoreoffset
- the offsetcount
- the countLong zrevrangebyscore(ValueStreamingChannel<V> channel, K key, Range<? extends Number> range, Limit limit)
channel
- streaming channel that receives a call for every valuekey
- the keyrange
- the rangelimit
- the limit@Deprecated List<ScoredValue<V>> zrevrangebyscoreWithScores(K key, double max, double min)
zrevrangebyscoreWithScores(java.lang.Object, Range)
key
- the keymax
- max scoremin
- min score@Deprecated List<ScoredValue<V>> zrevrangebyscoreWithScores(K key, String max, String min)
zrevrangebyscoreWithScores(java.lang.Object, Range)
key
- the keymax
- max scoremin
- min scoreList<ScoredValue<V>> zrevrangebyscoreWithScores(K key, Range<? extends Number> range)
key
- the keyrange
- the range@Deprecated List<ScoredValue<V>> zrevrangebyscoreWithScores(K key, double max, double min, long offset, long count)
zrevrangebyscoreWithScores(java.lang.Object, Range, Limit)
key
- the keymax
- max scoremin
- min scoreoffset
- the offsetcount
- the count@Deprecated List<ScoredValue<V>> zrevrangebyscoreWithScores(K key, String max, String min, long offset, long count)
zrevrangebyscoreWithScores(java.lang.Object, Range, Limit)
key
- the keymax
- max scoremin
- min scoreoffset
- the offsetcount
- the countList<ScoredValue<V>> zrevrangebyscoreWithScores(K key, Range<? extends Number> range, Limit limit)
key
- the keyrange
- the rangelimit
- limit@Deprecated Long zrevrangebyscoreWithScores(ScoredValueStreamingChannel<V> channel, K key, double max, double min)
channel
- streaming channel that receives a call for every scored valuekey
- the keymin
- min scoremax
- max score@Deprecated Long zrevrangebyscoreWithScores(ScoredValueStreamingChannel<V> channel, K key, String max, String min)
channel
- streaming channel that receives a call for every scored valuekey
- the keymin
- min scoremax
- max scoreLong zrevrangebyscoreWithScores(ScoredValueStreamingChannel<V> channel, K key, Range<? extends Number> range)
channel
- streaming channel that receives a call for every scored valuekey
- the keyrange
- the range@Deprecated Long zrevrangebyscoreWithScores(ScoredValueStreamingChannel<V> channel, K key, double max, double min, long offset, long count)
zrevrangebyscoreWithScores(ScoredValueStreamingChannel, java.lang.Object, Range, Limit)
channel
- streaming channel that receives a call for every scored valuekey
- the keymin
- min scoremax
- max scoreoffset
- the offsetcount
- the count@Deprecated Long zrevrangebyscoreWithScores(ScoredValueStreamingChannel<V> channel, K key, String max, String min, long offset, long count)
zrevrangebyscoreWithScores(ScoredValueStreamingChannel, java.lang.Object, Range, Limit)
channel
- streaming channel that receives a call for every scored valuekey
- the keymin
- min scoremax
- max scoreoffset
- the offsetcount
- the countLong zrevrangebyscoreWithScores(ScoredValueStreamingChannel<V> channel, K key, Range<? extends Number> range, Limit limit)
channel
- streaming channel that receives a call for every scored valuekey
- the keyrange
- the rangelimit
- the limitLong zrevrank(K key, V member)
key
- the keymember
- the member type: valuemember
. If member
does not exist in the sorted set or key
does not exist,ScoredValueScanCursor<V> zscan(K key)
key
- the keyScoredValueScanCursor<V> zscan(K key, ScanArgs scanArgs)
key
- the keyscanArgs
- scan argumentsScoredValueScanCursor<V> zscan(K key, ScanCursor scanCursor, ScanArgs scanArgs)
key
- the keyscanCursor
- cursor to resume from a previous scan, must not be nullscanArgs
- scan argumentsScoredValueScanCursor<V> zscan(K key, ScanCursor scanCursor)
key
- the keyscanCursor
- cursor to resume from a previous scan, must not be nullStreamScanCursor zscan(ScoredValueStreamingChannel<V> channel, K key)
channel
- streaming channel that receives a call for every scored valuekey
- the keyStreamScanCursor zscan(ScoredValueStreamingChannel<V> channel, K key, ScanArgs scanArgs)
channel
- streaming channel that receives a call for every scored valuekey
- the keyscanArgs
- scan argumentsStreamScanCursor zscan(ScoredValueStreamingChannel<V> channel, K key, ScanCursor scanCursor, ScanArgs scanArgs)
channel
- streaming channel that receives a call for every scored valuekey
- the keyscanCursor
- cursor to resume from a previous scan, must not be nullscanArgs
- scan argumentsStreamScanCursor zscan(ScoredValueStreamingChannel<V> channel, K key, ScanCursor scanCursor)
channel
- streaming channel that receives a call for every scored valuekey
- the keyscanCursor
- cursor to resume from a previous scan, must not be nullDouble zscore(K key, V member)
key
- the keymember
- the member type: valuemember
(a double precision floating point number), represented as
string.Long zunionstore(K destination, K... keys)
destination
- destination keykeys
- source keysdestination
.Long zunionstore(K destination, ZStoreArgs storeArgs, K... keys)
destination
- the destinationstoreArgs
- the storeArgskeys
- the keysdestination
.Copyright © 2017 lettuce.io. All rights reserved.