Table of Contents

Class ParallelScanOperation<TDocument>

Namespace
MongoDB.Driver.Core.Operations
Assembly
MongoDB.Driver.Core.dll

Represents a parallel scan operation.

public class ParallelScanOperation<TDocument> : IReadOperation<IReadOnlyList<IAsyncCursor<TDocument>>>

Type Parameters

TDocument

The type of the document.

Inheritance
ParallelScanOperation<TDocument>
Implements
Inherited Members
Extension Methods

Constructors

ParallelScanOperation(CollectionNamespace, int, IBsonSerializer<TDocument>, MessageEncoderSettings)

Initializes a new instance of the ParallelScanOperation<TDocument> class.

Properties

BatchSize

Gets or sets the size of a batch.

CollectionNamespace

Gets the collection namespace.

MessageEncoderSettings

Gets the message encoder settings.

NumberOfCursors

Gets the number of cursors.

ReadConcern

Gets or sets the read concern.

Serializer

Gets the serializer.

Methods

Execute(IReadBinding, CancellationToken)

Executes the operation.

ExecuteAsync(IReadBinding, CancellationToken)

Executes the operation.