Package | Description |
---|---|
com.mongodb |
This package is the main entry point to the MongoDB Java Driver, and it contains the classes for the existing API from 2.x versions.
|
Modifier and Type | Method and Description |
---|---|
ParallelScanOptions.Builder |
ParallelScanOptions.Builder.batchSize(int batchSize)
The batch size to use for each cursor.
|
static ParallelScanOptions.Builder |
ParallelScanOptions.builder()
Create a builder for the options
|
ParallelScanOptions.Builder |
ParallelScanOptions.Builder.numCursors(int numCursors)
Set the requested number of cursors to iterate in parallel.
|
ParallelScanOptions.Builder |
ParallelScanOptions.Builder.readPreference(ReadPreference readPreference)
The read preference to use.
|
Copyright © 2016. All Rights Reserved.