Class MapReduceOptions<TDocument, TResult>
Represents the options for a map-reduce operation.
[Obsolete("Use Aggregation pipeline instead.")]
public sealed class MapReduceOptions<TDocument, TResult>
Type Parameters
TDocument
The type of the document.
TResult
The type of the result.
- Inheritance
-
MapReduceOptions<TDocument, TResult>
- Inherited Members
Properties
BypassDocumentValidation
Gets or sets a value indicating whether to bypass document validation.
public bool? BypassDocumentValidation { get; set; }
Property Value
- bool?
Collation
Gets or sets the collation.
public Collation Collation { get; set; }
Property Value
Filter
Gets or sets the filter.
public FilterDefinition<TDocument> Filter { get; set; }
Property Value
- FilterDefinition<TDocument>
Finalize
Gets or sets the finalize function.
public BsonJavaScript Finalize { get; set; }
Property Value
JavaScriptMode
Gets or sets the java script mode.
[Obsolete("JavaScriptMode is ignored by server versions 4.4.0 and newer.")]
public bool? JavaScriptMode { get; set; }
Property Value
- bool?
Limit
Gets or sets the limit.
public long? Limit { get; set; }
Property Value
- long?
MaxTime
Gets or sets the maximum time.
public TimeSpan? MaxTime { get; set; }
Property Value
OutputOptions
Gets or sets the output options.
public MapReduceOutputOptions OutputOptions { get; set; }
Property Value
ResultSerializer
Gets or sets the result serializer.
public IBsonSerializer<TResult> ResultSerializer { get; set; }
Property Value
- IBsonSerializer<TResult>
Scope
Gets or sets the scope.
public BsonDocument Scope { get; set; }
Property Value
Sort
Gets or sets the sort.
public SortDefinition<TDocument> Sort { get; set; }
Property Value
- SortDefinition<TDocument>
Verbose
Gets or sets whether to include timing information.
public bool? Verbose { get; set; }
Property Value
- bool?