ApplyWithUnion(TApplyOutput)-Methode (Expression(Func(CepStream(TPayload), CepStream(TApplyOutput))))
Übernimmt die vom applybranch-Parameter angegebene Abfragelogik für einen gruppierten Datenstrom. Erzeugt einen Ergebnisdatenstrom pro Gruppe und fasst alle Ergebnisdatenströme zusammen.
Namespace: Microsoft.ComplexEventProcessing.Linq
Assembly: Microsoft.ComplexEventProcessing (in Microsoft.ComplexEventProcessing.dll)
Syntax
public CepStream<TApplyOutput> ApplyWithUnion<TApplyOutput>(
Expression<Func<CepStream<TPayload>, CepStream<TApplyOutput>>> applybranch
)
Typparameter
- TApplyOutput
Der Typ der Ereignisnutzlast bei Ausgabe des Übernahmevorgangs.
Parameter
- applybranch
Typ: System.Linq.Expressions. . :: . .Expression< (Of < ( <'Func< (Of < ( <'CepStream< (Of < ( <'TPayload> ) > ) >, CepStream< (Of < ( <'TApplyOutput> ) > ) >> ) > ) >> ) > ) >
Abfrage, die für jede Gruppe übernommen werden soll.
Rückgabewert
Typ: Microsoft.ComplexEventProcessing.Linq. . :: . .CepStream< (Of < ( <'TApplyOutput> ) > ) >
Datenstrom mit TApplyOutput als Typ der Ereignisnutzlast.
Hinweise
Der gruppierte Datenstrom ist das Ergebnis eines für einen Datenstrom ausgeführten GROUP BY-Vorgangs.
Siehe auch
Verweis
CepGroupingStreams< (Of < ( <'TPayload, TGroupingKey> ) > ) > Klasse