CepStream.SnapshotWindow<TPayload> Method (CepStream<TPayload>, SnapshotWindowOutputPolicy)
Transforms a stream to a window stream where each member is a CepWindow.
Namespace: Microsoft.ComplexEventProcessing.Linq
Assembly: Microsoft.ComplexEventProcessing (in Microsoft.ComplexEventProcessing.dll)
Syntax
public static CepWindowStream<CepWindow<TPayload>> SnapshotWindow<TPayload>(
this CepStream<TPayload> source,
SnapshotWindowOutputPolicy outputPolicy
)
public:
generic<typename TPayload>
[ExtensionAttribute]
static CepWindowStream<CepWindow<TPayload>^>^ SnapshotWindow(
CepStream<TPayload>^ source,
SnapshotWindowOutputPolicy^ outputPolicy
)
static member SnapshotWindow<'TPayload> :
source:CepStream<'TPayload> *
outputPolicy:SnapshotWindowOutputPolicy -> CepWindowStream<CepWindow<'TPayload>>
<ExtensionAttribute>
Public Shared Function SnapshotWindow(Of TPayload) (
source As CepStream(Of TPayload),
outputPolicy As SnapshotWindowOutputPolicy
) As CepWindowStream(Of CepWindow(Of TPayload))
Parameters
source
Type: Microsoft.ComplexEventProcessing.Linq.CepStream<TPayload>The CepStream to apply the Snapshot operation against.
outputPolicy
Type: Microsoft.ComplexEventProcessing.Linq.SnapshotWindowOutputPolicyIndicates how the output events of the window operation are altered they are introduced back into the stream.
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
SnapshotWindow Overload
CepStream Class
Microsoft.ComplexEventProcessing.Linq Namespace
Return to top