AggregateFluentBaseTResult Class |
Namespace: MongoDB.Driver
public abstract class AggregateFluentBase<TResult> : IOrderedAggregateFluent<TResult>, IAggregateFluent<TResult>, IAsyncCursorSource<TResult>
The AggregateFluentBaseTResult type exposes the following members.
Name | Description | |
---|---|---|
AggregateFluentBaseTResult | Initializes a new instance of the AggregateFluentBaseTResult class |
Name | Description | |
---|---|---|
AppendStageTNewResult |
Appends the stage to the pipeline.
| |
AsTNewResult |
Changes the result type of the pipeline.
| |
BucketTValue(AggregateExpressionDefinitionTResult, TValue, IEnumerableTValue, AggregateBucketOptionsTValue) |
Appends a $bucket stage to the pipeline.
| |
BucketTValue, TNewResult(AggregateExpressionDefinitionTResult, TValue, IEnumerableTValue, ProjectionDefinitionTResult, TNewResult, AggregateBucketOptionsTValue) |
Appends a $bucket stage to the pipeline with a custom projection.
| |
BucketAutoTValue(AggregateExpressionDefinitionTResult, TValue, Int32, AggregateBucketAutoOptions) |
Appends a $bucketAuto stage to the pipeline.
| |
BucketAutoTValue, TNewResult(AggregateExpressionDefinitionTResult, TValue, Int32, ProjectionDefinitionTResult, TNewResult, AggregateBucketAutoOptions) |
Appends a $bucketAuto stage to the pipeline with a custom projection.
| |
ChangeStream |
Appends a $changeStream stage to the pipeline.
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.
| |
Count |
Appends a count stage to the pipeline.
| |
Densify(FieldDefinitionTResult, DensifyRange, FieldDefinitionTResult) |
Appends a $densify stage to the pipeline.
| |
Densify(FieldDefinitionTResult, DensifyRange, IEnumerableFieldDefinitionTResult) |
Appends a $densify stage to the pipeline.
| |
Equals | Determines whether the specified object is equal to the current object. (Inherited from Object.) | |
FacetTNewResult |
Appends a $facet stage to the pipeline.
| |
Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) | |
GetHashCode | Serves as the default hash function. (Inherited from Object.) | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
GraphLookupTFrom, TConnectFrom, TConnectTo, TStartWith, TAsElement, TAs, TNewResult |
Appends a $graphLookup stage to the pipeline.
| |
GroupTNewResult |
Appends a group stage to the pipeline.
| |
Limit |
Appends a limit stage to the pipeline.
| |
LookupTForeignDocument, TNewResult(String, FieldDefinitionTResult, FieldDefinitionTForeignDocument, FieldDefinitionTNewResult, AggregateLookupOptionsTForeignDocument, TNewResult) |
Appends a lookup stage to the pipeline.
| |
LookupTForeignDocument, TAsElement, TAs, TNewResult(IMongoCollectionTForeignDocument, BsonDocument, PipelineDefinitionTForeignDocument, TAsElement, FieldDefinitionTNewResult, TAs, AggregateLookupOptionsTForeignDocument, TNewResult) |
Appends a lookup stage to the pipeline.
| |
Match |
Appends a match stage to the pipeline.
| |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
MergeTOutput |
Appends a merge stage to the pipeline and executes it, and then returns a cursor to read the contents of the output collection.
| |
MergeAsyncTOutput |
Appends a merge stage to the pipeline and executes it, and then returns a cursor to read the contents of the output collection.
| |
OfTypeTNewResult |
Appends a match stage to the pipeline that matches derived documents and changes the result type to the derived type.
| |
Out(String, CancellationToken) |
Appends an out stage to the pipeline and executes it, and then returns a cursor to read the contents of the output collection.
| |
Out(IMongoCollectionTResult, CancellationToken) |
Appends an out stage to the pipeline and executes it, and then returns a cursor to read the contents of the output collection.
| |
OutAsync(String, CancellationToken) |
Appends an out stage to the pipeline and executes it, and then returns a cursor to read the contents of the output collection.
| |
OutAsync(IMongoCollectionTResult, CancellationToken) |
Appends an out stage to the pipeline and executes it, and then returns a cursor to read the contents of the output collection.
| |
ProjectTNewResult |
Appends a project stage to the pipeline.
| |
ReplaceRootTNewResult |
Appends a $replaceRoot stage to the pipeline.
| |
ReplaceWithTNewResult |
Appends a $replaceWith stage to the pipeline.
| |
Search(SearchDefinitionTResult, SearchOptionsTResult) |
Appends a $search stage to the pipeline.
| |
Search(SearchDefinitionTResult, SearchHighlightOptionsTResult, String, SearchCountOptions, Boolean, Boolean) |
Appends a $search stage to the pipeline.
| |
SearchMeta |
Appends a $searchMeta stage to the pipeline.
| |
Set |
Appends a $set stage to the pipeline.
| |
SetWindowFieldsTWindowFields(AggregateExpressionDefinitionISetWindowFieldsPartitionTResult, TWindowFields) |
Appends a $setWindowFields to the pipeline.
| |
SetWindowFieldsTPartitionBy, TWindowFields(AggregateExpressionDefinitionTResult, TPartitionBy, AggregateExpressionDefinitionISetWindowFieldsPartitionTResult, TWindowFields) |
Appends a $setWindowFields to the pipeline.
| |
SetWindowFieldsTPartitionBy, TWindowFields(AggregateExpressionDefinitionTResult, TPartitionBy, SortDefinitionTResult, AggregateExpressionDefinitionISetWindowFieldsPartitionTResult, TWindowFields) |
Appends a $setWindowFields to the pipeline.
| |
Skip |
Appends a skip stage to the pipeline.
| |
Sort |
Appends a sort stage to the pipeline.
| |
SortByCountTId |
Appends a sortByCount stage to the pipeline.
| |
ThenBy |
Combines the current sort definition with an additional sort definition.
| |
ToCollection |
Executes an aggregation pipeline that writes the results to a collection.
| |
ToCollectionAsync |
Executes an aggregation pipeline that writes the results to a collection.
| |
ToCursor |
Executes the operation and returns a cursor to the results.
| |
ToCursorAsync |
Executes the operation and returns a cursor to the results.
| |
ToString | Returns a string that represents the current object. (Inherited from Object.) | |
UnionWithTWith |
Appends an $unionWith stage to the pipeline.
| |
UnwindTNewResult(FieldDefinitionTResult, IBsonSerializerTNewResult) |
Appends an unwind stage to the pipeline.
| |
UnwindTNewResult(FieldDefinitionTResult, AggregateUnwindOptionsTNewResult) |
Appends an unwind stage to the pipeline.
| |
VectorSearch |
Appends a vector search stage.
|