SelectMany(TInput, TGroupingKey, TBind, TResult)-Methode (CepGroupingStreams(TInput, TGroupingKey), Expression(Func(CepStream(TInput), CepWindowStream(TBind))), Expression(Func(IKey(TGroupingKey), TBind, TResult)))
Erzeugt auf der Grundlage des Kreuzjoins von zwei Eingabedatenströmen einen Datenstrom.
Namespace: Microsoft.ComplexEventProcessing.Linq
Assembly: Microsoft.ComplexEventProcessing (in Microsoft.ComplexEventProcessing.dll)
Syntax
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
)
Typparameter
- TInput
Der Nutzlasttyp der Ereignisse aus dem äußeren Eingabedatenstrom.
- TGroupingKey
Der Nutzlasttyp des Gruppierungsschlüssels.
- TBind
Der Nutzlasttyp der Ereignisse aus dem inneren Eingabedatenstrom.
- TResult
Der Nutzlasttyp der Ergebnisereignisse.
Parameter
- source
Typ: Microsoft.ComplexEventProcessing.Linq. . :: . .CepGroupingStreams< (Of < ( <'TInput, TGroupingKey> ) > ) >
Die Gruppierungsdatenstromquelle.
- bind
Typ: System.Linq.Expressions. . :: . .Expression< (Of < ( <'Func< (Of < ( <'CepStream< (Of < ( <'TInput> ) > ) >, CepWindowStream< (Of < ( <'TBind> ) > ) >> ) > ) >> ) > ) >
Die Bindung zwischen Gruppierungsdatenstrom und Fensterstreaming.
- selector
Typ: System.Linq.Expressions. . :: . .Expression< (Of < ( <'Func< (Of < ( <'IKey< (Of < ( <'TGroupingKey> ) > ) >, TBind, TResult> ) > ) >> ) > ) >
Der Zuordnungsausdruck, der eine Projektion auf die Ausgabe definiert.
Rückgabewert
Typ: Microsoft.ComplexEventProcessing.Linq. . :: . .CepStream< (Of < ( <'TResult> ) > ) >
Ein Datenstrom, der das Ergebnis von SelectMany() und dem Fenstervorgang ist.
Hinweis zur Verwendung
In Visual Basic und C# können Sie die Methode als Instanzenmethode für jedes Objekt vom Typ CepGroupingStreams< (Of < ( <'TInput, TGroupingKey> ) > ) > aufrufen. Wenn Sie Instanzmethodensyntax zum Aufruf dieser Methode verwenden, vernachlässigen Sie den ersten Parameter. Weitere Informationen finden Sie unter https://msdn.microsoft.com/de-de/library/bb384936(v=sql.105) oder https://msdn.microsoft.com/de-de/library/bb383977(v=sql.105).