Class ZRevRangeByScoreCommandKt
-
- All Implemented Interfaces:
public final class ZRevRangeByScoreCommandKt
-
-
Method Summary
Modifier and Type Method Description final static ValkeyRequestzrevrangebyscoreCommand(String key, ScoreBound max, ScoreBound min, ZRangeLimit limit, ElementSink<StreamWithLength> sink)final static ValkeyRequestzrevrangebyscoreWithScoresCommand(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 ValkeyRequest 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 ValkeyRequest zrevrangebyscoreWithScoresCommand(String key, ScoreBound max, ScoreBound min, ZRangeLimit limit, ScoredElementSink<StreamWithLength> sink)
Same as zrevrangebyscoreCommand, but with the score of each member.
-
-
-
-