CepStream.CountByStartTimeWindow<TPayload> Method (CepStream<TPayload>, UInt32, WindowInputPolicy, CountWindowOutputPolicy)

Groups input stream events into windows of events based on a given number of unique event start times. The window slides when a new event arrives that starts at a different time.

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

Syntax

public static CepWindowStream<CepWindow<TPayload>> CountByStartTimeWindow<TPayload>(
    this CepStream<TPayload> source,
    uint numberOfEventStartTime,
    WindowInputPolicy inputPolicy,
    CountWindowOutputPolicy outputPolicy
)

Type Parameters

  • TPayload
    The type of the input event payload.

Parameters

  • numberOfEventStartTime
    Type: System.UInt32
    The window size by number of unique event start times.

Return Value

Type: Microsoft.ComplexEventProcessing.Linq.CepWindowStream<CepWindow<TPayload>>
A window stream to which aggregates, ranking or user-defined operations can be applied.

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type CepStream<TPayload>. When you use instance method syntax to call this method, omit the first parameter. For more information, see https://msdn.microsoft.com/en-us/library/bb384936(v=sql.105) or https://msdn.microsoft.com/en-us/library/bb383977(v=sql.105).

Remarks

For more information about windows, see Using Event Windows.

See Also

Reference

CepStream Class

CountByStartTimeWindow Overload

Microsoft.ComplexEventProcessing.Linq Namespace