Streamable.Where<TKey,TPayload> Method

Definition

Performs a filter over a streamable, excluding rows for which the predicate evaluates to false.

public static Microsoft.StreamProcessing.IStreamable<TKey,TPayload> Where<TKey,TPayload> (this Microsoft.StreamProcessing.IStreamable<TKey,TPayload> source, System.Linq.Expressions.Expression<Func<TPayload,bool>> predicate);
static member Where : Microsoft.StreamProcessing.IStreamable<'Key, 'Payload> * System.Linq.Expressions.Expression<Func<'Payload, bool>> -> Microsoft.StreamProcessing.IStreamable<'Key, 'Payload>
<Extension()>
Public Function Where(Of TKey, TPayload) (source As IStreamable(Of TKey, TPayload), predicate As Expression(Of Func(Of TPayload, Boolean))) As IStreamable(Of TKey, TPayload)

Type Parameters

TKey
TPayload

Parameters

source
IStreamable<TKey,TPayload>

The input stream to filter

predicate
Expression<Func<TPayload,Boolean>>

The predicate to apply to all data in the stream

Returns

Applies to