Package io.quarkus.redis.datasource
Class ScanArgs
- java.lang.Object
-
- io.quarkus.redis.datasource.ScanArgs
-
- Direct Known Subclasses:
KeyScanArgs
public class ScanArgs extends Object
Represents thescan
commands flags.
-
-
Constructor Summary
Constructors Constructor Description ScanArgs()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ScanArgs
count(long count)
Sets the max number of items in each batch.ScanArgs
match(String pattern)
Sets aMATCH
patternList<String>
toArgs()
-
-
-
Method Detail
-
count
public ScanArgs count(long count)
Sets the max number of items in each batch. The default value is 10.- Parameters:
count
- the number of item, must be strictly positive- Returns:
- the current
ScanArgs
-
match
public ScanArgs match(String pattern)
Sets aMATCH
pattern- Parameters:
pattern
- the pattern, must not benull
- Returns:
- the current
ScanArgs
-
-