CepOrderedStream<T> Class
SQL Server 2008 R2
An ordered stream is the result of an "order by" or one of its variants in the query. It helps constrain subsequent query specification to operations that are allowed on an ordered stream, such as Take.
Namespace:
Microsoft.ComplexEventProcessing.Linq
Assembly: Microsoft.ComplexEventProcessing (in Microsoft.ComplexEventProcessing.dll)
The CepOrderedStream<T> type exposes the following members.
| Name | Description | |
|---|---|---|
![]() | Select<TInput, TResult> | Given an ordered stream, this method produces an ordered stream that can be used for ranking. (Defined by CepStream.) |
![]() | Take<TPayload>(UInt32) | Overloaded. Given an ordered stream, takes a given number of events from each window. (Defined by CepStream.) |
![]() | Take<TInput, TResult>(UInt32, Expression<Func<CepRankedEvent<TInput>, TResult>>) | Overloaded. Takes a given number of events from each window and also evaluates the given expression. This is used for cases in which you want to project the rank into the result of Take(). (Defined by CepStream.) |
![]() | ThenBy<TPayload, TOrderKey> | Orders an ordered stream by another orderKey as indicated by rankSelector. (Defined by CepStream.) |
![]() | ThenByDescending<TPayload, TOrderKey> | Orders an ordered stream by another orderKey as indicated by rankSelector. (Defined by CepStream.) |

