C# Class MongoDB.Driver.Builders.MapReduceOutput

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

Méthodes publiques

Méthode 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

Méthode Description
ToBsonValue ( ) : BsonValue

Method Details

MapReduceOutput() public méthode

Creates a new instance of the MapReduceOutput class.
public MapReduceOutput ( ) : System
Résultat System

MapReduceOutput() public méthode

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

MapReduceOutput() public méthode

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.
Résultat System

Merge() public static méthode

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.
Résultat MapReduceOutput

Merge() public static méthode

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.
Résultat MapReduceOutput

Merge() public static méthode

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.
Résultat MapReduceOutput

Merge() public static méthode

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.
Résultat MapReduceOutput

Reduce() public static méthode

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.
Résultat MapReduceOutput

Reduce() public static méthode

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.
Résultat MapReduceOutput

Reduce() public static méthode

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.
Résultat MapReduceOutput

Reduce() public static méthode

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.
Résultat MapReduceOutput

Replace() public static méthode

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.
Résultat MapReduceOutput

Replace() public static méthode

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.
Résultat MapReduceOutput

Replace() public static méthode

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.
Résultat MapReduceOutput

Replace() public static méthode

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.
Résultat MapReduceOutput