Class 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
    MongoDB documentation
    parallelCollectionScan
    Since server release
    2.6
    • Constructor Detail

      • ParallelCollectionScanOptions

        public ParallelCollectionScanOptions()
        Deprecated.
    • Method Detail

      • 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
        MongoDB documentation
        BatchSize