Click or drag to resize

MapReduceOptionsTDocument, TResult Class

Note: This API is now obsolete.

Represents the options for a map-reduce operation.
Inheritance Hierarchy
SystemObject
  MongoDB.DriverMapReduceOptionsTDocument, TResult

Namespace:  MongoDB.Driver
Assembly:  MongoDB.Driver (in MongoDB.Driver.dll) Version: 2.18.0+554c799eb1ec8dd732f16c739387f6664df1ba7a
Syntax
[ObsoleteAttribute("Use Aggregation pipeline instead.")]
public sealed class MapReduceOptions<TDocument, TResult>

Type Parameters

TDocument
The type of the document.
TResult
The type of the result.

The MapReduceOptionsTDocument, TResult type exposes the following members.

Constructors
  NameDescription
Public methodMapReduceOptionsTDocument, TResult
Initializes a new instance of the MapReduceOptionsTDocument, TResult class
Top
Properties
  NameDescription
Public propertyBypassDocumentValidation
Gets or sets a value indicating whether to bypass document validation.
Public propertyCollation
Gets or sets the collation.
Public propertyFilter
Gets or sets the filter.
Public propertyFinalize
Gets or sets the finalize function.
Public propertyJavaScriptMode Obsolete.
Gets or sets the java script mode.
Public propertyLimit
Gets or sets the limit.
Public propertyMaxTime
Gets or sets the maximum time.
Public propertyOutputOptions
Gets or sets the output options.
Public propertyResultSerializer
Gets or sets the result serializer.
Public propertyScope
Gets or sets the scope.
Public propertySort
Gets or sets the sort.
Public propertyVerbose
Gets or sets whether to include timing information.
Top
Methods
  NameDescription
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
Extension Methods
  NameDescription
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
See Also