Class ParallelCollectionScanOptions

java.lang.Object
com.mongodb.client.model.ParallelCollectionScanOptions

@Deprecated public class ParallelCollectionScanOptions extends Object
Deprecated.
this is an unused class and there should be no reason to use it
The options to apply to a parallel scan operation.
Since:
3.0
  • Constructor Details

    • ParallelCollectionScanOptions

      public ParallelCollectionScanOptions()
      Deprecated.
  • Method Details

    • getBatchSize

      public int getBatchSize()
      Deprecated.
      Gets the batch size to use for each cursor.
      Returns:
      the batch size to use for each cursor.
    • batchSize

      public ParallelCollectionScanOptions batchSize(int batchSize)
      Deprecated.
      The batch size to use for each cursor.
      Parameters:
      batchSize - the batch size, which must be greater than or equal to 0
      Returns:
      this