Class KeyScanOptions
java.lang.Object
org.springframework.data.redis.core.ScanOptions
org.springframework.data.redis.core.KeyScanOptions
Options to be used for with SCAN commands.
- Since:
- 2.6
- Author:
- Mark Paluch, Christoph Strobl
-
Nested Class Summary
Nested classes/interfaces inherited from class org.springframework.data.redis.core.ScanOptions
ScanOptions.ScanOptionsBuilder
-
Field Summary
Modifier and TypeFieldDescriptionstatic KeyScanOptions
Constant to apply defaultKeyScanOptions
without setting a limit or matching a pattern. -
Method Summary
Modifier and TypeMethodDescriptiongetType()
scanOptions
(DataType type) Static factory method that returns a newScanOptions.ScanOptionsBuilder
.Methods inherited from class org.springframework.data.redis.core.ScanOptions
getBytePattern, getCount, getPattern, scanOptions
-
Field Details
-
NONE
Constant to apply defaultKeyScanOptions
without setting a limit or matching a pattern.
-
-
Method Details
-
scanOptions
Static factory method that returns a newScanOptions.ScanOptionsBuilder
.- Parameters:
type
-- Returns:
-
getType
-
toOptionString
- Overrides:
toOptionString
in classScanOptions
-