java.lang.Object
io.lettuce.core.KeyScanArgs.Builder
- Enclosing class:
- KeyScanArgs
public static class KeyScanArgs.Builder extends Object
-
Method Summary
Modifier and Type Method Description static KeyScanArgslimit(long count)Creates newScanArgswith LIMIT set.static KeyScanArgsmatches(String matches)Creates newScanArgswith MATCH set.static KeyScanArgstype(String type)Creates newScanArgswith TYPE set.
-
Method Details
-
limit
Creates newScanArgswith LIMIT set.- Parameters:
count- number of elements to scan- Returns:
- new
ScanArgswith LIMIT set. - See Also:
KeyScanArgs.limit(long)
-
matches
Creates newScanArgswith MATCH set.- Parameters:
matches- the filter.- Returns:
- new
ScanArgswith MATCH set. - See Also:
KeyScanArgs.match(String)
-
type
Creates newScanArgswith TYPE set.- Parameters:
type- the filter.- Returns:
- new
ScanArgswith TYPE set. - See Also:
KeyScanArgs.type(String)
-