@Immutable public final class ParallelScanOptions extends java.lang.Object
| Modifier and Type | Class and Description |
|---|---|
static class |
ParallelScanOptions.Builder
A builder for the options
|
| Modifier and Type | Field and Description |
|---|---|
private int |
batchSize |
private int |
numCursors |
private ReadPreference |
readPreference |
| Modifier | Constructor and Description |
|---|---|
private |
ParallelScanOptions(ParallelScanOptions.Builder builder) |
| Modifier and Type | Method and Description |
|---|---|
static ParallelScanOptions.Builder |
builder()
Create a builder for the options
|
int |
getBatchSize()
Gets the batch size to use for each cursor.
|
int |
getNumCursors()
Gets the number of cursors requested.
|
ReadPreference |
getReadPreference()
Gets the read preference to use.
|
private final int numCursors
private final int batchSize
private final ReadPreference readPreference
private ParallelScanOptions(ParallelScanOptions.Builder builder)
public static ParallelScanOptions.Builder builder()
public int getNumCursors()
public int getBatchSize()
public ReadPreference getReadPreference()