Table of Contents

Class MapReduceOutputToCollectionOperation

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

Represents a map-reduce operation that outputs its results to a collection.

[Obsolete("Use Aggregation pipeline instead.")]
public class MapReduceOutputToCollectionOperation : MapReduceOperationBase, IWriteOperation<BsonDocument>
Inheritance
MapReduceOutputToCollectionOperation
Implements
Inherited Members
Extension Methods

Constructors

MapReduceOutputToCollectionOperation(CollectionNamespace, CollectionNamespace, BsonJavaScript, BsonJavaScript, MessageEncoderSettings)

Initializes a new instance of the MapReduceOutputToCollectionOperation class.

Properties

BypassDocumentValidation

Gets or sets a value indicating whether to bypass document validation.

NonAtomicOutput

Gets or sets a value indicating whether the server should not lock the database for merge and reduce output modes.

OutputCollectionNamespace

Gets the output collection namespace.

OutputMode

Gets or sets the output mode.

ShardedOutput

Gets or sets a value indicating whether the output collection should be sharded.

WriteConcern

Gets or sets the write concern.

Methods

CreateCommand(ICoreSessionHandle, ConnectionDescription)

Creates the command.

CreateOutputOptions()

Creates the output options.

Execute(IWriteBinding, CancellationToken)

Executes the operation.

ExecuteAsync(IWriteBinding, CancellationToken)

Executes the operation.