Table of Contents

Class MapReduceOperation<TResult>

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

Represents a map-reduce operation.

[Obsolete("Use Aggregation pipeline instead.")]
public class MapReduceOperation<TResult> : MapReduceOperationBase, IReadOperation<IAsyncCursor<TResult>>

Type Parameters

TResult

The type of the result.

Inheritance
MapReduceOperation<TResult>
Implements
Inherited Members
Extension Methods

Constructors

MapReduceOperation(CollectionNamespace, BsonJavaScript, BsonJavaScript, IBsonSerializer<TResult>, MessageEncoderSettings)

Initializes a new instance of the MapReduceOperation<TResult> class.

Properties

ReadConcern

Gets or sets the read concern.

ResultSerializer

Gets the result serializer.

Methods

CreateCommand(ICoreSessionHandle, ConnectionDescription)

Creates the command.

CreateOutputOptions()

Creates the output options.

Execute(IReadBinding, CancellationToken)

Executes the operation.

ExecuteAsync(IReadBinding, CancellationToken)

Executes the operation.