Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Package com.mongodb

Class ParallelScanOptions

    • Method Detail

      • getNumCursors

        public int getNumCursors​()
        Gets the number of cursors requested. The default value is 1.
        Returns:
        number of cursors requested.
      • getBatchSize

        public int getBatchSize​()
        Gets the batch size to use for each cursor. The default value is 0, which tells the server to use its own default batch size.
        Returns:
        batch size
      • getReadPreference

        @Nullable
        public ReadPreference getReadPreference​()
        Gets the read preference to use.
        Returns:
        read preference