C# 클래스 MongoDB.Driver.Builders.MapReduceOptions

A builder for the options of a Map/Reduce operation.
파일 보기 프로젝트 열기: CloudMetal/mongo-csharp-driver

공개 메소드들

메소드 설명
SetFinalize ( BsonJavaScript finalize ) : MapReduceOptionsBuilder

Sets the finalize function.

SetJSMode ( bool value ) : MapReduceOptionsBuilder

Sets whether to use jsMode for the map reduce operation.

SetKeepTemp ( bool value ) : MapReduceOptionsBuilder

Sets whether to keep the temp collection (obsolete in 1.8.0+).

SetLimit ( int value ) : MapReduceOptionsBuilder

Sets the number of documents to send to the map function (useful in combination with SetSortOrder).

SetOutput ( MapReduceOutput output ) : MapReduceOptionsBuilder

Sets the output option (see MapReduceOutput).

SetQuery ( IMongoQuery query ) : MapReduceOptionsBuilder

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 ) : MapReduceOptionsBuilder

Sets a scope that contains variables that can be accessed by the map, reduce and finalize functions.

SetSortOrder ( ) : MapReduceOptionsBuilder

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 ) : MapReduceOptionsBuilder

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 ) : MapReduceOptionsBuilder

Sets whether the server should be more verbose when logging map/reduce operations.

메소드 상세

SetFinalize() 공개 정적인 메소드

Sets the finalize function.
public static SetFinalize ( BsonJavaScript finalize ) : MapReduceOptionsBuilder
finalize BsonJavaScript The finalize function.
리턴 MapReduceOptionsBuilder

SetJSMode() 공개 정적인 메소드

Sets whether to use jsMode for the map reduce operation.
public static SetJSMode ( bool value ) : MapReduceOptionsBuilder
value bool Whether to use jsMode.
리턴 MapReduceOptionsBuilder

SetKeepTemp() 공개 정적인 메소드

Sets whether to keep the temp collection (obsolete in 1.8.0+).
public static SetKeepTemp ( bool value ) : MapReduceOptionsBuilder
value bool Whether to keep the temp collection.
리턴 MapReduceOptionsBuilder

SetLimit() 공개 정적인 메소드

Sets the number of documents to send to the map function (useful in combination with SetSortOrder).
public static SetLimit ( int value ) : MapReduceOptionsBuilder
value int The number of documents to send to the map function.
리턴 MapReduceOptionsBuilder

SetOutput() 공개 정적인 메소드

Sets the output option (see MapReduceOutput).
public static SetOutput ( MapReduceOutput output ) : MapReduceOptionsBuilder
output MapReduceOutput The output option.
리턴 MapReduceOptionsBuilder

SetQuery() 공개 정적인 메소드

Sets the optional query that filters which documents are sent to the map function (also useful in combination with SetSortOrder and SetLimit).
public static SetQuery ( IMongoQuery query ) : MapReduceOptionsBuilder
query IMongoQuery The query.
리턴 MapReduceOptionsBuilder

SetScope() 공개 정적인 메소드

Sets a scope that contains variables that can be accessed by the map, reduce and finalize functions.
public static SetScope ( IMongoScope scope ) : MapReduceOptionsBuilder
scope IMongoScope The scope.
리턴 MapReduceOptionsBuilder

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).
public static SetSortOrder ( ) : MapReduceOptionsBuilder
리턴 MapReduceOptionsBuilder

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).
public static SetSortOrder ( IMongoSortBy sortBy ) : MapReduceOptionsBuilder
sortBy IMongoSortBy The sort order.
리턴 MapReduceOptionsBuilder

SetVerbose() 공개 정적인 메소드

Sets whether the server should be more verbose when logging map/reduce operations.
public static SetVerbose ( bool value ) : MapReduceOptionsBuilder
value bool Whether the server should be more verbose.
리턴 MapReduceOptionsBuilder