case class ParallelScanOptions(numCursors: Int, batchSize: Int, readPreference: Option[Imports.ReadPreference] = None) extends Product with Serializable
The options to use for a parallel collection scan.
- numCursors
The number of cursors to return, must be greater than 0
- batchSize
The cursor batch size, must be greater than 0 and less than 10001
- readPreference
The optional read preference.
- Since
2.7
- See also
com.monogdb.ParallelScanOptions
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- ParallelScanOptions
- Serializable
- Serializable
- Product
- Equals
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- All
Instance Constructors
-
new
ParallelScanOptions(numCursors: Int, batchSize: Int, readPreference: Option[Imports.ReadPreference] = None)
- numCursors
The number of cursors to return, must be greater than 0
- batchSize
The cursor batch size, must be greater than 0 and less than 10001
- readPreference
The optional read preference.
Value Members
- val batchSize: Int
- val numCursors: Int
- val readPreference: Option[Imports.ReadPreference]