Table of Contents

Class MapReduceResult

Namespace
MongoDB.Driver
Assembly
MongoDB.Driver.Legacy.dll

Represents the result of a map-reduce command.

[Obsolete("Use Aggregation pipeline instead.")]
[BsonSerializer(typeof(CommandResultSerializer<MapReduceResult>))]
public class MapReduceResult : CommandResult
Inheritance
MapReduceResult
Inherited Members
Extension Methods

Constructors

MapReduceResult(BsonDocument)

Initializes a new instance of the MapReduceResult class.

Properties

CollectionName

Gets the output collection name (null if none).

DatabaseName

Gets the output database name (null if none).

Duration

Gets the duration.

EmitCount

Gets the emit count.

InlineResults

Gets the inline results.

InputCount

Gets the input count.

OutputCount

Gets the output count.

Methods

GetInlineResultsAs(Type)

Gets the inline results as TDocuments.

GetInlineResultsAs<TDocument>()

Gets the inline results as TDocuments.

GetResults()

Gets the results (either inline or fetched from the output collection).

GetResultsAs(Type)

Gets the results as TDocuments (either inline or fetched from the output collection).

GetResultsAs<TDocument>()

Gets the results as TDocuments (either inline or fetched from the output collection).