Package io.quarkus.redis.datasource.keys
Class KeyScanArgs
java.lang.Object
io.quarkus.redis.datasource.ScanArgs
io.quarkus.redis.datasource.keys.KeyScanArgs
Represents the
scan
commands flags.-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptioncount
(long count) Sets the max number of items in each batch.Sets aMATCH
patterntoArgs()
type
(RedisValueType type) You can use the TYPE option to ask SCAN to only return objects that match a given type, allowing you to iterate through the database looking for keys of a specific type.
-
Constructor Details
-
KeyScanArgs
public KeyScanArgs()
-
-
Method Details
-
type
You can use the TYPE option to ask SCAN to only return objects that match a given type, allowing you to iterate through the database looking for keys of a specific type.- Parameters:
type
- the type value- Returns:
- the current
KeyScanArgs
-
count
Sets the max number of items in each batch. The default value is 10. -
match
Sets aMATCH
pattern -
toArgs
-