Class ReactiveRedisConnection.KeyScanCommand
java.lang.Object
org.springframework.data.redis.connection.ReactiveRedisConnection.KeyCommand
org.springframework.data.redis.connection.ReactiveRedisConnection.KeyScanCommand
- All Implemented Interfaces:
ReactiveRedisConnection.Command
- Enclosing interface:
- ReactiveRedisConnection
public static class ReactiveRedisConnection.KeyScanCommand
extends ReactiveRedisConnection.KeyCommand
- Since:
- 2.1
- Author:
- Mark Paluch, Christoph Strobl
-
Method Summary
Modifier and TypeMethodDescriptionGet theScanOptions
to apply.key
(ByteBuffer key) Creates a newReactiveRedisConnection.KeyScanCommand
given akey
.withOptions
(ScanOptions options) AppliesScanOptions
.Methods inherited from class org.springframework.data.redis.connection.ReactiveRedisConnection.KeyCommand
getKey
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.springframework.data.redis.connection.ReactiveRedisConnection.Command
getName
-
Method Details
-
key
Creates a newReactiveRedisConnection.KeyScanCommand
given akey
.- Parameters:
key
- must not be null.- Returns:
- a new
ReactiveRedisConnection.KeyScanCommand
forkey
.
-
withOptions
AppliesScanOptions
. Constructs a new command instance with all previously configured properties.- Parameters:
options
- must not be null.- Returns:
- a new
ReactiveRedisConnection.KeyScanCommand
withScanOptions
applied.
-
getOptions
Get theScanOptions
to apply.- Returns:
- never null.
-