Class ZRangeStoreKt
-
- All Implemented Interfaces:
public final class ZRangeStoreKt
-
-
Method Summary
Modifier and Type Method Description final static Longzrangestore(RedisConnection $self, String destination, String source, ZRange range, Boolean rev, ZRangeLimit limit)final static Longzrangestore(RedisConnectionPool $self, String destination, String source, ZRange range, Boolean rev, ZRangeLimit limit)final static Unitzrangestore(RedisPipelineBuilder $self, String destination, String source, ZRange range, Boolean rev, ZRangeLimit limit, Function1<Long, Unit> onResult)Stores the members of source within range in destination, replacing it. -
-
Method Detail
-
zrangestore
final static Long zrangestore(RedisConnection $self, String destination, String source, ZRange range, Boolean rev, ZRangeLimit limit)
-
zrangestore
final static Long zrangestore(RedisConnectionPool $self, String destination, String source, ZRange range, Boolean rev, ZRangeLimit limit)
-
zrangestore
final static Unit zrangestore(RedisPipelineBuilder $self, String destination, String source, ZRange range, Boolean rev, ZRangeLimit limit, Function1<Long, Unit> onResult)
Stores the members of source within range in destination, replacing it.
- Parameters:
rev-if true, the members are ordered from highest to lowest score and range must have the upper bound first
limit-optional, only supported for ranges by score or lex
onResult-called with the number of members in destination
-
-
-
-