Class ArGetRangeCommandKt
-
- All Implemented Interfaces:
public final class ArGetRangeCommandKt
-
-
Method Summary
Modifier and Type Method Description final static RedisRequestargetrangeCommand(String key, Long start, Long end, ElementSink<StreamWithLength> sink)-
-
Method Detail
-
argetrangeCommand
final static RedisRequest argetrangeCommand(String key, Long start, Long end, ElementSink<StreamWithLength> sink)
- Parameters:
start-inclusive, may be greater than end to get the values in reverse order
end-inclusive
sink-called once per index in the range, with null if there is no element at that index (also when the key does not exist). The stream is read directly from the connection and is only valid until the callback returns, unread parts are skipped.
-
-
-
-