Table of Contents

Class MapReduceOperationBase

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

Represents a base class for map-reduce operations.

[Obsolete("Use Aggregation pipeline instead.")]
public abstract class MapReduceOperationBase
Inheritance
MapReduceOperationBase
Derived
Inherited Members

Constructors

MapReduceOperationBase(CollectionNamespace, BsonJavaScript, BsonJavaScript, MessageEncoderSettings)

Initializes a new instance of the MapReduceOperationBase class.

Properties

Collation

Gets or sets the collation.

CollectionNamespace

Gets the collection namespace.

Filter

Gets or sets the filter.

FinalizeFunction

Gets or sets the finalize function.

JavaScriptMode

Gets or sets a value indicating whether objects emitted by the map function remain as JavaScript objects.

Limit

Gets or sets the maximum number of documents to pass to the map function.

MapFunction

Gets the map function.

MaxTime

Gets or sets the maximum time the server should spend on this operation.

MessageEncoderSettings

Gets the message encoder settings.

ReduceFunction

Gets the reduce function.

Scope

Gets or sets the scope document.

Sort

Gets or sets the sort specification.

Verbose

Gets or sets a value indicating whether to include extra information, such as timing, in the result.

Methods

CreateCommand(ICoreSessionHandle, ConnectionDescription)

Creates the command.

CreateOutputOptions()

Creates the output options.