CepStream.TumblingWindow<TPayload> Method (CepStream<TPayload>, TimeSpan)
Transforms a stream to a window stream where each member is a CepWindow using the default output policy.
Namespace: Microsoft.ComplexEventProcessing.Linq
Assembly: Microsoft.ComplexEventProcessing (in Microsoft.ComplexEventProcessing.dll)
Syntax
public static CepWindowStream<CepWindow<TPayload>> TumblingWindow<TPayload>(
this CepStream<TPayload> source,
TimeSpan windowSize
)
public:
generic<typename TPayload>
[ExtensionAttribute]
static CepWindowStream<CepWindow<TPayload>^>^ TumblingWindow(
CepStream<TPayload>^ source,
TimeSpan windowSize
)
static member TumblingWindow<'TPayload> :
source:CepStream<'TPayload> *
windowSize:TimeSpan -> CepWindowStream<CepWindow<'TPayload>>
<ExtensionAttribute>
Public Shared Function TumblingWindow(Of TPayload) (
source As CepStream(Of TPayload),
windowSize As TimeSpan
) As CepWindowStream(Of CepWindow(Of TPayload))
Parameters
source
Type: Microsoft.ComplexEventProcessing.Linq.CepStream<TPayload>The CepStream to apply the TumblingWindow operation against.
windowSize
Type: System.TimeSpanThe length and hop size of the window.
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
TumblingWindow Overload
CepStream Class
Microsoft.ComplexEventProcessing.Linq Namespace
Return to top