Method | Description | |
---|---|---|
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.
|
public static SetFinalize ( BsonJavaScript finalize ) : |
||
finalize | BsonJavaScript | The finalize function. |
return |
public static SetJSMode ( bool value ) : |
||
value | bool | Whether to use jsMode. |
return |
public static SetKeepTemp ( bool value ) : |
||
value | bool | Whether to keep the temp collection. |
return |
public static SetLimit ( int value ) : |
||
value | int | The number of documents to send to the map function. |
return |
public static SetOutput ( |
||
output | The output option. | |
return |
public static SetQuery ( IMongoQuery query ) : |
||
query | IMongoQuery | The query. |
return |
public static SetScope ( IMongoScope scope ) : |
||
scope | IMongoScope | The scope. |
return |
public static SetSortOrder ( ) : |
||
return |
public static SetSortOrder ( IMongoSortBy sortBy ) : |
||
sortBy | IMongoSortBy | The sort order. |
return |
public static SetVerbose ( bool value ) : |
||
value | bool | Whether the server should be more verbose. |
return |