Class ArGrepKt
-
- All Implemented Interfaces:
public final class ArGrepKt
-
-
Method Summary
-
-
Method Detail
-
argrep
final static List<Long> argrep(RedisConnection $self, String key, Long start, Long end, Pair<ArGrepPredicate, String> predicates, ArGrepCombine combine, Long limit, Boolean nocase)
-
argrep
final static List<Long> argrep(RedisConnection $self, String key, Long start, Long end, Collection<Pair<ArGrepPredicate, String>> predicates, ArGrepCombine combine, Long limit, Boolean nocase)
-
argrep
final static List<Long> argrep(RedisConnectionPool $self, String key, Long start, Long end, Pair<ArGrepPredicate, String> predicates, ArGrepCombine combine, Long limit, Boolean nocase)
-
argrep
final static List<Long> argrep(RedisConnectionPool $self, String key, Long start, Long end, Collection<Pair<ArGrepPredicate, String>> predicates, ArGrepCombine combine, Long limit, Boolean nocase)
-
argrep
final static Unit argrep(RedisPipelineBuilder $self, String key, Long start, Long end, Pair<ArGrepPredicate, String> predicates, ArGrepCombine combine, Long limit, Boolean nocase, Function1<List<Long>, Unit> onResult)
-
argrep
final static Unit argrep(RedisPipelineBuilder $self, String key, Long start, Long end, Collection<Pair<ArGrepPredicate, String>> predicates, ArGrepCombine combine, Long limit, Boolean nocase, Function1<List<Long>, Unit> onResult)
- Parameters:
start-inclusive, may be greater than end to search in reverse order
end-inclusive
predicates-one or more predicates the value of an element is tested against
combine-optional, how multiple predicates are combined (defaults to OR)
limit-optional, the maximum number of matches to return
nocase-if true, the predicates are case-insensitive
onResult-called with the indices of the matching elements
-
argrepBytes
final static List<Long> argrepBytes(RedisConnection $self, String key, Long start, Long end, Pair<ArGrepPredicate, ByteArray> predicates, ArGrepCombine combine, Long limit, Boolean nocase)
-
argrepBytes
final static List<Long> argrepBytes(RedisConnection $self, String key, Long start, Long end, Collection<Pair<ArGrepPredicate, ByteArray>> predicates, ArGrepCombine combine, Long limit, Boolean nocase)
-
argrepBytes
final static List<Long> argrepBytes(RedisConnectionPool $self, String key, Long start, Long end, Pair<ArGrepPredicate, ByteArray> predicates, ArGrepCombine combine, Long limit, Boolean nocase)
-
argrepBytes
final static List<Long> argrepBytes(RedisConnectionPool $self, String key, Long start, Long end, Collection<Pair<ArGrepPredicate, ByteArray>> predicates, ArGrepCombine combine, Long limit, Boolean nocase)
-
argrepBytes
final static Unit argrepBytes(RedisPipelineBuilder $self, String key, Long start, Long end, Pair<ArGrepPredicate, ByteArray> predicates, ArGrepCombine combine, Long limit, Boolean nocase, Function1<List<Long>, Unit> onResult)
-
argrepBytes
final static Unit argrepBytes(RedisPipelineBuilder $self, String key, Long start, Long end, Collection<Pair<ArGrepPredicate, ByteArray>> predicates, ArGrepCombine combine, Long limit, Boolean nocase, Function1<List<Long>, Unit> onResult)
-
argrepStreaming
final static List<Long> argrepStreaming(RedisConnection $self, String key, Long start, Long end, Collection<Pair<ArGrepPredicate, StreamWithLength>> predicates, ArGrepCombine combine, Long limit, Boolean nocase)
-
argrepStreaming
final static List<Long> argrepStreaming(RedisConnectionPool $self, String key, Long start, Long end, Collection<Pair<ArGrepPredicate, StreamWithLength>> predicates, ArGrepCombine combine, Long limit, Boolean nocase)
-
argrepStreaming
final static Unit argrepStreaming(RedisPipelineBuilder $self, String key, Long start, Long end, Collection<Pair<ArGrepPredicate, StreamWithLength>> predicates, ArGrepCombine combine, Long limit, Boolean nocase, Function1<List<Long>, Unit> onResult)
-
argrepWithValuesString
final static List<Pair<Long, String>> argrepWithValuesString(RedisConnection $self, String key, Long start, Long end, Pair<ArGrepPredicate, String> predicates, ArGrepCombine combine, Long limit, Boolean nocase)
-
argrepWithValuesString
final static List<Pair<Long, String>> argrepWithValuesString(RedisConnection $self, String key, Long start, Long end, Collection<Pair<ArGrepPredicate, String>> predicates, ArGrepCombine combine, Long limit, Boolean nocase)
-
argrepWithValuesString
final static List<Pair<Long, String>> argrepWithValuesString(RedisConnectionPool $self, String key, Long start, Long end, Pair<ArGrepPredicate, String> predicates, ArGrepCombine combine, Long limit, Boolean nocase)
-
argrepWithValuesString
final static List<Pair<Long, String>> argrepWithValuesString(RedisConnectionPool $self, String key, Long start, Long end, Collection<Pair<ArGrepPredicate, String>> predicates, ArGrepCombine combine, Long limit, Boolean nocase)
-
argrepWithValuesString
final static Unit argrepWithValuesString(RedisPipelineBuilder $self, String key, Long start, Long end, Pair<ArGrepPredicate, String> predicates, ArGrepCombine combine, Long limit, Boolean nocase, Function1<List<Pair<Long, String>>, Unit> onResult)
-
argrepWithValuesString
final static Unit argrepWithValuesString(RedisPipelineBuilder $self, String key, Long start, Long end, Collection<Pair<ArGrepPredicate, String>> predicates, ArGrepCombine combine, Long limit, Boolean nocase, Function1<List<Pair<Long, String>>, Unit> onResult)
Same as argrep, but with the value of each matching element.
-
argrepWithValuesBytes
final static List<Pair<Long, ByteArray>> argrepWithValuesBytes(RedisConnection $self, String key, Long start, Long end, Pair<ArGrepPredicate, ByteArray> predicates, ArGrepCombine combine, Long limit, Boolean nocase)
-
argrepWithValuesBytes
final static List<Pair<Long, ByteArray>> argrepWithValuesBytes(RedisConnection $self, String key, Long start, Long end, Collection<Pair<ArGrepPredicate, ByteArray>> predicates, ArGrepCombine combine, Long limit, Boolean nocase)
-
argrepWithValuesBytes
final static List<Pair<Long, ByteArray>> argrepWithValuesBytes(RedisConnectionPool $self, String key, Long start, Long end, Pair<ArGrepPredicate, ByteArray> predicates, ArGrepCombine combine, Long limit, Boolean nocase)
-
argrepWithValuesBytes
final static List<Pair<Long, ByteArray>> argrepWithValuesBytes(RedisConnectionPool $self, String key, Long start, Long end, Collection<Pair<ArGrepPredicate, ByteArray>> predicates, ArGrepCombine combine, Long limit, Boolean nocase)
-
argrepWithValuesBytes
final static Unit argrepWithValuesBytes(RedisPipelineBuilder $self, String key, Long start, Long end, Pair<ArGrepPredicate, ByteArray> predicates, ArGrepCombine combine, Long limit, Boolean nocase, Function1<List<Pair<Long, ByteArray>>, Unit> onResult)
-
argrepWithValuesBytes
final static Unit argrepWithValuesBytes(RedisPipelineBuilder $self, String key, Long start, Long end, Collection<Pair<ArGrepPredicate, ByteArray>> predicates, ArGrepCombine combine, Long limit, Boolean nocase, Function1<List<Pair<Long, ByteArray>>, Unit> onResult)
-
argrepWithValuesStreaming
final static Unit argrepWithValuesStreaming(RedisConnection $self, String key, Long start, Long end, Collection<Pair<ArGrepPredicate, StreamWithLength>> predicates, ArGrepCombine combine, Long limit, Boolean nocase, IndexedElementSink<StreamWithLength> sink)
-
argrepWithValuesStreaming
final static Unit argrepWithValuesStreaming(RedisPipelineBuilder $self, String key, Long start, Long end, Collection<Pair<ArGrepPredicate, StreamWithLength>> predicates, ArGrepCombine combine, Long limit, Boolean nocase, IndexedElementSink<StreamWithLength> sink)
-
-
-
-