프로퍼티 | 타입 | 설명 | |
---|---|---|---|
RetrieveData | void | ||
TryModify | void |
메소드 | 설명 | |
---|---|---|
Dispose ( ) : void |
Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
|
|
Finalize ( Code function ) : |
Function to apply to all the results when finished.
|
|
KeepTemp ( bool keep ) : |
When true the generated collection is not treated as temporary. Specifying out automatically makes the collection permanent
|
|
Limit ( long limit ) : |
Number of objects to return from collection
|
|
Map ( Code function ) : |
The map function references the variable this to inspect the current object under consideration. A map function must call emit(key,value) at least once, but may be invoked any number of times, as may be appropriate.
|
|
Map ( string function ) : |
The map function references the variable this to inspect the current object under consideration. A map function must call emit(key,value) at least once, but may be invoked any number of times, as may be appropriate.
|
|
MapReduce ( IMongoDatabase database, string name, |
Initializes a new instance of the MapReduce class.
|
|
Out ( Document @out ) : |
Specifies how to handle the final collection of results
|
|
Out ( String name ) : |
Name of the final collection the results should be stored in. A temporary collection is still used and then renamed to the target name atomically. |
|
Query ( Document query ) : |
Query filter object
|
|
Reduce ( Code function ) : |
The reduce function receives a key and an array of values. To use, reduce the received values, and return a result. The MapReduce engine may invoke reduce functions iteratively; thus, these functions must be idempotent. If you need to perform an operation only once, use a finalize function. |
|
Reduce ( string function ) : |
The reduce function receives a key and an array of values. To use, reduce the received values, and return a result. The MapReduce engine may invoke reduce functions iteratively; thus, these functions must be idempotent. If you need to perform an operation only once, use a finalize function. |
|
Scope ( Document scope ) : |
Document where fields go into javascript global scope
|
|
Sort ( Document sort ) : |
Sort the query. Useful for optimization
|
|
Verbose ( bool val ) : |
Provides statistics on job execution time.
|
메소드 | 설명 | |
---|---|---|
RetrieveData ( ) : void |
Retrieves the data.
|
|
TryModify ( ) : void |
Tries the modify.
|
public MapReduce ( IMongoDatabase database, string name, |
||
database | IMongoDatabase | The database. |
name | string | The name. |
rootType | Type of the root. | |
리턴 | System |