Table of Contents

Class MapReduceLegacyOperation

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

Represents a map-reduce operation.

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

Constructors

MapReduceLegacyOperation(CollectionNamespace, BsonJavaScript, BsonJavaScript, MessageEncoderSettings)

Initializes a new instance of the MapReduceLegacyOperation class.

Properties

ReadConcern

Gets or sets the read concern.

Methods

CreateCommand(ICoreSessionHandle, ConnectionDescription)

Creates the command.

CreateOutputOptions()

Creates the output options.

Execute(IReadBinding, CancellationToken)

Executes the operation.

ExecuteAsync(IReadBinding, CancellationToken)

Executes the operation.