Method | Description | |
---|---|---|
MapReduceOptionsBuilder ( ) : System |
Initializes a new instance of the MapReduceOptionsBuilder class.
|
|
SetFinalize ( BsonJavaScript finalize ) : |
Sets the finalize function.
|
|
SetJSMode ( bool value ) : |
Sets whether to use jsMode for the map reduce operation.
|
|
SetKeepTemp ( bool value ) : |
Sets whether to keep the temp collection (obsolete in 1.8.0+).
|
|
SetLimit ( int value ) : |
Sets the number of documents to send to the map function (useful in combination with SetSortOrder).
|
|
SetOutput ( |
Sets the output option (see MapReduceOutput).
|
|
SetQuery ( IMongoQuery query ) : |
Sets the optional query that filters which documents are sent to the map function (also useful in combination with SetSortOrder and SetLimit).
|
|
SetScope ( IMongoScope scope ) : |
Sets a scope that contains variables that can be accessed by the map, reduce and finalize functions.
|
|
SetSortOrder ( ) : |
Sets the sort order (useful in combination with SetLimit, your map function should not depend on the order the documents are sent to it).
|
|
SetSortOrder ( IMongoSortBy sortBy ) : |
Sets the sort order (useful in combination with SetLimit, your map function should not depend on the order the documents are sent to it).
|
|
SetVerbose ( bool value ) : |
Sets whether the server should be more verbose when logging map/reduce operations.
|
|
ToBsonDocument ( ) : BsonDocument |
Returns the result of the builder as a BsonDocument.
|
Method | Description | |
---|---|---|
Serialize ( BsonWriter bsonWriter, |
Serializes the result of the builder to a BsonWriter.
|
Method | Description | |
---|---|---|
AddOptions ( BsonDocument options ) : |
protected Serialize ( BsonWriter bsonWriter, |
||
bsonWriter | BsonWriter | The writer. |
nominalType | The nominal type. | |
options | IBsonSerializationOptions | The serialization options. |
return | void |
public SetFinalize ( BsonJavaScript finalize ) : |
||
finalize | BsonJavaScript | The finalize function. |
return |
public SetJSMode ( bool value ) : |
||
value | bool | Whether to use jsMode. |
return |
public SetKeepTemp ( bool value ) : |
||
value | bool | Whether to keep the temp collection. |
return |
public SetLimit ( int value ) : |
||
value | int | The number of documents to send to the map function. |
return |
public SetOutput ( |
||
output | The output option. | |
return |
public SetQuery ( IMongoQuery query ) : |
||
query | IMongoQuery | The query. |
return |
public SetScope ( IMongoScope scope ) : |
||
scope | IMongoScope | The scope. |
return |
public SetSortOrder ( ) : |
||
return |
public SetSortOrder ( IMongoSortBy sortBy ) : |
||
sortBy | IMongoSortBy | The sort order. |
return |
public SetVerbose ( bool value ) : |
||
value | bool | Whether the server should be more verbose. |
return |