CepStream.Join<TOuter, TInner, TKey, TResult> Method (CepStream<TOuter>, CepStream<TInner>, Expression<Func<TOuter, TKey>>, Expression<Func<TInner, TKey>>, Expression<Func<TOuter, TInner, TResult>>)

 

Joins the events from the outer stream with events from the inner stream on the given join key.

Namespace:   Microsoft.ComplexEventProcessing.Linq
Assembly:  Microsoft.ComplexEventProcessing (in Microsoft.ComplexEventProcessing.dll)

Syntax

public static CepStream<TResult> Join<TOuter, TInner, TKey, TResult>(
    this CepStream<TOuter> outer,
    CepStream<TInner> inner,
    Expression<Func<TOuter, TKey>> outerKeySelector,
    Expression<Func<TInner, TKey>> innerKeySelector,
    Expression<Func<TOuter, TInner, TResult>> selector
)
public:
generic<typename TOuter, typename TInner, typename TKey, typename TResult>
[ExtensionAttribute]
static CepStream<TResult>^ Join(
    CepStream<TOuter>^ outer,
    CepStream<TInner>^ inner,
    Expression<Func<TOuter, TKey>^>^ outerKeySelector,
    Expression<Func<TInner, TKey>^>^ innerKeySelector,
    Expression<Func<TOuter, TInner, TResult>^>^ selector
)
static member Join<'TOuter, 'TInner, 'TKey, 'TResult> : 
        outer:CepStream<'TOuter> *
        inner:CepStream<'TInner> *
        outerKeySelector:Expression<Func<'TOuter, 'TKey>> *
        innerKeySelector:Expression<Func<'TInner, 'TKey>> *
        selector:Expression<Func<'TOuter, 'TInner, 'TResult>> -> CepStream<'TResult>
<ExtensionAttribute>
Public Shared Function Join(Of TOuter, TInner, TKey, TResult) (
    outer As CepStream(Of TOuter),
    inner As CepStream(Of TInner),
    outerKeySelector As Expression(Of Func(Of TOuter, TKey)),
    innerKeySelector As Expression(Of Func(Of TInner, TKey)),
    selector As Expression(Of Func(Of TOuter, TInner, TResult))
) As CepStream(Of TResult)

Parameters

Return Value

Type: Microsoft.ComplexEventProcessing.Linq.CepStream<TResult>

A stream of joined events.

Type Parameters

  • TOuter
    The outer stream event type.
  • TInner
    The inner stream event type.
  • TKey
    The join key type.
  • TResult
    The join result type.

Remarks

Note that join only matches events from the inner and outer stream and outputs them as a result if their lifetimes overlap.

See Also

CepStream Class
Microsoft.ComplexEventProcessing.Linq Namespace

Return to top