IOrderedAggregateFluent<TResult> Interface |
Namespace: MongoDB.Driver
public interface IOrderedAggregateFluent<TResult> : IAggregateFluent<TResult>, IAsyncCursorSource<TResult>
The IOrderedAggregateFluent<TResult> type exposes the following members.
Name | Description | |
---|---|---|
![]() | Database |
Gets the database.
(Inherited from IAggregateFluent<TResult>.) |
![]() | Options |
Gets the options.
(Inherited from IAggregateFluent<TResult>.) |
![]() | Stages |
Gets the stages.
(Inherited from IAggregateFluent<TResult>.) |
Name | Description | |
---|---|---|
![]() | AppendStage<TNewResult> |
Appends the stage to the pipeline.
(Inherited from IAggregateFluent<TResult>.) |
![]() | As<TNewResult> |
Changes the result type of the pipeline.
(Inherited from IAggregateFluent<TResult>.) |
![]() | Bucket<TValue>(AggregateExpressionDefinition<TResult, TValue>, IEnumerable<TValue>, AggregateBucketOptions<TValue>) |
Appends a $bucket stage to the pipeline.
(Inherited from IAggregateFluent<TResult>.) |
![]() | Bucket<TValue, TNewResult>(AggregateExpressionDefinition<TResult, TValue>, IEnumerable<TValue>, ProjectionDefinition<TResult, TNewResult>, AggregateBucketOptions<TValue>) |
Appends a $bucket stage to the pipeline with a custom projection.
(Inherited from IAggregateFluent<TResult>.) |
![]() | BucketAuto<TValue>(AggregateExpressionDefinition<TResult, TValue>, Int32, AggregateBucketAutoOptions) |
Appends a $bucketAuto stage to the pipeline.
(Inherited from IAggregateFluent<TResult>.) |
![]() | BucketAuto<TValue, TNewResult>(AggregateExpressionDefinition<TResult, TValue>, Int32, ProjectionDefinition<TResult, TNewResult>, AggregateBucketAutoOptions) |
Appends a $bucketAuto stage to the pipeline with a custom projection.
(Inherited from IAggregateFluent<TResult>.) |
![]() | ChangeStream |
Appends a $changeStream stage to the pipeline.
Normally you would prefer to use the Watch method of IMongoCollection<TDocument>.
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.
(Inherited from IAggregateFluent<TResult>.) |
![]() | Count |
Appends a count stage to the pipeline.
(Inherited from IAggregateFluent<TResult>.) |
![]() | Densify(FieldDefinition<TResult>, DensifyRange,FieldDefinition<TResult>[]) |
Appends a $densify stage to the pipeline.
(Inherited from IAggregateFluent<TResult>.) |
![]() | Densify(FieldDefinition<TResult>, DensifyRange, IEnumerable<FieldDefinition<TResult>>) |
Appends a $densify stage to the pipeline.
(Inherited from IAggregateFluent<TResult>.) |
![]() | Facet<TNewResult> |
Appends a $facet stage to the pipeline.
(Inherited from IAggregateFluent<TResult>.) |
![]() | GraphLookup<TFrom, TConnectFrom, TConnectTo, TStartWith, TAsElement, TAs, TNewResult> |
Appends a $graphLookup stage to the pipeline.
(Inherited from IAggregateFluent<TResult>.) |
![]() | Group<TNewResult> |
Appends a group stage to the pipeline.
(Inherited from IAggregateFluent<TResult>.) |
![]() | Limit |
Appends a limit stage to the pipeline.
(Inherited from IAggregateFluent<TResult>.) |
![]() | Lookup<TForeignDocument, TNewResult>(String, FieldDefinition<TResult>, FieldDefinition<TForeignDocument>, FieldDefinition<TNewResult>, AggregateLookupOptions<TForeignDocument, TNewResult>) |
Appends a lookup stage to the pipeline.
(Inherited from IAggregateFluent<TResult>.) |
![]() | Lookup<TForeignDocument, TAsElement, TAs, TNewResult>(IMongoCollection<TForeignDocument>, BsonDocument, PipelineDefinition<TForeignDocument, TAsElement>, FieldDefinition<TNewResult, TAs>, AggregateLookupOptions<TForeignDocument, TNewResult>) |
Appends a lookup stage to the pipeline.
(Inherited from IAggregateFluent<TResult>.) |
![]() | Match |
Appends a match stage to the pipeline.
(Inherited from IAggregateFluent<TResult>.) |
![]() | Merge<TOutput> |
Appends a merge stage to the pipeline and executes it, and then returns a cursor to read the contents of the output collection.
(Inherited from IAggregateFluent<TResult>.) |
![]() | MergeAsync<TOutput> |
Appends a merge stage to the pipeline and executes it, and then returns a cursor to read the contents of the output collection.
(Inherited from IAggregateFluent<TResult>.) |
![]() | OfType<TNewResult> |
Appends a match stage to the pipeline that matches derived documents and changes the result type to the derived type.
(Inherited from IAggregateFluent<TResult>.) |
![]() | 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.
(Inherited from IAggregateFluent<TResult>.) |
![]() | Out(IMongoCollection<TResult>, CancellationToken) |
Appends an out stage to the pipeline and executes it, and then returns a cursor to read the contents of the output collection.
(Inherited from IAggregateFluent<TResult>.) |
![]() | 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.
(Inherited from IAggregateFluent<TResult>.) |
![]() | OutAsync(IMongoCollection<TResult>, CancellationToken) |
Appends an out stage to the pipeline and executes it, and then returns a cursor to read the contents of the output collection.
(Inherited from IAggregateFluent<TResult>.) |
![]() | Project<TNewResult> |
Appends a project stage to the pipeline.
(Inherited from IAggregateFluent<TResult>.) |
![]() | ReplaceRoot<TNewResult> |
Appends a $replaceRoot stage to the pipeline.
(Inherited from IAggregateFluent<TResult>.) |
![]() | ReplaceWith<TNewResult> |
Appends a $replaceWith stage to the pipeline.
(Inherited from IAggregateFluent<TResult>.) |
![]() | Search(SearchDefinition<TResult>, SearchOptions<TResult>) |
Appends a $search stage to the pipeline.
(Inherited from IAggregateFluent<TResult>.) |
![]() | Search(SearchDefinition<TResult>, SearchHighlightOptions<TResult>, String, SearchCountOptions, Boolean, Boolean) |
Appends a $search stage to the pipeline.
(Inherited from IAggregateFluent<TResult>.) |
![]() | SearchMeta |
Appends a $searchMeta stage to the pipeline.
(Inherited from IAggregateFluent<TResult>.) |
![]() | SetWindowFields<TWindowFields>(AggregateExpressionDefinition<ISetWindowFieldsPartition<TResult>, TWindowFields>) |
Appends a $setWindowFields to the pipeline.
(Inherited from IAggregateFluent<TResult>.) |
![]() | SetWindowFields<TPartitionBy, TWindowFields>(AggregateExpressionDefinition<TResult, TPartitionBy>, AggregateExpressionDefinition<ISetWindowFieldsPartition<TResult>, TWindowFields>) |
Appends a $setWindowFields to the pipeline.
(Inherited from IAggregateFluent<TResult>.) |
![]() | SetWindowFields<TPartitionBy, TWindowFields>(AggregateExpressionDefinition<TResult, TPartitionBy>, SortDefinition<TResult>, AggregateExpressionDefinition<ISetWindowFieldsPartition<TResult>, TWindowFields>) |
Appends a $setWindowFields to the pipeline.
(Inherited from IAggregateFluent<TResult>.) |
![]() | Skip |
Appends a skip stage to the pipeline.
(Inherited from IAggregateFluent<TResult>.) |
![]() | Sort |
Appends a sort stage to the pipeline.
(Inherited from IAggregateFluent<TResult>.) |
![]() | SortByCount<TId> |
Appends a sortByCount stage to the pipeline.
(Inherited from IAggregateFluent<TResult>.) |
![]() | ThenBy |
Combines the current sort definition with an additional sort definition.
|
![]() | ToCollection |
Executes an aggregation pipeline that writes the results to a collection.
(Inherited from IAggregateFluent<TResult>.) |
![]() | ToCollectionAsync |
Executes an aggregation pipeline that writes the results to a collection.
(Inherited from IAggregateFluent<TResult>.) |
![]() | ToCursor |
Executes the operation and returns a cursor to the results.
(Inherited from IAsyncCursorSource<TDocument>.) |
![]() | ToCursorAsync |
Executes the operation and returns a cursor to the results.
(Inherited from IAsyncCursorSource<TDocument>.) |
![]() | UnionWith<TWith> |
Appends an $unionWith stage to the pipeline.
(Inherited from IAggregateFluent<TResult>.) |
![]() | Unwind<TNewResult>(FieldDefinition<TResult>, IBsonSerializer<TNewResult>) | Obsolete.
Appends an unwind stage to the pipeline.
(Inherited from IAggregateFluent<TResult>.) |
![]() | Unwind<TNewResult>(FieldDefinition<TResult>, AggregateUnwindOptions<TNewResult>) |
Appends an unwind stage to the pipeline.
(Inherited from IAggregateFluent<TResult>.) |