MapReduceOperationTResult Class |
Namespace: MongoDB.Driver.Core.Operations
public class MapReduceOperation<TResult> : MapReduceOperationBase, IReadOperation<IAsyncCursor<TResult>>
The MapReduceOperationTResult type exposes the following members.
| Name | Description | |
|---|---|---|
| MapReduceOperationTResult |
Initializes a new instance of the MapReduceOperationTResult class.
|
| Name | Description | |
|---|---|---|
| Collation |
Gets or sets the collation.
(Inherited from MapReduceOperationBase.) | |
| CollectionNamespace |
Gets the collection namespace.
(Inherited from MapReduceOperationBase.) | |
| Filter |
Gets or sets the filter.
(Inherited from MapReduceOperationBase.) | |
| FinalizeFunction |
Gets or sets the finalize function.
(Inherited from MapReduceOperationBase.) | |
| JavaScriptMode |
Gets or sets a value indicating whether objects emitted by the map function remain as JavaScript objects.
(Inherited from MapReduceOperationBase.) | |
| Limit |
Gets or sets the maximum number of documents to pass to the map function.
(Inherited from MapReduceOperationBase.) | |
| MapFunction |
Gets the map function.
(Inherited from MapReduceOperationBase.) | |
| MaxTime |
Gets or sets the maximum time the server should spend on this operation.
(Inherited from MapReduceOperationBase.) | |
| MessageEncoderSettings |
Gets the message encoder settings.
(Inherited from MapReduceOperationBase.) | |
| ReadConcern |
Gets or sets the read concern.
| |
| ReduceFunction |
Gets the reduce function.
(Inherited from MapReduceOperationBase.) | |
| ResultSerializer |
Gets the result serializer.
| |
| Scope |
Gets or sets the scope document.
(Inherited from MapReduceOperationBase.) | |
| Sort |
Gets or sets the sort specification.
(Inherited from MapReduceOperationBase.) | |
| Verbose |
Gets or sets a value indicating whether to include extra information, such as timing, in the result.
(Inherited from MapReduceOperationBase.) |
| Name | Description | |
|---|---|---|
| CreateCommand |
Creates the command.
(Overrides MapReduceOperationBaseCreateCommand(ICoreSessionHandle, ConnectionDescription).) | |
| CreateOutputOptions |
Creates the output options.
(Overrides MapReduceOperationBaseCreateOutputOptions.) | |
| Equals | Determines whether the specified object is equal to the current object. (Inherited from Object.) | |
| Execute |
Executes the operation.
| |
| ExecuteAsync |
Executes the operation.
| |
| Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) | |
| GetHashCode | Serves as the default hash function. (Inherited from Object.) | |
| GetType | Gets the Type of the current instance. (Inherited from Object.) | |
| MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
| ToString | Returns a string that represents the current object. (Inherited from Object.) |
| Name | Description | |
|---|---|---|
| ExecuteIAsyncCursorTResult |
Executes a read operation using a channel source.
(Defined by OperationExtensionMethods.) | |
| ExecuteAsyncIAsyncCursorTResult |
Executes a read operation using a channel source.
(Defined by OperationExtensionMethods.) | |
| ToBson |
Serializes an object to a BSON byte array.
(Defined by BsonExtensionMethods.) | |
| ToBsonDocument |
Serializes an object to a BsonDocument.
(Defined by BsonExtensionMethods.) | |
| ToJson |
Serializes an object to a JSON string.
(Defined by BsonExtensionMethods.) |