Class ArOpKt
-
- All Implemented Interfaces:
public final class ArOpKt
-
-
Method Summary
Modifier and Type Method Description final static Doublearop(RedisConnection $self, String key, Long start, Long end, ArOpAggregate operation)final static Longarop(RedisConnection $self, String key, Long start, Long end, ArOpBitwise operation)final static Doublearop(RedisConnectionPool $self, String key, Long start, Long end, ArOpAggregate operation)final static Longarop(RedisConnectionPool $self, String key, Long start, Long end, ArOpBitwise operation)final static Unitarop(RedisPipelineBuilder $self, String key, Long start, Long end, ArOpAggregate operation, Function1<Double, Unit> onResult)Aggregates the numeric values in the range (both inclusive), values which are not numbers are skipped. final static Unitarop(RedisPipelineBuilder $self, String key, Long start, Long end, ArOpBitwise operation, Function1<Long, Unit> onResult)Bitwise combines the integer part of the numeric values in the range (both inclusive), values which are not numbers are skipped. final static LongaropMatch(RedisConnection $self, String key, Long start, Long end, String value)final static LongaropMatch(RedisConnection $self, String key, Long start, Long end, ByteArray value)final static LongaropMatch(RedisConnectionPool $self, String key, Long start, Long end, String value)final static LongaropMatch(RedisConnectionPool $self, String key, Long start, Long end, ByteArray value)final static UnitaropMatch(RedisPipelineBuilder $self, String key, Long start, Long end, String value, Function1<Long, Unit> onResult)final static UnitaropMatch(RedisPipelineBuilder $self, String key, Long start, Long end, ByteArray value, Function1<Long, Unit> onResult)final static LongaropMatchStreaming(RedisConnection $self, String key, Long start, Long end, StreamWithLength value)final static LongaropMatchStreaming(RedisConnectionPool $self, String key, Long start, Long end, StreamWithLength value)final static UnitaropMatchStreaming(RedisPipelineBuilder $self, String key, Long start, Long end, StreamWithLength value, Function1<Long, Unit> onResult)final static LongaropUsed(RedisConnection $self, String key, Long start, Long end)final static LongaropUsed(RedisConnectionPool $self, String key, Long start, Long end)final static UnitaropUsed(RedisPipelineBuilder $self, String key, Long start, Long end, Function1<Long, Unit> onResult)-
-
Method Detail
-
arop
final static Double arop(RedisConnection $self, String key, Long start, Long end, ArOpAggregate operation)
-
arop
final static Long arop(RedisConnection $self, String key, Long start, Long end, ArOpBitwise operation)
-
arop
final static Double arop(RedisConnectionPool $self, String key, Long start, Long end, ArOpAggregate operation)
-
arop
final static Long arop(RedisConnectionPool $self, String key, Long start, Long end, ArOpBitwise operation)
-
arop
final static Unit arop(RedisPipelineBuilder $self, String key, Long start, Long end, ArOpAggregate operation, Function1<Double, Unit> onResult)
Aggregates the numeric values in the range (both inclusive), values which are not numbers are skipped.
- Parameters:
onResult-called with the result, or null if there is no numeric element in the range
-
arop
final static Unit arop(RedisPipelineBuilder $self, String key, Long start, Long end, ArOpBitwise operation, Function1<Long, Unit> onResult)
Bitwise combines the integer part of the numeric values in the range (both inclusive), values which are not numbers are skipped.
- Parameters:
onResult-called with the result, or null if there is no numeric element in the range
-
aropMatch
final static Long aropMatch(RedisConnection $self, String key, Long start, Long end, String value)
-
aropMatch
final static Long aropMatch(RedisConnection $self, String key, Long start, Long end, ByteArray value)
-
aropMatch
final static Long aropMatch(RedisConnectionPool $self, String key, Long start, Long end, String value)
-
aropMatch
final static Long aropMatch(RedisConnectionPool $self, String key, Long start, Long end, ByteArray value)
-
aropMatch
final static Unit aropMatch(RedisPipelineBuilder $self, String key, Long start, Long end, String value, Function1<Long, Unit> onResult)
- Parameters:
onResult-called with the number of elements in the range (both inclusive) which are equal to value
-
aropMatch
final static Unit aropMatch(RedisPipelineBuilder $self, String key, Long start, Long end, ByteArray value, Function1<Long, Unit> onResult)
-
aropMatchStreaming
final static Long aropMatchStreaming(RedisConnection $self, String key, Long start, Long end, StreamWithLength value)
-
aropMatchStreaming
final static Long aropMatchStreaming(RedisConnectionPool $self, String key, Long start, Long end, StreamWithLength value)
-
aropMatchStreaming
final static Unit aropMatchStreaming(RedisPipelineBuilder $self, String key, Long start, Long end, StreamWithLength value, Function1<Long, Unit> onResult)
-
-
-
-