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