CepStream.HoppingWindow<TPayload> Method (CepStream<TPayload>, TimeSpan, 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>> HoppingWindow<TPayload>(
this CepStream<TPayload> source,
TimeSpan windowSize,
TimeSpan hopSize
)
public:
generic<typename TPayload>
[ExtensionAttribute]
static CepWindowStream<CepWindow<TPayload>^>^ HoppingWindow(
CepStream<TPayload>^ source,
TimeSpan windowSize,
TimeSpan hopSize
)
static member HoppingWindow<'TPayload> :
source:CepStream<'TPayload> *
windowSize:TimeSpan *
hopSize:TimeSpan -> CepWindowStream<CepWindow<'TPayload>>
<ExtensionAttribute>
Public Shared Function HoppingWindow(Of TPayload) (
source As CepStream(Of TPayload),
windowSize As TimeSpan,
hopSize As TimeSpan
) As CepWindowStream(Of CepWindow(Of TPayload))
Parameters
source
Type: Microsoft.ComplexEventProcessing.Linq.CepStream<TPayload>The CepStream to apply the HoppingWindow operation against.
windowSize
Type: System.TimeSpanThe length of the window.
hopSize
Type: System.TimeSpanThe 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 to.
Type Parameters
- TPayload
The type of the input event payload.
See Also
HoppingWindow Overload
CepStream Class
Microsoft.ComplexEventProcessing.Linq Namespace
Return to top