Class ZRangeByScoreCommandKt
-
- All Implemented Interfaces:
public final class ZRangeByScoreCommandKt
-
-
Method Summary
Modifier and Type Method Description final static RedisRequestzrangebyscoreCommand(String key, ScoreBound min, ScoreBound max, ZRangeLimit limit, ElementSink<StreamWithLength> sink)final static RedisRequestzrangebyscoreWithScoresCommand(String key, ScoreBound min, ScoreBound max, ZRangeLimit limit, ScoredElementSink<StreamWithLength> sink)Same as zrangebyscoreCommand, but with the score of each member. -
-
Method Detail
-
zrangebyscoreCommand
final static RedisRequest zrangebyscoreCommand(String key, ScoreBound min, ScoreBound max, ZRangeLimit limit, ElementSink<StreamWithLength> sink)
- Parameters:
limit-optional, skip and limit the matching members
sink-called once per member with a score between min and max, lowest 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.
-
zrangebyscoreWithScoresCommand
final static RedisRequest zrangebyscoreWithScoresCommand(String key, ScoreBound min, ScoreBound max, ZRangeLimit limit, ScoredElementSink<StreamWithLength> sink)
Same as zrangebyscoreCommand, but with the score of each member.
-
-
-
-