Class PipelineStageDefinitionBuilder
| MongoDB CSharp Driver API Reference (original) (raw)
Namespace
Assembly
MongoDB.Driver.dll
Methods for building pipeline stages.
public static class PipelineStageDefinitionBuilderInheritance
PipelineStageDefinitionBuilder
Inherited Members
Methods
Creates a $bucketAuto stage.
BucketAuto<TInput, TValue>(Expression<Func<TInput, TValue>>, int, AggregateBucketAutoOptions)
Creates a $bucketAuto stage.
Creates a $bucketAuto stage.
Creates a $bucketAuto stage (this overload can only be used with LINQ3).
Creates a $bucket stage.
Bucket<TInput, TValue>(Expression<Func<TInput, TValue>>, IEnumerable, AggregateBucketOptions)
Creates a $bucket stage.
Creates a $bucket stage.
Creates a $bucket stage.
Creates a $changeStreamSplitLargeEvent stage.
ChangeStream(ChangeStreamStageOptions)
Creates a $changeStream stage. Normally you would prefer to use the Watch method of IMongoCollection. 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.
Creates a $count stage.
Densify(FieldDefinition, DensifyRange, params FieldDefinition[])
Creates a $densify stage.
Densify(FieldDefinition, DensifyRange, IEnumerable<FieldDefinition>)
Creates a $densify stage.
Creates a $densify stage.
Densify(Expression<Func<TInput, object>>, DensifyRange, params Expression<Func<TInput, object>>[])
Creates a $densify stage.
Documents(AggregateExpressionDefinition<NoPipelineInput, IEnumerable>, IBsonSerializer)
Creates a $documents stage.
Documents(IEnumerable, IBsonSerializer)
Creates a $documents stage.
Facet(params AggregateFacet[])
Creates a $facet stage.
Facet(IEnumerable<AggregateFacet>)
Creates a $facet stage.
Facet<TInput, TOutput>(params AggregateFacet[])
Creates a $facet stage.
Facet<TInput, TOutput>(IEnumerable<AggregateFacet>, AggregateFacetOptions)
Creates a $facet stage.
GeoNear<TInput, TOutput>(double[], GeoNearOptions<TInput, TOutput>)
Creates a $geoNear stage.
GeoNear<TInput, TCoordinates, TOutput>(GeoJsonPoint, GeoNearOptions<TInput, TOutput>)
Creates a $geoNear stage.
Creates a $graphLookup stage.
Creates a $graphLookup stage.
Creates a $graphLookup stage.
Creates a $graphLookup stage.
Creates a $graphLookup stage.
Group(ProjectionDefinition<TInput, BsonDocument>)
Creates a $group stage.
Group<TInput, TOutput>(ProjectionDefinition<TInput, TOutput>)
Creates a $group stage.
Creates a $group stage.
Creates a $limit stage.
Creates a $lookup stage.
Creates a $lookup stage.
Creates a $lookup stage.
Creates a $lookup stage.
Creates a $match stage.
Match(Expression<Func<TInput, bool>>)
Creates a $match stage.
Merge<TInput, TOutput>(IMongoCollection, MergeStageOptions)
Creates a $merge stage.
OfType<TInput, TOutput>(IBsonSerializer)
Create a $match stage that select documents of a sub type.
Out(IMongoCollection, TimeSeriesOptions)
Creates a $out stage.
Project(ProjectionDefinition<TInput, BsonDocument>)
Creates a $project stage.
Project<TInput, TOutput>(ProjectionDefinition<TInput, TOutput>)
Creates a $project stage.
Project<TInput, TOutput>(Expression<Func<TInput, TOutput>>)
Creates a $project stage.
RankFusion<TInput, TOutput>(PipelineDefinition<TInput, TOutput>[], RankFusionOptions)
Creates a $rankFusion stage. Pipelines will be automatically named as "pipeline1", "pipeline2", etc.
Creates a $rankFusion stage.
Creates a $rankFusion stage. Pipelines will be automatically named as "pipeline1", "pipeline2", etc.
ReplaceRoot<TInput, TOutput>(AggregateExpressionDefinition<TInput, TOutput>)
Creates a $replaceRoot stage.
ReplaceRoot<TInput, TOutput>(Expression<Func<TInput, TOutput>>)
Creates a $replaceRoot stage.
ReplaceWith<TInput, TOutput>(AggregateExpressionDefinition<TInput, TOutput>)
Creates a $replaceWith stage.
ReplaceWith<TInput, TOutput>(Expression<Func<TInput, TOutput>>)
Creates a $replaceWith stage.
Creates a $sample stage.
SearchMeta(SearchDefinition, string, SearchCountOptions)
Creates a $searchMeta stage.
Search(SearchDefinition, SearchHighlightOptions, string, SearchCountOptions, bool, bool)
Creates a $search stage.
Search(SearchDefinition, SearchOptions)
Creates a $search stage.
Create a $setWindowFields stage.
SetWindowFields<TInput, TWindowFields>(Expression<Func<ISetWindowFieldsPartition, TWindowFields>>)
Create a $setWindowFields stage.
Create a $setWindowFields stage.
Create a $setWindowFields stage.
Create a $setWindowFields stage.
Create a $setWindowFields stage.
Creates a $set stage.
Set<TInput, TFields>(Expression<Func<TInput, TFields>>)
Creates a $set stage.
Creates a $skip stage.
SortByCount<TInput, TValue>(AggregateExpressionDefinition<TInput, TValue>)
Creates a $sortByCount stage.
SortByCount<TInput, TValue>(Expression<Func<TInput, TValue>>)
Creates a $sortByCount stage.
Creates a $sort stage.
UnionWith<TInput, TWith>(IMongoCollection, PipelineDefinition<TWith, TInput>)
Creates a $unionWith stage.
Unwind(FieldDefinition, AggregateUnwindOptions)
Creates an $unwind stage.
Unwind(Expression<Func<TInput, object>>, AggregateUnwindOptions)
Creates an $unwind stage.
Unwind<TInput, TOutput>(FieldDefinition, AggregateUnwindOptions)
Creates an $unwind stage.
Unwind<TInput, TOutput>(Expression<Func<TInput, object>>, AggregateUnwindOptions)
Creates an $unwind stage.
VectorSearch(FieldDefinition, QueryVector, int, VectorSearchOptions)
Creates a $vectorSearch stage.
Creates a $vectorSearch stage.