CepStream.CountByStartTimeWindow<TPayload> Method (CepStream<TPayload>, UInt32)
Groups input stream events into windows of events based on a given number of unique event start times using the default output policy. 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
)
public:
generic<typename TPayload>
[ExtensionAttribute]
static CepWindowStream<CepWindow<TPayload>^>^ CountByStartTimeWindow(
CepStream<TPayload>^ source,
unsigned int numberOfEventStartTime
)
static member CountByStartTimeWindow<'TPayload> :
source:CepStream<'TPayload> *
numberOfEventStartTime:uint32 -> CepWindowStream<CepWindow<'TPayload>>
<ExtensionAttribute>
Public Shared Function CountByStartTimeWindow(Of TPayload) (
source As CepStream(Of TPayload),
numberOfEventStartTime As UInteger
) As CepWindowStream(Of CepWindow(Of TPayload))
Parameters
source
Type: Microsoft.ComplexEventProcessing.Linq.CepStream<TPayload>The CepStream to apply the window operation against.
numberOfEventStartTime
Type: System.UInt32The 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.
Type Parameters
- TPayload
The type of the input event payload.
See Also
CountByStartTimeWindow Overload
CepStream Class
Microsoft.ComplexEventProcessing.Linq Namespace
Return to top