K
- Key type.V
- Value type.public interface RedisSortedSetReactiveCommands<K,V>
Modifier and Type | Method and Description |
---|---|
Observable<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.
|
Observable<Long> |
zadd(K key,
Object... scoresAndValues)
Add one or more members to a sorted set, or update its score if it already exists.
|
Observable<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.
|
Observable<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.
|
Observable<Double> |
zaddincr(K key,
double score,
V member)
ZADD acts like ZINCRBY
|
Observable<Long> |
zcard(K key)
Get the number of members in a sorted set.
|
Observable<Long> |
zcount(K key,
double min,
double max)
Count the members in a sorted set with scores within the given values.
|
Observable<Long> |
zcount(K key,
String min,
String max)
Count the members in a sorted set with scores within the given values.
|
Observable<Double> |
zincrby(K key,
double amount,
K member)
Increment the score of a member in a sorted set.
|
Observable<Long> |
zinterstore(K destination,
K... keys)
Intersect multiple sorted sets and store the resulting sorted set in a new key.
|
Observable<Long> |
zinterstore(K destination,
ZStoreArgs storeArgs,
K... keys)
Intersect multiple sorted sets and store the resulting sorted set in a new key.
|
Observable<Long> |
zlexcount(K key,
String min,
String max)
Count the number of members in a sorted set between a given lexicographical range.
|
Observable<V> |
zrange(K key,
long start,
long stop)
Return a range of members in a sorted set, by index.
|
Observable<Long> |
zrange(ValueStreamingChannel<V> channel,
K key,
long start,
long stop)
Return a range of members in a sorted set, by index.
|
Observable<V> |
zrangebylex(K key,
String min,
String max)
Return a range of members in a sorted set, by lexicographical range.
|
Observable<V> |
zrangebylex(K key,
String min,
String max,
long offset,
long count)
Return a range of members in a sorted set, by lexicographical range.
|
Observable<V> |
zrangebyscore(K key,
double min,
double max)
Return a range of members in a sorted set, by score.
|
Observable<V> |
zrangebyscore(K key,
double min,
double max,
long offset,
long count)
Return a range of members in a sorted set, by score.
|
Observable<V> |
zrangebyscore(K key,
String min,
String max)
Return a range of members in a sorted set, by score.
|
Observable<V> |
zrangebyscore(K key,
String min,
String max,
long offset,
long count)
Return a range of members in a sorted set, by score.
|
Observable<Long> |
zrangebyscore(ValueStreamingChannel<V> channel,
K key,
double min,
double max)
Stream over a range of members in a sorted set, by score.
|
Observable<Long> |
zrangebyscore(ValueStreamingChannel<V> channel,
K key,
double min,
double max,
long offset,
long count)
Stream over range of members in a sorted set, by score.
|
Observable<Long> |
zrangebyscore(ValueStreamingChannel<V> channel,
K key,
String min,
String max)
Stream over a range of members in a sorted set, by score.
|
Observable<Long> |
zrangebyscore(ValueStreamingChannel<V> channel,
K key,
String min,
String max,
long offset,
long count)
Stream over a range of members in a sorted set, by score.
|
Observable<ScoredValue<V>> |
zrangebyscoreWithScores(K key,
double min,
double max)
Return a range of members with score in a sorted set, by score.
|
Observable<ScoredValue<V>> |
zrangebyscoreWithScores(K key,
double min,
double max,
long offset,
long count)
Return a range of members with score in a sorted set, by score.
|
Observable<ScoredValue<V>> |
zrangebyscoreWithScores(K key,
String min,
String max)
Return a range of members with score in a sorted set, by score.
|
Observable<ScoredValue<V>> |
zrangebyscoreWithScores(K key,
String min,
String max,
long offset,
long count)
Return a range of members with score in a sorted set, by score.
|
Observable<Long> |
zrangebyscoreWithScores(ScoredValueStreamingChannel<V> channel,
K key,
double min,
double max)
Stream over a range of members with scores in a sorted set, by score.
|
Observable<Long> |
zrangebyscoreWithScores(ScoredValueStreamingChannel<V> channel,
K key,
double min,
double max,
long offset,
long count)
Stream over a range of members with scores in a sorted set, by score.
|
Observable<Long> |
zrangebyscoreWithScores(ScoredValueStreamingChannel<V> channel,
K key,
String min,
String max)
Stream over a range of members with scores in a sorted set, by score.
|
Observable<Long> |
zrangebyscoreWithScores(ScoredValueStreamingChannel<V> channel,
K key,
String min,
String max,
long offset,
long count)
Stream over a range of members with scores in a sorted set, by score.
|
Observable<ScoredValue<V>> |
zrangeWithScores(K key,
long start,
long stop)
Return a range of members with scores in a sorted set, by index.
|
Observable<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.
|
Observable<Long> |
zrank(K key,
V member)
Determine the index of a member in a sorted set.
|
Observable<Long> |
zrem(K key,
V... members)
Remove one or more members from a sorted set.
|
Observable<Long> |
zremrangebylex(K key,
String min,
String max)
Remove all members in a sorted set between the given lexicographical range.
|
Observable<Long> |
zremrangebyrank(K key,
long start,
long stop)
Remove all members in a sorted set within the given indexes.
|
Observable<Long> |
zremrangebyscore(K key,
double min,
double max)
Remove all members in a sorted set within the given scores.
|
Observable<Long> |
zremrangebyscore(K key,
String min,
String max)
Remove all members in a sorted set within the given scores.
|
Observable<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.
|
Observable<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.
|
Observable<V> |
zrevrangebyscore(K key,
double max,
double min)
Return a range of members in a sorted set, by score, with scores ordered from high to low.
|
Observable<V> |
zrevrangebyscore(K key,
double max,
double min,
long offset,
long count)
Return a range of members in a sorted set, by score, with scores ordered from high to low.
|
Observable<V> |
zrevrangebyscore(K key,
String max,
String min)
Return a range of members in a sorted set, by score, with scores ordered from high to low.
|
Observable<V> |
zrevrangebyscore(K key,
String max,
String min,
long offset,
long count)
Return a range of members in a sorted set, by score, with scores ordered from high to low.
|
Observable<Long> |
zrevrangebyscore(ValueStreamingChannel<V> channel,
K key,
double max,
double min)
Stream over a range of members in a sorted set, by score, with scores ordered from high to low.
|
Observable<Long> |
zrevrangebyscore(ValueStreamingChannel<V> channel,
K key,
double max,
double min,
long offset,
long count)
Stream over a range of members in a sorted set, by score, with scores ordered from high to low.
|
Observable<Long> |
zrevrangebyscore(ValueStreamingChannel<V> channel,
K key,
String max,
String min)
Stream over a range of members in a sorted set, by score, with scores ordered from high to low.
|
Observable<Long> |
zrevrangebyscore(ValueStreamingChannel<V> channel,
K key,
String max,
String min,
long offset,
long count)
Stream over a range of members in a sorted set, by score, with scores ordered from high to low.
|
Observable<ScoredValue<V>> |
zrevrangebyscoreWithScores(K key,
double max,
double min)
Return a range of members with scores in a sorted set, by score, with scores ordered from high to low.
|
Observable<ScoredValue<V>> |
zrevrangebyscoreWithScores(K key,
double max,
double min,
long offset,
long count)
Return a range of members with scores in a sorted set, by score, with scores ordered from high to low.
|
Observable<ScoredValue<V>> |
zrevrangebyscoreWithScores(K key,
String max,
String min)
Return a range of members with scores in a sorted set, by score, with scores ordered from high to low.
|
Observable<ScoredValue<V>> |
zrevrangebyscoreWithScores(K key,
String max,
String min,
long offset,
long count)
Return a range of members with scores in a sorted set, by score, with scores ordered from high to low.
|
Observable<Long> |
zrevrangebyscoreWithScores(ScoredValueStreamingChannel<V> channel,
K key,
double max,
double min)
Stream over a range of members with scores in a sorted set, by score, with scores ordered from high to low.
|
Observable<Long> |
zrevrangebyscoreWithScores(ScoredValueStreamingChannel<V> channel,
K key,
double max,
double min,
long offset,
long count)
Stream over a range of members with scores in a sorted set, by score, with scores ordered from high to low.
|
Observable<Long> |
zrevrangebyscoreWithScores(ScoredValueStreamingChannel<V> channel,
K key,
String max,
String min)
Stream over a range of members with scores in a sorted set, by score, with scores ordered from high to low.
|
Observable<Long> |
zrevrangebyscoreWithScores(ScoredValueStreamingChannel<V> channel,
K key,
String max,
String min,
long offset,
long count)
Stream over a range of members with scores in a sorted set, by score, with scores ordered from high to low.
|
Observable<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.
|
Observable<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.
|
Observable<Long> |
zrevrank(K key,
V member)
Determine the index of a member in a sorted set, with scores ordered from high to low.
|
Observable<ScoredValueScanCursor<V>> |
zscan(K key)
Incrementally iterate sorted sets elements and associated scores.
|
Observable<ScoredValueScanCursor<V>> |
zscan(K key,
ScanArgs scanArgs)
Incrementally iterate sorted sets elements and associated scores.
|
Observable<ScoredValueScanCursor<V>> |
zscan(K key,
ScanCursor scanCursor)
Incrementally iterate sorted sets elements and associated scores.
|
Observable<ScoredValueScanCursor<V>> |
zscan(K key,
ScanCursor scanCursor,
ScanArgs scanArgs)
Incrementally iterate sorted sets elements and associated scores.
|
Observable<StreamScanCursor> |
zscan(ScoredValueStreamingChannel<V> channel,
K key)
Incrementally iterate sorted sets elements and associated scores.
|
Observable<StreamScanCursor> |
zscan(ScoredValueStreamingChannel<V> channel,
K key,
ScanArgs scanArgs)
Incrementally iterate sorted sets elements and associated scores.
|
Observable<StreamScanCursor> |
zscan(ScoredValueStreamingChannel<V> channel,
K key,
ScanCursor scanCursor)
Incrementally iterate sorted sets elements and associated scores.
|
Observable<StreamScanCursor> |
zscan(ScoredValueStreamingChannel<V> channel,
K key,
ScanCursor scanCursor,
ScanArgs scanArgs)
Incrementally iterate sorted sets elements and associated scores.
|
Observable<Double> |
zscore(K key,
V member)
Get the score associated with the given member in a sorted set.
|
Observable<Long> |
zunionstore(K destination,
K... keys)
Add multiple sorted sets and store the resulting sorted set in a new key.
|
Observable<Long> |
zunionstore(K destination,
ZStoreArgs storeArgs,
K... keys)
Add multiple sorted sets and store the resulting sorted set in a new key.
|
Observable<Long> zadd(K key, double score, V member)
key
- the keyscore
- the scoremember
- the memberObservable<Long> zadd(K key, Object... scoresAndValues)
key
- the keyscoresAndValues
- the scoresAndValue tuples (score,value,score,value,...)Observable<Long> zadd(K key, ZAddArgs zAddArgs, double score, V member)
key
- the keyzAddArgs
- arguments for zaddscore
- the scoremember
- the memberObservable<Long> zadd(K key, ZAddArgs zAddArgs, Object... scoresAndValues)
key
- the keyzAddArgs
- arguments for zaddscoresAndValues
- the scoresAndValue tuples (score,value,score,value,...)Observable<Double> zaddincr(K key, double score, V member)
key
- the keyscore
- the scoremember
- the memberObservable<Long> zcard(K key)
key
- the keykey
does not exist.Observable<Long> zcount(K key, double min, double max)
key
- the keymin
- min scoremax
- max scoreObservable<Long> zcount(K key, String min, String max)
key
- the keymin
- min scoremax
- max scoreObservable<Double> 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.Observable<Long> zinterstore(K destination, K... keys)
destination
- the destinationkeys
- the keysdestination
.Observable<Long> zinterstore(K destination, ZStoreArgs storeArgs, K... keys)
destination
- the destinationstoreArgs
- the storeArgskeys
- the keysdestination
.Observable<V> zrange(K key, long start, long stop)
key
- the keystart
- the startstop
- the stopObservable<ScoredValue<V>> zrangeWithScores(K key, long start, long stop)
key
- the keystart
- the startstop
- the stopObservable<V> zrangebyscore(K key, double min, double max)
key
- the keymin
- min scoremax
- max scoreObservable<V> zrangebyscore(K key, String min, String max)
key
- the keymin
- min scoremax
- max scoreObservable<V> zrangebyscore(K key, double min, double max, long offset, long count)
key
- the keymin
- min scoremax
- max scoreoffset
- the offsetcount
- the countObservable<V> zrangebyscore(K key, String min, String max, long offset, long count)
key
- the keymin
- min scoremax
- max scoreoffset
- the offsetcount
- the countObservable<ScoredValue<V>> zrangebyscoreWithScores(K key, double min, double max)
key
- the keymin
- min scoremax
- max scoreObservable<ScoredValue<V>> zrangebyscoreWithScores(K key, String min, String max)
key
- the keymin
- min scoremax
- max scoreObservable<ScoredValue<V>> zrangebyscoreWithScores(K key, double min, double max, long offset, long count)
key
- the keymin
- min scoremax
- max scoreoffset
- the offsetcount
- the countObservable<ScoredValue<V>> zrangebyscoreWithScores(K key, String min, String max, long offset, long count)
key
- the keymin
- min scoremax
- max scoreoffset
- the offsetcount
- the countObservable<Long> 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 stopObservable<Long> 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 stopObservable<Long> zrangebyscore(ValueStreamingChannel<V> channel, K key, double min, double max)
channel
- streaming channel that receives a call for every valuekey
- the keymin
- min scoremax
- max scoreObservable<Long> zrangebyscore(ValueStreamingChannel<V> channel, K key, String min, String max)
channel
- streaming channel that receives a call for every valuekey
- the keymin
- min scoremax
- max scoreObservable<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 countObservable<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 countObservable<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 scoreObservable<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 scoreObservable<Long> zrangebyscoreWithScores(ScoredValueStreamingChannel<V> channel, K key, double min, double max, long offset, long count)
channel
- streaming channel that receives a call for every scored valuekey
- the keymin
- min scoremax
- max scoreoffset
- the offsetcount
- the countObservable<Long> zrangebyscoreWithScores(ScoredValueStreamingChannel<V> channel, K key, String min, String max, long offset, long count)
channel
- streaming channel that receives a call for every scored valuekey
- the keymin
- min scoremax
- max scoreoffset
- the offsetcount
- the countObservable<Long> 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,Observable<Long> zrem(K key, V... members)
key
- the keymembers
- the member type: valueObservable<Long> zremrangebyrank(K key, long start, long stop)
key
- the keystart
- the start type: longstop
- the stop type: longObservable<Long> zremrangebyscore(K key, double min, double max)
key
- the keymin
- min scoremax
- max scoreObservable<Long> zremrangebyscore(K key, String min, String max)
key
- the keymin
- min scoremax
- max scoreObservable<V> zrevrange(K key, long start, long stop)
key
- the keystart
- the startstop
- the stopObservable<ScoredValue<V>> zrevrangeWithScores(K key, long start, long stop)
key
- the keystart
- the startstop
- the stopObservable<V> zrevrangebyscore(K key, double max, double min)
key
- the keymin
- min scoremax
- max scoreObservable<V> zrevrangebyscore(K key, String max, String min)
key
- the keymin
- min scoremax
- max scoreObservable<V> zrevrangebyscore(K key, double max, double min, long offset, long count)
key
- the keymax
- max scoremin
- min scoreoffset
- the withscorescount
- the nullObservable<V> zrevrangebyscore(K key, String max, String min, long offset, long count)
key
- the keymax
- max scoremin
- min scoreoffset
- the offsetcount
- the countObservable<ScoredValue<V>> zrevrangebyscoreWithScores(K key, double max, double min)
key
- the keymax
- max scoremin
- min scoreObservable<ScoredValue<V>> zrevrangebyscoreWithScores(K key, String max, String min)
key
- the keymax
- max scoremin
- min scoreObservable<ScoredValue<V>> zrevrangebyscoreWithScores(K key, double max, double min, long offset, long count)
key
- the keymax
- max scoremin
- min scoreoffset
- the offsetcount
- the countObservable<ScoredValue<V>> zrevrangebyscoreWithScores(K key, String max, String min, long offset, long count)
key
- the keymax
- max scoremin
- min scoreoffset
- the offsetcount
- the countObservable<Long> 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 stopObservable<Long> 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 stopObservable<Long> zrevrangebyscore(ValueStreamingChannel<V> channel, K key, double max, double min)
channel
- streaming channel that receives a call for every valuekey
- the keymax
- max scoremin
- min scoreObservable<Long> zrevrangebyscore(ValueStreamingChannel<V> channel, K key, String max, String min)
channel
- streaming channel that receives a call for every valuekey
- the keymin
- min scoremax
- max scoreObservable<Long> zrevrangebyscore(ValueStreamingChannel<V> channel, K key, double max, double min, long offset, long count)
channel
- streaming channel that receives a call for every valuekey
- the keymin
- min scoremax
- max scoreoffset
- the offsetcount
- the countObservable<Long> zrevrangebyscore(ValueStreamingChannel<V> channel, K key, String max, String min, long offset, long count)
channel
- streaming channel that receives a call for every valuekey
- the keymin
- min scoremax
- max scoreoffset
- the offsetcount
- the countObservable<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 scoreObservable<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 scoreObservable<Long> zrevrangebyscoreWithScores(ScoredValueStreamingChannel<V> channel, K key, double max, double min, long offset, long count)
channel
- streaming channel that receives a call for every scored valuekey
- the keymin
- min scoremax
- max scoreoffset
- the offsetcount
- the countObservable<Long> zrevrangebyscoreWithScores(ScoredValueStreamingChannel<V> channel, K key, String max, String min, long offset, long count)
channel
- streaming channel that receives a call for every scored valuekey
- the keymin
- min scoremax
- max scoreoffset
- the offsetcount
- the countObservable<Long> 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,Observable<Double> zscore(K key, V member)
key
- the keymember
- the member type: valuemember
(a double precision floating point number), represented as
string.Observable<Long> zunionstore(K destination, K... keys)
destination
- destination keykeys
- source keysdestination
.Observable<Long> zunionstore(K destination, ZStoreArgs storeArgs, K... keys)
destination
- the destinationstoreArgs
- the storeArgskeys
- the keysdestination
.Observable<ScoredValueScanCursor<V>> zscan(K key)
key
- the keyObservable<ScoredValueScanCursor<V>> zscan(K key, ScanArgs scanArgs)
key
- the keyscanArgs
- scan argumentsObservable<ScoredValueScanCursor<V>> zscan(K key, ScanCursor scanCursor, ScanArgs scanArgs)
key
- the keyscanCursor
- cursor to resume from a previous scanscanArgs
- scan argumentsObservable<ScoredValueScanCursor<V>> zscan(K key, ScanCursor scanCursor)
key
- the keyscanCursor
- cursor to resume from a previous scanObservable<StreamScanCursor> zscan(ScoredValueStreamingChannel<V> channel, K key)
channel
- streaming channel that receives a call for every scored valuekey
- the keyObservable<StreamScanCursor> zscan(ScoredValueStreamingChannel<V> channel, K key, ScanArgs scanArgs)
channel
- streaming channel that receives a call for every scored valuekey
- the keyscanArgs
- scan argumentsObservable<StreamScanCursor> 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 scanscanArgs
- scan argumentsObservable<StreamScanCursor> 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 scanObservable<Long> zlexcount(K key, String min, String max)
key
- the keymin
- min scoremax
- max scoreObservable<Long> zremrangebylex(K key, String min, String max)
key
- the keymin
- min scoremax
- max scoreObservable<V> zrangebylex(K key, String min, String max)
key
- the keymin
- min scoremax
- max scoreObservable<V> zrangebylex(K key, String min, String max, long offset, long count)
key
- the keymin
- min scoremax
- max scoreoffset
- the offsetcount
- the countCopyright © 2016. All rights reserved.