Click or drag to resize

PipelineStageDefinitionBuilder Class

Methods for building pipeline stages.
Inheritance Hierarchy
SystemObject
  MongoDB.DriverPipelineStageDefinitionBuilder

Namespace:  MongoDB.Driver
Assembly:  MongoDB.Driver (in MongoDB.Driver.dll) Version: 2.11.0+cb27a82ea70620ad1acad8058809be8302ae4f2a
Syntax
public static class PipelineStageDefinitionBuilder

The PipelineStageDefinitionBuilder type exposes the following members.

Methods
  NameDescription
Public methodStatic memberBucketTInput, TValue(AggregateExpressionDefinitionTInput, TValue, IEnumerableTValue, AggregateBucketOptionsTValue)
Creates a $bucket stage.
Public methodStatic memberBucketTInput, TValue(ExpressionFuncTInput, TValue, IEnumerableTValue, AggregateBucketOptionsTValue, ExpressionTranslationOptions)
Creates a $bucket stage.
Public methodStatic memberBucketTInput, TValue, TOutput(AggregateExpressionDefinitionTInput, TValue, IEnumerableTValue, ProjectionDefinitionTInput, TOutput, AggregateBucketOptionsTValue)
Creates a $bucket stage.
Public methodStatic memberBucketTInput, TValue, TOutput(ExpressionFuncTInput, TValue, IEnumerableTValue, ExpressionFuncIGroupingTValue, TInput, TOutput, AggregateBucketOptionsTValue, ExpressionTranslationOptions)
Creates a $bucket stage.
Public methodStatic memberBucketAutoTInput, TValue(AggregateExpressionDefinitionTInput, TValue, Int32, AggregateBucketAutoOptions)
Creates a $bucketAuto stage.
Public methodStatic memberBucketAutoTInput, TValue(ExpressionFuncTInput, TValue, Int32, AggregateBucketAutoOptions, ExpressionTranslationOptions)
Creates a $bucketAuto stage.
Public methodStatic memberBucketAutoTInput, TValue, TOutput(AggregateExpressionDefinitionTInput, TValue, Int32, ProjectionDefinitionTInput, TOutput, AggregateBucketAutoOptions)
Creates a $bucketAuto stage.
Public methodStatic memberBucketAutoTInput, TValue, TOutput(ExpressionFuncTInput, TValue, Int32, ExpressionFuncIGroupingTValue, TInput, TOutput, AggregateBucketAutoOptions, ExpressionTranslationOptions)
Creates a $bucketAuto stage.
Public methodStatic memberChangeStreamTInput
Creates a $changeStream stage. Normally you would prefer to use the Watch method of IMongoCollectionTDocument. Only use this method if subsequent stages project away the resume token (the _id) or you don't want the resulting cursor to automatically resume.
Public methodStatic memberCountTInput
Creates a $count stage.
Public methodStatic memberFacetTInput(AggregateFacetTInput)
Creates a $facet stage.
Public methodStatic memberFacetTInput(IEnumerableAggregateFacetTInput)
Creates a $facet stage.
Public methodStatic memberFacetTInput, TOutput(AggregateFacetTInput)
Creates a $facet stage.
Public methodStatic memberFacetTInput, TOutput(IEnumerableAggregateFacetTInput, AggregateFacetOptionsTOutput)
Creates a $facet stage.
Public methodStatic memberGraphLookupTInput, TFrom(IMongoCollectionTFrom, FieldDefinitionTFrom, BsonValue, FieldDefinitionTFrom, BsonValue, AggregateExpressionDefinitionTInput, BsonValue, FieldDefinitionBsonDocument, IEnumerableBsonDocument, FieldDefinitionBsonDocument, Int32)
Creates a $graphLookup stage.
Public methodStatic memberGraphLookupTInput, TFrom, TConnectFrom, TConnectTo, TStartWith, TAs, TOutput(IMongoCollectionTFrom, FieldDefinitionTFrom, TConnectFrom, FieldDefinitionTFrom, TConnectTo, AggregateExpressionDefinitionTInput, TStartWith, FieldDefinitionTOutput, TAs, AggregateGraphLookupOptionsTFrom, TFrom, TOutput)
Creates a $graphLookup stage.
Public methodStatic memberGraphLookupTInput, TFrom, TConnectFrom, TConnectTo, TStartWith, TAs, TOutput(IMongoCollectionTFrom, ExpressionFuncTFrom, TConnectFrom, ExpressionFuncTFrom, TConnectTo, ExpressionFuncTInput, TStartWith, ExpressionFuncTOutput, TAs, AggregateGraphLookupOptionsTFrom, TFrom, TOutput, ExpressionTranslationOptions)
Creates a $graphLookup stage.
Public methodStatic memberGraphLookupTInput, TFrom, TConnectFrom, TConnectTo, TStartWith, TAsElement, TAs, TOutput(IMongoCollectionTFrom, FieldDefinitionTFrom, TConnectFrom, FieldDefinitionTFrom, TConnectTo, AggregateExpressionDefinitionTInput, TStartWith, FieldDefinitionTOutput, TAs, FieldDefinitionTAsElement, Int32, AggregateGraphLookupOptionsTFrom, TAsElement, TOutput)
Creates a $graphLookup stage.
Public methodStatic memberGraphLookupTInput, TFrom, TConnectFrom, TConnectTo, TStartWith, TAsElement, TAs, TOutput(IMongoCollectionTFrom, ExpressionFuncTFrom, TConnectFrom, ExpressionFuncTFrom, TConnectTo, ExpressionFuncTInput, TStartWith, ExpressionFuncTOutput, TAs, ExpressionFuncTAsElement, Int32, AggregateGraphLookupOptionsTFrom, TAsElement, TOutput, ExpressionTranslationOptions)
Creates a $graphLookup stage.
Public methodStatic memberGroupTInput(ProjectionDefinitionTInput, BsonDocument)
Creates a $group stage.
Public methodStatic memberGroupTInput, TOutput(ProjectionDefinitionTInput, TOutput)
Creates a $group stage.
Public methodStatic memberGroupTInput, TValue, TOutput(ExpressionFuncTInput, TValue, ExpressionFuncIGroupingTValue, TInput, TOutput, ExpressionTranslationOptions)
Creates a $group stage.
Public methodStatic memberLimitTInput
Creates a $limit stage.
Public methodStatic memberLookupTInput, TForeignDocument, TOutput(IMongoCollectionTForeignDocument, FieldDefinitionTInput, FieldDefinitionTForeignDocument, FieldDefinitionTOutput, AggregateLookupOptionsTForeignDocument, TOutput)
Creates a $lookup stage.
Public methodStatic memberLookupTInput, TForeignDocument, TOutput(IMongoCollectionTForeignDocument, ExpressionFuncTInput, Object, ExpressionFuncTForeignDocument, Object, ExpressionFuncTOutput, Object, AggregateLookupOptionsTForeignDocument, TOutput)
Creates a $lookup stage.
Public methodStatic memberLookupTInput, TForeignDocument, TAsElement, TAs, TOutput(IMongoCollectionTForeignDocument, BsonDocument, PipelineDefinitionTForeignDocument, TAsElement, FieldDefinitionTOutput, TAs, AggregateLookupOptionsTForeignDocument, TOutput)
Creates a $lookup stage.
Public methodStatic memberLookupTInput, TForeignDocument, TAsElement, TAs, TOutput(IMongoCollectionTForeignDocument, BsonDocument, PipelineDefinitionTForeignDocument, TAsElement, ExpressionFuncTOutput, TAs, AggregateLookupOptionsTForeignDocument, TOutput)
Creates a $lookup stage.
Public methodStatic memberMatchTInput(ExpressionFuncTInput, Boolean)
Creates a $match stage.
Public methodStatic memberMatchTInput(FilterDefinitionTInput)
Creates a $match stage.
Public methodStatic memberMergeTInput, TOutput
Creates a $merge stage.
Public methodStatic memberOfTypeTInput, TOutput
Create a $match stage that select documents of a sub type.
Public methodStatic memberOutTInput
Creates a $out stage.
Public methodStatic memberProjectTInput(ProjectionDefinitionTInput, BsonDocument)
Creates a $project stage.
Public methodStatic memberProjectTInput, TOutput(ProjectionDefinitionTInput, TOutput)
Creates a $project stage.
Public methodStatic memberProjectTInput, TOutput(ExpressionFuncTInput, TOutput, ExpressionTranslationOptions)
Creates a $project stage.
Public methodStatic memberReplaceRootTInput, TOutput(AggregateExpressionDefinitionTInput, TOutput)
Creates a $replaceRoot stage.
Public methodStatic memberReplaceRootTInput, TOutput(ExpressionFuncTInput, TOutput, ExpressionTranslationOptions)
Creates a $replaceRoot stage.
Public methodStatic memberReplaceWithTInput, TOutput(AggregateExpressionDefinitionTInput, TOutput)
Creates a $replaceWith stage.
Public methodStatic memberReplaceWithTInput, TOutput(ExpressionFuncTInput, TOutput, ExpressionTranslationOptions)
Creates a $replaceWith stage.
Public methodStatic memberSkipTInput
Creates a $skip stage.
Public methodStatic memberSortTInput
Creates a $sort stage.
Public methodStatic memberSortByCountTInput, TValue(AggregateExpressionDefinitionTInput, TValue)
Creates a $sortByCount stage.
Public methodStatic memberSortByCountTInput, TValue(ExpressionFuncTInput, TValue, ExpressionTranslationOptions)
Creates a $sortByCount stage.
Public methodStatic memberUnionWithTInput, TWith
Creates a $unionWith stage.
Public methodStatic memberUnwindTInput(ExpressionFuncTInput, Object, AggregateUnwindOptionsBsonDocument)
Creates an $unwind stage.
Public methodStatic memberUnwindTInput(FieldDefinitionTInput, AggregateUnwindOptionsBsonDocument)
Creates an $unwind stage.
Public methodStatic memberUnwindTInput, TOutput(ExpressionFuncTInput, Object, AggregateUnwindOptionsTOutput)
Creates an $unwind stage.
Public methodStatic memberUnwindTInput, TOutput(FieldDefinitionTInput, AggregateUnwindOptionsTOutput)
Creates an $unwind stage.
Top
See Also