Class LPosKt
-
- All Implemented Interfaces:
public final class LPosKt
-
-
Method Summary
Modifier and Type Method Description final static List<Long>lpos(RedisConnection $self, String key, String element, Long rank, Long count, Long maxLen)final static List<Long>lpos(RedisConnection $self, String key, ByteArray element, Long rank, Long count, Long maxLen)final static List<Long>lpos(RedisConnectionPool $self, String key, String element, Long rank, Long count, Long maxLen)final static List<Long>lpos(RedisConnectionPool $self, String key, ByteArray element, Long rank, Long count, Long maxLen)final static Unitlpos(RedisPipelineBuilder $self, String key, String element, Long rank, Long count, Long maxLen, Function1<List<Long>, Unit> onResult)final static Unitlpos(RedisPipelineBuilder $self, String key, ByteArray element, Long rank, Long count, Long maxLen, Function1<List<Long>, Unit> onResult)final static List<Long>lposStreaming(RedisConnection $self, String key, StreamWithLength element, Long rank, Long count, Long maxLen)final static List<Long>lposStreaming(RedisConnectionPool $self, String key, StreamWithLength element, Long rank, Long count, Long maxLen)final static UnitlposStreaming(RedisPipelineBuilder $self, String key, StreamWithLength element, Long rank, Long count, Long maxLen, Function1<List<Long>, Unit> onResult)-
-
Method Detail
-
lpos
final static List<Long> lpos(RedisConnection $self, String key, String element, Long rank, Long count, Long maxLen)
-
lpos
final static List<Long> lpos(RedisConnection $self, String key, ByteArray element, Long rank, Long count, Long maxLen)
-
lpos
final static List<Long> lpos(RedisConnectionPool $self, String key, String element, Long rank, Long count, Long maxLen)
-
lpos
final static List<Long> lpos(RedisConnectionPool $self, String key, ByteArray element, Long rank, Long count, Long maxLen)
-
lpos
final static Unit lpos(RedisPipelineBuilder $self, String key, String element, Long rank, Long count, Long maxLen, Function1<List<Long>, Unit> onResult)
- Parameters:
count-optional, the maximum number of matches to return, 0 returns all matches. If not set, at most one match is returned
onResult-called with the indexes of the matching elements (empty if there is no match)
-
lpos
final static Unit lpos(RedisPipelineBuilder $self, String key, ByteArray element, Long rank, Long count, Long maxLen, Function1<List<Long>, Unit> onResult)
-
lposStreaming
final static List<Long> lposStreaming(RedisConnection $self, String key, StreamWithLength element, Long rank, Long count, Long maxLen)
-
lposStreaming
final static List<Long> lposStreaming(RedisConnectionPool $self, String key, StreamWithLength element, Long rank, Long count, Long maxLen)
-
lposStreaming
final static Unit lposStreaming(RedisPipelineBuilder $self, String key, StreamWithLength element, Long rank, Long count, Long maxLen, Function1<List<Long>, Unit> onResult)
-
-
-
-