CepOrderableStream<T> Class

 

Represents a stream of events that can be ordered.

Namespace:   Microsoft.ComplexEventProcessing.Linq
Assembly:  Microsoft.ComplexEventProcessing (in Microsoft.ComplexEventProcessing.dll)

Inheritance Hierarchy

System.Object
  Microsoft.ComplexEventProcessing.Linq.CepOrderableStream<T>

Syntax

public class CepOrderableStream<T>
generic<typename T>
public ref class CepOrderableStream 
type CepOrderableStream<'T> = class end
Public Class CepOrderableStream(Of T)

Methods

Name Description
System_CAPS_pubmethod Equals(Object)

(Inherited from Object.)

System_CAPS_protmethod Finalize()

(Inherited from Object.)

System_CAPS_pubmethod GetHashCode()

(Inherited from Object.)

System_CAPS_pubmethod GetType()

(Inherited from Object.)

System_CAPS_protmethod MemberwiseClone()

(Inherited from Object.)

System_CAPS_pubmethod ToString()

(Inherited from Object.)

Extension Methods

Name Description
System_CAPS_pubmethod OrderBy<TPayload, TOrderKey>(Expression<Func<TPayload, TOrderKey>>)

Orders the input stream by the rankSelector.(Defined by CepStream.)

System_CAPS_pubmethod OrderByDescending<TPayload, TOrderKey>(Expression<Func<TPayload, TOrderKey>>)

Orders the input stream by the rankSelector in descending order.(Defined by CepStream.)

Remarks

CepOrderableStream helps you write ranking expressions. A CepOrderableStream is produced when a SelectMany is applied to a window stream as shown in the following example.

(from w in s.Window()

from e in w

order by e.i

select e).Take(10)

An orderable stream facilitates the specification of an "order by" clause. After at least one "order by" clause is applied to an orderable stream, an ordered stream is produced.

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also

Microsoft.ComplexEventProcessing.Linq Namespace

Return to top