CepStream.HoppingWindow<TPayload> Method (CepStream<TPayload>, TimeSpan, TimeSpan, WindowInputPolicy, HoppingWindowOutputPolicy)
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,
WindowInputPolicy inputPolicy,
HoppingWindowOutputPolicy outputPolicy
)
public:
generic<typename TPayload>
[ExtensionAttribute]
static CepWindowStream<CepWindow<TPayload>^>^ HoppingWindow(
CepStream<TPayload>^ source,
TimeSpan windowSize,
TimeSpan hopSize,
WindowInputPolicy^ inputPolicy,
HoppingWindowOutputPolicy^ outputPolicy
)
static member HoppingWindow<'TPayload> :
source:CepStream<'TPayload> *
windowSize:TimeSpan *
hopSize:TimeSpan *
inputPolicy:WindowInputPolicy *
outputPolicy:HoppingWindowOutputPolicy -> CepWindowStream<CepWindow<'TPayload>>
<ExtensionAttribute>
Public Shared Function HoppingWindow(Of TPayload) (
source As CepStream(Of TPayload),
windowSize As TimeSpan,
hopSize As TimeSpan,
inputPolicy As WindowInputPolicy,
outputPolicy As HoppingWindowOutputPolicy
) 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.
inputPolicy
Type: Microsoft.ComplexEventProcessing.Linq.WindowInputPolicyIndicates how events are altered before being input into the window operation.
outputPolicy
Type: Microsoft.ComplexEventProcessing.Linq.HoppingWindowOutputPolicyIndicates how the output events of the window operation are altered.
Return Value
Type: Microsoft.ComplexEventProcessing.Linq.CepWindowStream<CepWindow<TPayload>>
A window stream to which aggregates, TopK, or user-defined operators (UDOs) 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