Class LPosKt
-
- All Implemented Interfaces:
public final class LPosKt
-
-
Method Summary
Modifier and Type Method Description final static List<Long>lpos(ValkeyConnection $self, String key, String element, Long rank, Long count, Long maxLen)final static List<Long>lpos(ValkeyConnection $self, String key, ByteArray element, Long rank, Long count, Long maxLen)final static List<Long>lpos(ValkeyConnectionPool $self, String key, String element, Long rank, Long count, Long maxLen)final static List<Long>lpos(ValkeyConnectionPool $self, String key, ByteArray element, Long rank, Long count, Long maxLen)final static Unitlpos(ValkeyPipelineBuilder $self, String key, String element, Long rank, Long count, Long maxLen, Function1<List<Long>, Unit> onResult)final static Unitlpos(ValkeyPipelineBuilder $self, String key, ByteArray element, Long rank, Long count, Long maxLen, Function1<List<Long>, Unit> onResult)final static List<Long>lposStreaming(ValkeyConnection $self, String key, StreamWithLength element, Long rank, Long count, Long maxLen)final static List<Long>lposStreaming(ValkeyConnectionPool $self, String key, StreamWithLength element, Long rank, Long count, Long maxLen)final static UnitlposStreaming(ValkeyPipelineBuilder $self, String key, StreamWithLength element, Long rank, Long count, Long maxLen, Function1<List<Long>, Unit> onResult)-
-
Method Detail
-
lpos
final static List<Long> lpos(ValkeyConnection $self, String key, String element, Long rank, Long count, Long maxLen)
-
lpos
final static List<Long> lpos(ValkeyConnection $self, String key, ByteArray element, Long rank, Long count, Long maxLen)
-
lpos
final static List<Long> lpos(ValkeyConnectionPool $self, String key, String element, Long rank, Long count, Long maxLen)
-
lpos
final static List<Long> lpos(ValkeyConnectionPool $self, String key, ByteArray element, Long rank, Long count, Long maxLen)
-
lpos
final static Unit lpos(ValkeyPipelineBuilder $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(ValkeyPipelineBuilder $self, String key, ByteArray element, Long rank, Long count, Long maxLen, Function1<List<Long>, Unit> onResult)
-
lposStreaming
final static List<Long> lposStreaming(ValkeyConnection $self, String key, StreamWithLength element, Long rank, Long count, Long maxLen)
-
lposStreaming
final static List<Long> lposStreaming(ValkeyConnectionPool $self, String key, StreamWithLength element, Long rank, Long count, Long maxLen)
-
lposStreaming
final static Unit lposStreaming(ValkeyPipelineBuilder $self, String key, StreamWithLength element, Long rank, Long count, Long maxLen, Function1<List<Long>, Unit> onResult)
-
-
-
-