C# Class MongoDB.Driver.Builders.MapReduceOutput

Represents the output options of a map/reduce operation.
Mostrar archivo Open project: CloudMetal/mongo-csharp-driver Class Usage Examples

Public Methods

Method Description
MapReduceOutput ( ) : System

Creates a new instance of the MapReduceOutput class.

MapReduceOutput ( string collectionName ) : System

Creates a new instance of the MapReduceOutput class.

MapReduceOutput ( string databaseName, string collectionName ) : System

Creates a new instance of the MapReduceOutput class.

Merge ( string collectionName ) : MapReduceOutput

Gets a MapReduceOutput value that specifies that the output should be stored in a collection (adding new values and overwriting existing ones).

Merge ( string collectionName, bool sharded ) : MapReduceOutput

Gets a MapReduceOutput value that specifies that the output should be stored in a collection (adding new values and overwriting existing ones).

Merge ( string databaseName, string collectionName ) : MapReduceOutput

Gets a MapReduceOutput value that specifies that the output should be stored in a collection (adding new values and overwriting existing ones).

Merge ( string databaseName, string collectionName, bool sharded ) : MapReduceOutput

Gets a MapReduceOutput value that specifies that the output should be stored in a collection (adding new values and overwriting existing ones).

Reduce ( string collectionName ) : MapReduceOutput

Gets a MapReduceOutput value that specifies that the output should be stored in a collection (using the reduce function to combine new values with existing values).

Reduce ( string collectionName, bool sharded ) : MapReduceOutput

Gets a MapReduceOutput value that specifies that the output should be stored in a collection (using the reduce function to combine new values with existing values).

Reduce ( string databaseName, string collectionName ) : MapReduceOutput

Gets a MapReduceOutput value that specifies that the output should be stored in a collection (using the reduce function to combine new values with existing values).

Reduce ( string databaseName, string collectionName, bool sharded ) : MapReduceOutput

Gets a MapReduceOutput value that specifies that the output should be stored in a collection (using the reduce function to combine new values with existing values).

Replace ( string collectionName ) : MapReduceOutput

Gets a MapReduceOutput value that specifies that the output should be stored in a collection (replaces the entire collection).

Replace ( string collectionName, bool sharded ) : MapReduceOutput

Gets a MapReduceOutput value that specifies that the output should be stored in a collection (replaces the entire collection).

Replace ( string databaseName, string collectionName ) : MapReduceOutput

Gets a MapReduceOutput value that specifies that the output should be stored in a collection (replaces the entire collection).

Replace ( string databaseName, string collectionName, bool sharded ) : MapReduceOutput

Gets a MapReduceOutput value that specifies that the output should be stored in a collection (replaces the entire collection).

Private Methods

Method Description
ToBsonValue ( ) : BsonValue

Method Details

MapReduceOutput() public method

Creates a new instance of the MapReduceOutput class.
public MapReduceOutput ( ) : System
return System

MapReduceOutput() public method

Creates a new instance of the MapReduceOutput class.
public MapReduceOutput ( string collectionName ) : System
collectionName string The name of the output collection.
return System

MapReduceOutput() public method

Creates a new instance of the MapReduceOutput class.
public MapReduceOutput ( string databaseName, string collectionName ) : System
databaseName string The name of the database that will contain the output collection.
collectionName string The name of the output collection.
return System

Merge() public static method

Gets a MapReduceOutput value that specifies that the output should be stored in a collection (adding new values and overwriting existing ones).
public static Merge ( string collectionName ) : MapReduceOutput
collectionName string The output collection name.
return MapReduceOutput

Merge() public static method

Gets a MapReduceOutput value that specifies that the output should be stored in a collection (adding new values and overwriting existing ones).
public static Merge ( string collectionName, bool sharded ) : MapReduceOutput
collectionName string The output collection name.
sharded bool Whether the output collection is sharded.
return MapReduceOutput

Merge() public static method

Gets a MapReduceOutput value that specifies that the output should be stored in a collection (adding new values and overwriting existing ones).
public static Merge ( string databaseName, string collectionName ) : MapReduceOutput
databaseName string The output database name.
collectionName string The output collection name.
return MapReduceOutput

Merge() public static method

Gets a MapReduceOutput value that specifies that the output should be stored in a collection (adding new values and overwriting existing ones).
public static Merge ( string databaseName, string collectionName, bool sharded ) : MapReduceOutput
databaseName string The output database name.
collectionName string The output collection name.
sharded bool Whether the output collection is sharded.
return MapReduceOutput

Reduce() public static method

Gets a MapReduceOutput value that specifies that the output should be stored in a collection (using the reduce function to combine new values with existing values).
public static Reduce ( string collectionName ) : MapReduceOutput
collectionName string The output collection name.
return MapReduceOutput

Reduce() public static method

Gets a MapReduceOutput value that specifies that the output should be stored in a collection (using the reduce function to combine new values with existing values).
public static Reduce ( string collectionName, bool sharded ) : MapReduceOutput
collectionName string The output collection name.
sharded bool Whether the output collection is sharded.
return MapReduceOutput

Reduce() public static method

Gets a MapReduceOutput value that specifies that the output should be stored in a collection (using the reduce function to combine new values with existing values).
public static Reduce ( string databaseName, string collectionName ) : MapReduceOutput
databaseName string The output database name.
collectionName string The output collection name.
return MapReduceOutput

Reduce() public static method

Gets a MapReduceOutput value that specifies that the output should be stored in a collection (using the reduce function to combine new values with existing values).
public static Reduce ( string databaseName, string collectionName, bool sharded ) : MapReduceOutput
databaseName string The output database name.
collectionName string The output collection name.
sharded bool Whether the output collection is sharded.
return MapReduceOutput

Replace() public static method

Gets a MapReduceOutput value that specifies that the output should be stored in a collection (replaces the entire collection).
public static Replace ( string collectionName ) : MapReduceOutput
collectionName string The output collection name.
return MapReduceOutput

Replace() public static method

Gets a MapReduceOutput value that specifies that the output should be stored in a collection (replaces the entire collection).
public static Replace ( string collectionName, bool sharded ) : MapReduceOutput
collectionName string The output collection name.
sharded bool Whether the output collection is sharded.
return MapReduceOutput

Replace() public static method

Gets a MapReduceOutput value that specifies that the output should be stored in a collection (replaces the entire collection).
public static Replace ( string databaseName, string collectionName ) : MapReduceOutput
databaseName string The output database name.
collectionName string The output collection name.
return MapReduceOutput

Replace() public static method

Gets a MapReduceOutput value that specifies that the output should be stored in a collection (replaces the entire collection).
public static Replace ( string databaseName, string collectionName, bool sharded ) : MapReduceOutput
databaseName string The output database name.
collectionName string The output collection name.
sharded bool Whether the output collection is sharded.
return MapReduceOutput