Class ZRevRangeCommandKt
-
- All Implemented Interfaces:
public final class ZRevRangeCommandKt
-
-
Method Summary
Modifier and Type Method Description final static RedisRequestzrevrangeCommand(String key, Long start, Long stop, ElementSink<StreamWithLength> sink)final static RedisRequestzrevrangeWithScoresCommand(String key, Long start, Long stop, ScoredElementSink<StreamWithLength> sink)Same as zrevrangeCommand, but with the score of each member. -
-
Method Detail
-
zrevrangeCommand
final static RedisRequest zrevrangeCommand(String key, Long start, Long stop, ElementSink<StreamWithLength> sink)
- Parameters:
start-0 is the member with the highest score, negative values count from the member with the lowest score
stop-inclusive, same semantics as start
sink-called once per member in the range, 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.
-
zrevrangeWithScoresCommand
final static RedisRequest zrevrangeWithScoresCommand(String key, Long start, Long stop, ScoredElementSink<StreamWithLength> sink)
Same as zrevrangeCommand, but with the score of each member.
-
-
-
-