Click or drag to resize
MapReduceLegacyOperation Class
Represents a map-reduce operation.
Inheritance Hierarchy

Namespace: MongoDB.Driver.Core.Operations
Assembly: MongoDB.Driver.Core (in MongoDB.Driver.Core.dll) Version: 2.0.1
Syntax
public class MapReduceLegacyOperation : MapReduceOperationBase, 
	IReadOperation<BsonDocument>

The MapReduceLegacyOperation type exposes the following members.

Constructors
  NameDescription
Public methodMapReduceLegacyOperation
Initializes a new instance of the MapReduceLegacyOperation class.
Top
Methods
  NameDescription
Protected methodCreateOutputOptions
Creates the output options.
(Overrides MapReduceOperationBaseCreateOutputOptions.)
Public methodEquals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Public methodExecuteAsync
Executes the operation.
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetHashCode
Serves as a hash function for a particular type.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
Extension Methods
  NameDescription
Public Extension MethodExecuteAsyncBsonDocument
Executes a read operation using a channel source.
(Defined by OperationExtensionMethods.)
Public Extension MethodToBson
Serializes an object to a BSON byte array.
(Defined by BsonExtensionMethods.)
Public Extension MethodToBsonDocument
Serializes an object to a BsonDocument.
(Defined by BsonExtensionMethods.)
Public Extension MethodToJson
Serializes an object to a JSON string.
(Defined by BsonExtensionMethods.)
Top
Properties
  NameDescription
Public propertyCollectionNamespace
Gets the collection namespace.
(Inherited from MapReduceOperationBase.)
Public propertyFilter
Gets or sets the filter.
(Inherited from MapReduceOperationBase.)
Public propertyFinalizeFunction
Gets or sets the finalize function.
(Inherited from MapReduceOperationBase.)
Public propertyJavaScriptMode
Gets or sets a value indicating whether objects emitted by the map function remain as JavaScript objects.
(Inherited from MapReduceOperationBase.)
Public propertyLimit
Gets or sets the maximum number of documents to pass to the map function.
(Inherited from MapReduceOperationBase.)
Public propertyMapFunction
Gets the map function.
(Inherited from MapReduceOperationBase.)
Public propertyMaxTime
Gets or sets the maximum time the server should spend on this operation.
(Inherited from MapReduceOperationBase.)
Public propertyMessageEncoderSettings
Gets the message encoder settings.
(Inherited from MapReduceOperationBase.)
Public propertyReduceFunction
Gets the reduce function.
(Inherited from MapReduceOperationBase.)
Public propertyScope
Gets or sets the scope document.
(Inherited from MapReduceOperationBase.)
Public propertySort
Gets or sets the sort specification.
(Inherited from MapReduceOperationBase.)
Public propertyVerbose
Gets or sets a value indicating whether to include extra information, such as timing, in the result.
(Inherited from MapReduceOperationBase.)
Top
See Also