Constructor MapReduceLegacyOperation
- Namespace
- MongoDB.Driver.Core.Operations
- Assembly
- MongoDB.Driver.Core.dll
MapReduceLegacyOperation(CollectionNamespace, BsonJavaScript, BsonJavaScript, MessageEncoderSettings)
Initializes a new instance of the MapReduceLegacyOperation class.
public MapReduceLegacyOperation(CollectionNamespace collectionNamespace, BsonJavaScript mapFunction, BsonJavaScript reduceFunction, MessageEncoderSettings messageEncoderSettings)
Parameters
collectionNamespace
CollectionNamespaceThe collection namespace.
mapFunction
BsonJavaScriptThe map function.
reduceFunction
BsonJavaScriptThe reduce function.
messageEncoderSettings
MessageEncoderSettingsThe message encoder settings.