public static class KeyScanArgs.Builder extends Object
| Modifier and Type | Method and Description |
|---|---|
static KeyScanArgs |
limit(long count)
Creates new
ScanArgs with LIMIT set. |
static KeyScanArgs |
matches(String matches)
Creates new
ScanArgs with MATCH set. |
static KeyScanArgs |
type(String type)
Creates new
ScanArgs with TYPE set. |
public static KeyScanArgs limit(long count)
ScanArgs with LIMIT set.count - number of elements to scanScanArgs with LIMIT set.KeyScanArgs.limit(long)public static KeyScanArgs matches(String matches)
ScanArgs with MATCH set.matches - the filter.ScanArgs with MATCH set.KeyScanArgs.match(String)public static KeyScanArgs type(String type)
ScanArgs with TYPE set.type - the filter.ScanArgs with TYPE set.KeyScanArgs.type(String)Copyright © 2022 lettuce.io. All rights reserved.