public static class ScanOptions.ScanOptionsBuilder extends Object
| Modifier and Type | Method and Description |
|---|---|
ScanOptions |
build()
Builds a new
ScanOptions objects. |
ScanOptions.ScanOptionsBuilder |
count(long count)
Returns the current
ScanOptions.ScanOptionsBuilder configured with the given count. |
ScanOptions.ScanOptionsBuilder |
match(byte[] pattern)
Returns the current
ScanOptions.ScanOptionsBuilder configured with the given pattern. |
ScanOptions.ScanOptionsBuilder |
match(String pattern)
Returns the current
ScanOptions.ScanOptionsBuilder configured with the given pattern. |
ScanOptions.ScanOptionsBuilder |
type(DataType type)
Returns the current
ScanOptions.ScanOptionsBuilder configured with the given type. |
ScanOptions.ScanOptionsBuilder |
type(String type)
Returns the current
ScanOptions.ScanOptionsBuilder configured with the given type. |
public ScanOptions.ScanOptionsBuilder count(long count)
ScanOptions.ScanOptionsBuilder configured with the given count.count - public ScanOptions.ScanOptionsBuilder match(String pattern)
ScanOptions.ScanOptionsBuilder configured with the given pattern.pattern - public ScanOptions.ScanOptionsBuilder match(byte[] pattern)
ScanOptions.ScanOptionsBuilder configured with the given pattern.pattern - public ScanOptions.ScanOptionsBuilder type(DataType type)
ScanOptions.ScanOptionsBuilder configured with the given type. type - must not be null. Either do not set or use DataType.NONE.public ScanOptions.ScanOptionsBuilder type(String type)
ScanOptions.ScanOptionsBuilder configured with the given type.type - the textual representation of DataType.fromCode(String). Must not be null.IllegalArgumentException - if given type is null or unknown.public ScanOptions build()
ScanOptions objects.ScanOptions objects.Copyright © 2011–2022 Pivotal Software, Inc.. All rights reserved.