Package io.lettuce.core
Class KeyScanArgs.Builder
- java.lang.Object
-
- io.lettuce.core.KeyScanArgs.Builder
-
- Enclosing class:
- KeyScanArgs
public static class KeyScanArgs.Builder extends Object
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static KeyScanArgs
limit(long count)
Creates newScanArgs
with LIMIT set.static KeyScanArgs
matches(String matches)
Creates newScanArgs
with MATCH set.static KeyScanArgs
type(String type)
Creates newScanArgs
with TYPE set.
-
-
-
Method Detail
-
limit
public static KeyScanArgs limit(long count)
Creates newScanArgs
with LIMIT set.- Parameters:
count
- number of elements to scan- Returns:
- new
ScanArgs
with LIMIT set. - See Also:
KeyScanArgs.limit(long)
-
matches
public static KeyScanArgs matches(String matches)
Creates newScanArgs
with MATCH set.- Parameters:
matches
- the filter.- Returns:
- new
ScanArgs
with MATCH set. - See Also:
KeyScanArgs.match(String)
-
type
public static KeyScanArgs type(String type)
Creates newScanArgs
with TYPE set.- Parameters:
type
- the filter.- Returns:
- new
ScanArgs
with TYPE set. - See Also:
KeyScanArgs.type(String)
-
-