CepStream.SelectMany<TInput, TGroupingKey, TBind, TResult> 方法 (CepGroupingStreams<TInput, TGroupingKey>, Expression<Func<CepStream<TInput>, CepWindowStream<TBind>>>, Expression<Func<IKey<TGroupingKey>, TBind, TResult>>)
在群組資料流的上方啟用視窗作業。
命名空間: Microsoft.ComplexEventProcessing.Linq
組件: Microsoft.ComplexEventProcessing (在 Microsoft.ComplexEventProcessing.dll 中)
語法
public static CepStream<TResult> SelectMany<TInput, TGroupingKey, TBind, TResult>(
this CepGroupingStreams<TInput, TGroupingKey> source,
Expression<Func<CepStream<TInput>, CepWindowStream<TBind>>> bind,
Expression<Func<IKey<TGroupingKey>, TBind, TResult>> selector
)
public:
generic<typename TInput, typename TGroupingKey, typename TBind, typename TResult>
[ExtensionAttribute]
static CepStream<TResult>^ SelectMany(
CepGroupingStreams<TInput, TGroupingKey>^ source,
Expression<Func<CepStream<TInput>^, CepWindowStream<TBind>^>^>^ bind,
Expression<Func<IKey<TGroupingKey>^, TBind, TResult>^>^ selector
)
static member SelectMany<'TInput, 'TGroupingKey, 'TBind, 'TResult> :
source:CepGroupingStreams<'TInput, 'TGroupingKey> *
bind:Expression<Func<CepStream<'TInput>, CepWindowStream<'TBind>>> *
selector:Expression<Func<IKey<'TGroupingKey>, 'TBind, 'TResult>> -> CepStream<'TResult>
<ExtensionAttribute>
Public Shared Function SelectMany(Of TInput, TGroupingKey, TBind, TResult) (
source As CepGroupingStreams(Of TInput, TGroupingKey),
bind As Expression(Of Func(Of CepStream(Of TInput), CepWindowStream(Of TBind))),
selector As Expression(Of Func(Of IKey(Of TGroupingKey), TBind, TResult))
) As CepStream(Of TResult)
參數
- source
群組資料流來源。
- bind
從群組資料流到視窗資料流的繫結。
- selector
定義輸出之投射的對應運算式。
傳回值
Type: Microsoft.ComplexEventProcessing.Linq.CepStream<TResult>
選取多個和視窗作業之結果的資料流。
類型參數
- TInput
輸入事件的裝載類型。
- TGroupingKey
群組索引鍵的裝載類型。
- TBind
繫結事件的裝載類型。
- TResult
結果事件的裝載類型。
請參閱
SelectMany 超載
CepStream 類別
Microsoft.ComplexEventProcessing.Linq 命名空間
回到頁首