Class ZScanKt
-
- All Implemented Interfaces:
public final class ZScanKt
-
-
Method Summary
-
-
Method Detail
-
zscanString
final static ScanResult<Pair<String, Double>> zscanString(RedisConnection $self, String key, String cursor, String match, Long count)
-
zscanString
final static ScanResult<Pair<String, Double>> zscanString(RedisConnectionPool $self, String key, String cursor, String match, Long count)
-
zscanString
final static Unit zscanString(RedisPipelineBuilder $self, String key, String cursor, String match, Long count, Function1<ScanResult<Pair<String, Double>>, Unit> onResult)
- Parameters:
cursor-"0" to start a new iteration, otherwise ScanResult.cursor of the previous call
match-optional, only return members matching this glob-style pattern
count-optional, hint for how many members to return per call
onResult-called with the next cursor and the members of this page with their scores. A member may be returned more than once during a full iteration.
-
zscanBytes
final static ScanResult<Pair<ByteArray, Double>> zscanBytes(RedisConnection $self, String key, String cursor, ByteArray match, Long count)
-
zscanBytes
final static ScanResult<Pair<ByteArray, Double>> zscanBytes(RedisConnectionPool $self, String key, String cursor, ByteArray match, Long count)
-
zscanBytes
final static Unit zscanBytes(RedisPipelineBuilder $self, String key, String cursor, ByteArray match, Long count, Function1<ScanResult<Pair<ByteArray, Double>>, Unit> onResult)
-
zscanStreaming
final static Unit zscanStreaming(RedisConnection $self, String key, String cursor, StreamWithLength match, Long count, Function1<String, Unit> onCursor, ScoredElementSink<StreamWithLength> sink)
-
zscanStreaming
final static Unit zscanStreaming(RedisPipelineBuilder $self, String key, String cursor, StreamWithLength match, Long count, Function1<String, Unit> onCursor, ScoredElementSink<StreamWithLength> sink)
-
-
-
-