Class ArOpCommandKt
-
- All Implemented Interfaces:
public final class ArOpCommandKt
-
-
Method Summary
Modifier and Type Method Description final static RedisRequestaropCommand(String key, Long start, Long end, ArOpAggregate operation, Function1<Double, Unit> onResult)final static RedisRequestaropCommand(String key, Long start, Long end, ArOpBitwise operation, Function1<Long, Unit> onResult)final static RedisRequestaropMatchCommand(String key, Long start, Long end, StreamWithLength value, Function1<Long, Unit> onResult)final static RedisRequestaropUsedCommand(String key, Long start, Long end, Function1<Long, Unit> onResult)-
-
Method Detail
-
aropCommand
final static RedisRequest aropCommand(String key, Long start, Long end, ArOpAggregate operation, Function1<Double, Unit> onResult)
- Parameters:
start-inclusive
end-inclusive
onResult-called with the result, or null if there is no numeric element in the range (or the key does not exist)
-
aropCommand
final static RedisRequest aropCommand(String key, Long start, Long end, ArOpBitwise operation, Function1<Long, Unit> onResult)
- Parameters:
start-inclusive
end-inclusive
onResult-called with the result, or null if there is no numeric element in the range (or the key does not exist)
-
aropMatchCommand
final static RedisRequest aropMatchCommand(String key, Long start, Long end, StreamWithLength value, Function1<Long, Unit> onResult)
- Parameters:
start-inclusive
end-inclusive
onResult-called with the number of elements in the range which are equal to value
-
aropUsedCommand
final static RedisRequest aropUsedCommand(String key, Long start, Long end, Function1<Long, Unit> onResult)
- Parameters:
start-inclusive
end-inclusive
onResult-called with the number of existing elements in the range
-
-
-
-