Class ZRevRangeByScoreCommandKt
-
- All Implemented Interfaces:
public final class ZRevRangeByScoreCommandKt
-
-
Method Summary
Modifier and Type Method Description final static RedisRequestzrevrangebyscoreCommand(String key, ScoreBound max, ScoreBound min, ZRangeLimit limit, ElementSink<StreamWithLength> sink)final static RedisRequestzrevrangebyscoreWithScoresCommand(String key, ScoreBound max, ScoreBound min, ZRangeLimit limit, ScoredElementSink<StreamWithLength> sink)Same as zrevrangebyscoreCommand, but with the score of each member. -
-
Method Detail
-
zrevrangebyscoreCommand
final static RedisRequest zrevrangebyscoreCommand(String key, ScoreBound max, ScoreBound min, ZRangeLimit limit, ElementSink<StreamWithLength> sink)
- Parameters:
limit-optional, skip and limit the matching members
sink-called once per member with a score between max and min, highest score first (none if the key does not exist). The stream is read directly from the connection and is only valid until the callback returns, unread parts are skipped.
-
zrevrangebyscoreWithScoresCommand
final static RedisRequest zrevrangebyscoreWithScoresCommand(String key, ScoreBound max, ScoreBound min, ZRangeLimit limit, ScoredElementSink<StreamWithLength> sink)
Same as zrevrangebyscoreCommand, but with the score of each member.
-
-
-
-