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 theScanOptionsto apply.key(ByteBuffer key) Creates a newReactiveRedisConnection.KeyScanCommandgiven akey.withOptions(ScanOptions options) AppliesScanOptions.Methods inherited from class org.springframework.data.redis.connection.ReactiveRedisConnection.KeyCommand
getKeyMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.springframework.data.redis.connection.ReactiveRedisConnection.Command
getName
-
Method Details
-
key
Creates a newReactiveRedisConnection.KeyScanCommandgiven akey.- Parameters:
key- must not be null.- Returns:
- a new
ReactiveRedisConnection.KeyScanCommandforkey.
-
withOptions
AppliesScanOptions. Constructs a new command instance with all previously configured properties.- Parameters:
options- must not be null.- Returns:
- a new
ReactiveRedisConnection.KeyScanCommandwithScanOptionsapplied.
-
getOptions
Get theScanOptionsto apply.- Returns:
- never null.
-