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