Class Operators
Extension methods that simplify operator usage.
Inheritance
Namespace: Microsoft.Psi
Assembly: Microsoft.Psi.dll
Syntax
public static class Operators : object
Methods
View SourceAbs(IProducer<Decimal>, DeliveryPolicy<Decimal>)
Compute the absolute value of a stream of (decimal) values.
Declaration
public static IProducer<decimal> Abs(this IProducer<decimal> source, DeliveryPolicy<decimal> deliveryPolicy = null)
Parameters
Type | Name | Description |
---|---|---|
IProducer<System. |
source | Source stream. |
Delivery |
deliveryPolicy | An optional delivery policy. |
Returns
Type | Description |
---|---|
IProducer<System. |
Stream of absolute (decimal) values. |
Abs(IProducer<Decimal>, Predicate<Decimal>, DeliveryPolicy<Decimal>)
Compute the absolute value of a stream of (decimal) values.
Declaration
public static IProducer<decimal> Abs(this IProducer<decimal> source, Predicate<decimal> condition, DeliveryPolicy<decimal> deliveryPolicy = null)
Parameters
Type | Name | Description |
---|---|---|
IProducer<System. |
source | Source stream. |
Predicate<System. |
condition | A function to test each value for a condition. |
Delivery |
deliveryPolicy | An optional delivery policy. |
Returns
Type | Description |
---|---|
IProducer<System. |
Stream of absolute (decimal) values. |
Abs(IProducer<Double>, DeliveryPolicy<Double>)
Compute the absolute value of a stream of (double) values.
Declaration
public static IProducer<double> Abs(this IProducer<double> source, DeliveryPolicy<double> deliveryPolicy = null)
Parameters
Type | Name | Description |
---|---|---|
IProducer<System. |
source | Source stream. |
Delivery |
deliveryPolicy | An optional delivery policy. |
Returns
Type | Description |
---|---|
IProducer<System. |
Stream of absolute (double) values. |
Abs(IProducer<Double>, Predicate<Double>, DeliveryPolicy<Double>)
Compute the absolute value of a stream of (double) values.
Declaration
public static IProducer<double> Abs(this IProducer<double> source, Predicate<double> condition, DeliveryPolicy<double> deliveryPolicy = null)
Parameters
Type | Name | Description |
---|---|---|
IProducer<System. |
source | Source stream. |
Predicate<System. |
condition | A function to test each value for a condition. |
Delivery |
deliveryPolicy | An optional delivery policy. |
Returns
Type | Description |
---|---|
IProducer<System. |
Stream of absolute (double) values. |
Abs(IProducer<Int32>, DeliveryPolicy<Int32>)
Compute the absolute value of a stream of (int) values.
Declaration
public static IProducer<int> Abs(this IProducer<int> source, DeliveryPolicy<int> deliveryPolicy = null)
Parameters
Type | Name | Description |
---|---|---|
IProducer<System. |
source | Source stream. |
Delivery |
deliveryPolicy | An optional delivery policy. |
Returns
Type | Description |
---|---|
IProducer<System. |
Stream of absolute (int) values. |
Abs(IProducer<Int32>, Predicate<Int32>, DeliveryPolicy<Int32>)
Compute the absolute value of a stream of (int) values.
Declaration
public static IProducer<int> Abs(this IProducer<int> source, Predicate<int> condition, DeliveryPolicy<int> deliveryPolicy = null)
Parameters
Type | Name | Description |
---|---|---|
IProducer<System. |
source | Source stream. |
Predicate<System. |
condition | A function to test each value for a condition. |
Delivery |
deliveryPolicy | An optional delivery policy. |
Returns
Type | Description |
---|---|
IProducer<System. |
Stream of absolute (int) values. |
Abs(IProducer<Int64>, DeliveryPolicy<Int64>)
Compute the absolute value of a stream of (long) values.
Declaration
public static IProducer<long> Abs(this IProducer<long> source, DeliveryPolicy<long> deliveryPolicy = null)
Parameters
Type | Name | Description |
---|---|---|
IProducer<System. |
source | Source stream. |
Delivery |
deliveryPolicy | An optional delivery policy. |
Returns
Type | Description |
---|---|
IProducer<System. |
Stream of absolute (long) values. |
Abs(IProducer<Int64>, Predicate<Int64>, DeliveryPolicy<Int64>)
Compute the absolute value of a stream of (long) values.
Declaration
public static IProducer<long> Abs(this IProducer<long> source, Predicate<long> condition, DeliveryPolicy<long> deliveryPolicy = null)
Parameters
Type | Name | Description |
---|---|---|
IProducer<System. |
source | Source stream. |
Predicate<System. |
condition | A function to test each value for a condition. |
Delivery |
deliveryPolicy | An optional delivery policy. |
Returns
Type | Description |
---|---|
IProducer<System. |
Stream of absolute (long) values. |
Abs(IProducer<Single>, DeliveryPolicy<Single>)
Compute the absolute value of a stream of (float) values.
Declaration
public static IProducer<float> Abs(this IProducer<float> source, DeliveryPolicy<float> deliveryPolicy = null)
Parameters
Type | Name | Description |
---|---|---|
IProducer<System. |
source | Source stream. |
Delivery |
deliveryPolicy | An optional delivery policy. |
Returns
Type | Description |
---|---|
IProducer<System. |
Stream of absolute (float) values. |
Abs(IProducer<Single>, Predicate<Single>, DeliveryPolicy<Single>)
Compute the absolute value of a stream of (float) values.
Declaration
public static IProducer<float> Abs(this IProducer<float> source, Predicate<float> condition, DeliveryPolicy<float> deliveryPolicy = null)
Parameters
Type | Name | Description |
---|---|---|
IProducer<System. |
source | Source stream. |
Predicate<System. |
condition | A function to test each value for a condition. |
Delivery |
deliveryPolicy | An optional delivery policy. |
Returns
Type | Description |
---|---|
IProducer<System. |
Stream of absolute (float) values. |
Aggregate<T>(IProducer<T>, Func<T, T, T>, DeliveryPolicy<T>, String)
Aggregate stream values.
Declaration
public static IProducer<T> Aggregate<T>(this IProducer<T> source, Func<T, T, T> aggregator, DeliveryPolicy<T> deliveryPolicy = null, string name = "Aggregate")
Parameters
Type | Name | Description |
---|---|---|
IProducer<T> | source | Source stream. |
Func<T, T, T> | aggregator | The aggregator function. |
Delivery |
deliveryPolicy | An optional delivery policy. |
System. |
name | An optional name for this stream operator. |
Returns
Type | Description |
---|---|
IProducer<T> | Output stream. |
Type Parameters
Name | Description |
---|---|
T | Type of source/output stream messages. |
Remarks
The initial state of the aggregation is the first value passed in.
Aggregate<TIn, TOut>(IProducer<TIn>, TOut, Func<TOut, TIn, TOut>, DeliveryPolicy<TIn>, String)
Aggregate stream values.
Declaration
public static IProducer<TOut> Aggregate<TIn, TOut>(this IProducer<TIn> source, TOut initialState, Func<TOut, TIn, TOut> aggregator, DeliveryPolicy<TIn> deliveryPolicy = null, string name = "Aggregate")
Parameters
Type | Name | Description |
---|---|---|
IProducer<TIn> | source | Source stream. |
TOut | initialState | The initial state. |
Func<TOut, TIn, TOut> | aggregator | The aggregator function. |
Delivery |
deliveryPolicy | An optional delivery policy. |
System. |
name | An optional name for this stream operator. |
Returns
Type | Description |
---|---|
IProducer<TOut> | Output stream. |
Type Parameters
Name | Description |
---|---|
TIn | Type of source stream. |
TOut | Type of output stream. |
Aggregate<TIn, TAccumulate, TOut>(IProducer<TIn>, TAccumulate, Func<TAccumulate, TIn, TAccumulate>, Func<TAccumulate, TOut>, DeliveryPolicy<TIn>, String)
Aggregate stream values.
Declaration
public static IProducer<TOut> Aggregate<TIn, TAccumulate, TOut>(this IProducer<TIn> source, TAccumulate initialState, Func<TAccumulate, TIn, TAccumulate> aggregator, Func<TAccumulate, TOut> selector, DeliveryPolicy<TIn> deliveryPolicy = null, string name = "Aggregate")
Parameters
Type | Name | Description |
---|---|---|
IProducer<TIn> | source | Source stream. |
TAccumulate | initialState | The initial state of the accumulator. |
Func<TAccumulate, TIn, TAccumulate> | aggregator | The aggregation function. |
Func<TAccumulate, TOut> | selector | A selector function. |
Delivery |
deliveryPolicy | An optional delivery policy. |
System. |
name | An optional name for this stream operator. |
Returns
Type | Description |
---|---|
IProducer<TOut> | Output stream. |
Type Parameters
Name | Description |
---|---|
TIn | Type of source stream messages. |
TAccumulate | Type of accumulator value. |
TOut | Type of output stream messages. |
Aggregate<TAccumulate, TIn, TOut>(IProducer<TIn>, TAccumulate, Func<TAccumulate, TIn, Envelope, Emitter<TOut>, TAccumulate>, DeliveryPolicy<TIn>, String)
Aggregate stream values.
Declaration
public static IProducer<TOut> Aggregate<TAccumulate, TIn, TOut>(this IProducer<TIn> source, TAccumulate initialState, Func<TAccumulate, TIn, Envelope, Emitter<TOut>, TAccumulate> aggregator, DeliveryPolicy<TIn> deliveryPolicy = null, string name = "Aggregate")
Parameters
Type | Name | Description |
---|---|---|
IProducer<TIn> | source | Source stream. |
TAccumulate | initialState | The initial value for the accumulator. |
Func<TAccumulate, TIn, Envelope, Emitter<TOut>, TAccumulate> | aggregator | The aggregation function. |
Delivery |
deliveryPolicy | An optional delivery policy. |
System. |
name | An optional name for this stream operator. |
Returns
Type | Description |
---|---|
IProducer<TOut> | Output stream. |
Type Parameters
Name | Description |
---|---|
TAccumulate | Type of accumulator value. |
TIn | Type of input stream messages. |
TOut | Type of output stream messages. |
Average(IProducer<Decimal[]>, DeliveryPolicy<Decimal[]>)
Compute the average (decimal) within each window.
Declaration
public static IProducer<decimal> Average(this IProducer<decimal[]> source, DeliveryPolicy<decimal[]> deliveryPolicy = null)
Parameters
Type | Name | Description |
---|---|---|
IProducer<System. |
source | The source stream. |
Delivery |
deliveryPolicy | An optional delivery policy. |
Returns
Type | Description |
---|---|
IProducer<System. |
Stream of average (decimal) values. |
Average(IProducer<Decimal>, DeliveryPolicy<Decimal>)
Compute the average of a stream of decimal values.
Declaration
public static IProducer<decimal> Average(this IProducer<decimal> source, DeliveryPolicy<decimal> deliveryPolicy = null)
Parameters
Type | Name | Description |
---|---|---|
IProducer<System. |
source | The source stream. |
Delivery |
deliveryPolicy | An optional delivery policy. |
Returns
Type | Description |
---|---|
IProducer<System. |
Stream of average values. |
Average(IProducer<Decimal>, Predicate<Decimal>, DeliveryPolicy<Decimal>)
Compute the average of a stream of decimal values.
Declaration
public static IProducer<decimal> Average(this IProducer<decimal> source, Predicate<decimal> condition, DeliveryPolicy<decimal> deliveryPolicy = null)
Parameters
Type | Name | Description |
---|---|---|
IProducer<System. |
source | The source stream. |
Predicate<System. |
condition | A function to test each value for a condition. |
Delivery |
deliveryPolicy | An optional delivery policy. |
Returns
Type | Description |
---|---|
IProducer<System. |
Stream of average values. |
Average(IProducer<Decimal>, Int32, DeliveryPolicy<Decimal>)
Compute the average (decimal) within each window by size.
Declaration
public static IProducer<decimal> Average(this IProducer<decimal> source, int size, DeliveryPolicy<decimal> deliveryPolicy = null)
Parameters
Type | Name | Description |
---|---|---|
IProducer<System. |
source | The source stream. |
System. |
size | Window size. |
Delivery |
deliveryPolicy | An optional delivery policy. |
Returns
Type | Description |
---|---|
IProducer<System. |
Stream of average (decimal) values. |
Average(IProducer<Decimal>, TimeSpan, DeliveryPolicy<Decimal>)
Compute the average (decimal) within each window by time span.
Declaration
public static IProducer<decimal> Average(this IProducer<decimal> source, TimeSpan timeSpan, DeliveryPolicy<decimal> deliveryPolicy = null)
Parameters
Type | Name | Description |
---|---|---|
IProducer<System. |
source | The source stream. |
Time |
timeSpan | Window time span. |
Delivery |
deliveryPolicy | An optional delivery policy. |
Returns
Type | Description |
---|---|
IProducer<System. |
Stream of average (decimal) values. |
Average(IProducer<Double[]>, DeliveryPolicy<Double[]>)
Compute the average (double) within each window.
Declaration
public static IProducer<double> Average(this IProducer<double[]> source, DeliveryPolicy<double[]> deliveryPolicy = null)
Parameters
Type | Name | Description |
---|---|---|
IProducer<System. |
source | The source stream. |
Delivery |
deliveryPolicy | An optional delivery policy. |
Returns
Type | Description |
---|---|
IProducer<System. |
Stream of average (double) values. |
Average(IProducer<Double>, DeliveryPolicy<Double>)
Compute the average of a stream of double values.
Declaration
public static IProducer<double> Average(this IProducer<double> source, DeliveryPolicy<double> deliveryPolicy = null)
Parameters
Type | Name | Description |
---|---|---|
IProducer<System. |
source | The source stream. |
Delivery |
deliveryPolicy | An optional delivery policy. |
Returns
Type | Description |
---|---|
IProducer<System. |
Stream of average values. |
Remarks
This operator considers the average of a sequence of values containing NaN to be NaN. Consequently, once a value of NaN is encountered on the source stream, the corresponding output value and all subsequent output values will be NaN.
Average(IProducer<Double>, Predicate<Double>, DeliveryPolicy<Double>)
Compute the average of a stream of double values.
Declaration
public static IProducer<double> Average(this IProducer<double> source, Predicate<double> condition, DeliveryPolicy<double> deliveryPolicy = null)
Parameters
Type | Name | Description |
---|---|---|
IProducer<System. |
source | The source stream. |
Predicate<System. |
condition | A function to test each value for a condition. |
Delivery |
deliveryPolicy | An optional delivery policy. |
Returns
Type | Description |
---|---|
IProducer<System. |
Stream of average values. |
Average(IProducer<Double>, Int32, DeliveryPolicy<Double>)
Compute the average (double) within each window by size.
Declaration
public static IProducer<double> Average(this IProducer<double> source, int size, DeliveryPolicy<double> deliveryPolicy = null)
Parameters
Type | Name | Description |
---|---|---|
IProducer<System. |
source | The source stream. |
System. |
size | Window size. |
Delivery |
deliveryPolicy | An optional delivery policy. |
Returns
Type | Description |
---|---|
IProducer<System. |
Stream of average (double) values. |
Average(IProducer<Double>, TimeSpan, DeliveryPolicy<Double>)
Compute the average (double) within each window by time span.
Declaration
public static IProducer<double> Average(this IProducer<double> source, TimeSpan timeSpan, DeliveryPolicy<double> deliveryPolicy = null)
Parameters
Type | Name | Description |
---|---|---|
IProducer<System. |
source | The source stream. |
Time |
timeSpan | Window time span. |
Delivery |
deliveryPolicy | An optional delivery policy. |
Returns
Type | Description |
---|---|
IProducer<System. |
Stream of average (double) values. |
Average(IProducer<Int32[]>, DeliveryPolicy<Int32[]>)
Compute the average (double) within each window.
Declaration
public static IProducer<double> Average(this IProducer<int[]> source, DeliveryPolicy<int[]> deliveryPolicy = null)
Parameters
Type | Name | Description |
---|---|---|
IProducer<System. |
source | The source stream. |
Delivery |
deliveryPolicy | An optional delivery policy. |
Returns
Type | Description |
---|---|
IProducer<System. |
Stream of average (double) values. |
Average(IProducer<Int32>, DeliveryPolicy<Int32>)
Compute the average of a stream of int values.
Declaration
public static IProducer<double> Average(this IProducer<int> source, DeliveryPolicy<int> deliveryPolicy = null)
Parameters
Type | Name | Description |
---|---|---|
IProducer<System. |
source | The source stream. |
Delivery |
deliveryPolicy | An optional delivery policy. |
Returns
Type | Description |
---|---|
IProducer<System. |
Stream of average (double) values. |
Average(IProducer<Int32>, Predicate<Int32>, DeliveryPolicy<Int32>)
Compute the average of a stream of int values.
Declaration
public static IProducer<double> Average(this IProducer<int> source, Predicate<int> condition, DeliveryPolicy<int> deliveryPolicy = null)
Parameters
Type | Name | Description |
---|---|---|
IProducer<System. |
source | The source stream. |
Predicate<System. |
condition | A function to test each value for a condition. |
Delivery |
deliveryPolicy | An optional delivery policy. |
Returns
Type | Description |
---|---|
IProducer<System. |
Stream of average values. |
Average(IProducer<Int32>, Int32, DeliveryPolicy<Int32>)
Compute the average (int) within each window by size.
Declaration
public static IProducer<double> Average(this IProducer<int> source, int size, DeliveryPolicy<int> deliveryPolicy = null)
Parameters
Type | Name | Description |
---|---|---|
IProducer<System. |
source | The source stream. |
System. |
size | Window size. |
Delivery |
deliveryPolicy | An optional delivery policy. |
Returns
Type | Description |
---|---|
IProducer<System. |
Stream of average (double) values. |
Average(IProducer<Int32>, TimeSpan, DeliveryPolicy<Int32>)
Compute the average (int) within each window by time span.
Declaration
public static IProducer<double> Average(this IProducer<int> source, TimeSpan timeSpan, DeliveryPolicy<int> deliveryPolicy = null)
Parameters
Type | Name | Description |
---|---|---|
IProducer<System. |
source | The source stream. |
Time |
timeSpan | Window time span. |
Delivery |
deliveryPolicy | An optional delivery policy. |
Returns
Type | Description |
---|---|
IProducer<System. |
Stream of average (double) values. |
Average(IProducer<Int64[]>, DeliveryPolicy<Int64[]>)
Compute the average (double) within each window.
Declaration
public static IProducer<double> Average(this IProducer<long[]> source, DeliveryPolicy<long[]> deliveryPolicy = null)
Parameters
Type | Name | Description |
---|---|---|
IProducer<System. |
source | The source stream. |
Delivery |
deliveryPolicy | An optional delivery policy. |
Returns
Type | Description |
---|---|
IProducer<System. |
Stream of average (double) values. |
Average(IProducer<Int64>, DeliveryPolicy<Int64>)
Compute the average of a stream of long values.
Declaration
public static IProducer<double> Average(this IProducer<long> source, DeliveryPolicy<long> deliveryPolicy = null)
Parameters
Type | Name | Description |
---|---|---|
IProducer<System. |
source | The source stream. |
Delivery |
deliveryPolicy | An optional delivery policy. |
Returns
Type | Description |
---|---|
IProducer<System. |
Stream of average (double) values. |
Average(IProducer<Int64>, Predicate<Int64>, DeliveryPolicy<Int64>)
Compute the average of a stream of long values.
Declaration
public static IProducer<double> Average(this IProducer<long> source, Predicate<long> condition, DeliveryPolicy<long> deliveryPolicy = null)
Parameters
Type | Name | Description |
---|---|---|
IProducer<System. |
source | The source stream. |
Predicate<System. |
condition | A function to test each value for a condition. |
Delivery |
deliveryPolicy | An optional delivery policy. |
Returns
Type | Description |
---|---|
IProducer<System. |
Stream of average values. |
Average(IProducer<Int64>, Int32, DeliveryPolicy<Int64>)
Compute the average (long) within each window by size.
Declaration
public static IProducer<double> Average(this IProducer<long> source, int size, DeliveryPolicy<long> deliveryPolicy = null)
Parameters
Type | Name | Description |
---|---|---|
IProducer<System. |
source | The source stream. |
System. |
size | Window size. |
Delivery |
deliveryPolicy | An optional delivery policy. |
Returns
Type | Description |
---|---|
IProducer<System. |
Stream of average (double) values. |
Average(IProducer<Int64>, TimeSpan, DeliveryPolicy<Int64>)
Compute the average (long) within each window by time span.
Declaration
public static IProducer<double> Average(this IProducer<long> source, TimeSpan timeSpan, DeliveryPolicy<long> deliveryPolicy = null)
Parameters
Type | Name | Description |
---|---|---|
IProducer<System. |
source | The source stream. |
Time |
timeSpan | Window time span. |
Delivery |
deliveryPolicy | An optional delivery policy. |
Returns
Type | Description |
---|---|
IProducer<System. |
Stream of average (double) values. |
Average(IProducer<Nullable<Decimal>[]>, DeliveryPolicy<Nullable<Decimal>[]>)
Compute the average (nullable decimal) within each window.
Declaration
public static IProducer<decimal?> Average(this IProducer<decimal? []> source, DeliveryPolicy<decimal? []> deliveryPolicy = null)
Parameters
Type | Name | Description |
---|---|---|
IProducer<System. |
source | The source stream. |
Delivery |
deliveryPolicy | An optional delivery policy. |
Returns
Type | Description |
---|---|
IProducer<System. |
Stream of average (nullable decimal) values. |
Average(IProducer<Nullable<Decimal>>, Int32, DeliveryPolicy<Nullable<Decimal>>)
Compute the average (nullable decimal) within each window by size.
Declaration
public static IProducer<decimal?> Average(this IProducer<decimal?> source, int size, DeliveryPolicy<decimal?> deliveryPolicy = null)
Parameters
Type | Name | Description |
---|---|---|
IProducer<System. |
source | The source stream. |
System. |
size | Window size. |
Delivery |
deliveryPolicy | An optional delivery policy. |
Returns
Type | Description |
---|---|
IProducer<System. |
Stream of average (nullable decimal) values. |
Average(IProducer<Nullable<Decimal>>, TimeSpan, DeliveryPolicy<Nullable<Decimal>>)
Compute the average (nullable decimal) within each window by time span.
Declaration
public static IProducer<decimal?> Average(this IProducer<decimal?> source, TimeSpan timeSpan, DeliveryPolicy<decimal?> deliveryPolicy = null)
Parameters
Type | Name | Description |
---|---|---|
IProducer<System. |
source | The source stream. |
Time |
timeSpan | Window time span. |
Delivery |
deliveryPolicy | An optional delivery policy. |
Returns
Type | Description |
---|---|
IProducer<System. |
Stream of average (nullable decimal) values. |
Average(IProducer<Nullable<Double>[]>, DeliveryPolicy<Nullable<Double>[]>)
Compute the average (nullable double) within each window.
Declaration
public static IProducer<double?> Average(this IProducer<double? []> source, DeliveryPolicy<double? []> deliveryPolicy = null)
Parameters
Type | Name | Description |
---|---|---|
IProducer<System. |
source | The source stream. |
Delivery |
deliveryPolicy | An optional delivery policy. |
Returns
Type | Description |
---|---|
IProducer<System. |
Stream of average (nullable double) values. |
Average(IProducer<Nullable<Double>>, Int32, DeliveryPolicy<Nullable<Double>>)
Compute the average (nullable double) within each window by size.
Declaration
public static IProducer<double?> Average(this IProducer<double?> source, int size, DeliveryPolicy<double?> deliveryPolicy = null)
Parameters
Type | Name | Description |
---|---|---|
IProducer<System. |
source | The source stream. |
System. |
size | Window size. |
Delivery |
deliveryPolicy | An optional delivery policy. |
Returns
Type | Description |
---|---|
IProducer<System. |
Stream of average (nullable double) values. |
Average(IProducer<Nullable<Double>>, TimeSpan, DeliveryPolicy<Nullable<Double>>)
Compute the average (nullable double) within each window by time span.
Declaration
public static IProducer<double?> Average(this IProducer<double?> source, TimeSpan timeSpan, DeliveryPolicy<double?> deliveryPolicy = null)
Parameters
Type | Name | Description |
---|---|---|
IProducer<System. |
source | The source stream. |
Time |
timeSpan | Window time span. |
Delivery |
deliveryPolicy | An optional delivery policy. |
Returns
Type | Description |
---|---|
IProducer<System. |
Stream of average (nullable double) values. |
Average(IProducer<Nullable<Int32>[]>, DeliveryPolicy<Nullable<Int32>[]>)
Compute the average (nullable double) within each window.
Declaration
public static IProducer<double?> Average(this IProducer<int? []> source, DeliveryPolicy<int? []> deliveryPolicy = null)
Parameters
Type | Name | Description |
---|---|---|
IProducer<System. |
source | The source stream. |
Delivery |
deliveryPolicy | An optional delivery policy. |
Returns
Type | Description |
---|---|
IProducer<System. |
Stream of average (nullable double) values. |
Average(IProducer<Nullable<Int32>>, Int32, DeliveryPolicy<Nullable<Int32>>)
Compute the average (nullable int) within each window by size.
Declaration
public static IProducer<double?> Average(this IProducer<int?> source, int size, DeliveryPolicy<int?> deliveryPolicy = null)
Parameters
Type | Name | Description |
---|---|---|
IProducer<System. |
source | The source stream. |
System. |
size | Window size. |
Delivery |
deliveryPolicy | An optional delivery policy. |
Returns
Type | Description |
---|---|
IProducer<System. |
Stream of average (nullable double) values. |
Average(IProducer<Nullable<Int32>>, TimeSpan, DeliveryPolicy<Nullable<Int32>>)
Compute the average (nullable int) within each window by time span.
Declaration
public static IProducer<double?> Average(this IProducer<int?> source, TimeSpan timeSpan, DeliveryPolicy<int?> deliveryPolicy = null)
Parameters
Type | Name | Description |
---|---|---|
IProducer<System. |
source | The source stream. |
Time |
timeSpan | Window time span. |
Delivery |
deliveryPolicy | An optional delivery policy. |
Returns
Type | Description |
---|---|
IProducer<System. |
Stream of average (nullable double) values. |
Average(IProducer<Nullable<Int64>[]>, DeliveryPolicy<Nullable<Int64>[]>)
Compute the average (nullable double) within each window.
Declaration
public static IProducer<double?> Average(this IProducer<long? []> source, DeliveryPolicy<long? []> deliveryPolicy = null)
Parameters
Type | Name | Description |
---|---|---|
IProducer<System. |
source | The source stream. |
Delivery |
deliveryPolicy | An optional delivery policy. |
Returns
Type | Description |
---|---|
IProducer<System. |
Stream of average (nullable double) values. |
Average(IProducer<Nullable<Int64>>, Int32, DeliveryPolicy<Nullable<Int64>>)
Compute the average (nullable long) within each window by size.
Declaration
public static IProducer<double?> Average(this IProducer<long?> source, int size, DeliveryPolicy<long?> deliveryPolicy = null)
Parameters
Type | Name | Description |
---|---|---|
IProducer<System. |
source | The source stream. |
System. |
size | Window size. |
Delivery |
deliveryPolicy | An optional delivery policy. |
Returns
Type | Description |
---|---|
IProducer<System. |
Stream of average (nullable double) values. |
Average(IProducer<Nullable<Int64>>, TimeSpan, DeliveryPolicy<Nullable<Int64>>)
Compute the average (nullable long) within each window by time span.
Declaration
public static IProducer<double?> Average(this IProducer<long?> source, TimeSpan timeSpan, DeliveryPolicy<long?> deliveryPolicy = null)
Parameters
Type | Name | Description |
---|---|---|
IProducer<System. |
source | The source stream. |
Time |
timeSpan | Window time span. |
Delivery |
deliveryPolicy | An optional delivery policy. |
Returns
Type | Description |
---|---|
IProducer<System. |
Stream of average (nullable double) values. |
Average(IProducer<Nullable<Single>[]>, DeliveryPolicy<Nullable<Single>[]>)
Compute the average (nullable float) within each window.
Declaration
public static IProducer<float?> Average(this IProducer<float? []> source, DeliveryPolicy<float? []> deliveryPolicy = null)
Parameters
Type | Name | Description |
---|---|---|
IProducer<System. |
source | The source stream. |
Delivery |
deliveryPolicy | An optional delivery policy. |
Returns
Type | Description |
---|---|
IProducer<System. |
Stream of average (nullable float) values. |
Average(IProducer<Nullable<Single>>, Int32, DeliveryPolicy<Nullable<Single>>)
Compute the average (nullable float) within each window by size.
Declaration
public static IProducer<float?> Average(this IProducer<float?> source, int size, DeliveryPolicy<float?> deliveryPolicy = null)
Parameters
Type | Name | Description |
---|---|---|
IProducer<System. |
source | The source stream. |
System. |
size | Window size. |
Delivery |
deliveryPolicy | An optional delivery policy. |
Returns
Type | Description |
---|---|
IProducer<System. |
Stream of average (nullable float) values. |
Average(IProducer<Nullable<Single>>, TimeSpan, DeliveryPolicy<Nullable<Single>>)
Compute the average (nullable float) within each window by time span.
Declaration
public static IProducer<float?> Average(this IProducer<float?> source, TimeSpan timeSpan, DeliveryPolicy<float?> deliveryPolicy = null)
Parameters
Type | Name | Description |
---|---|---|
IProducer<System. |
source | The source stream. |
Time |
timeSpan | Window time span. |
Delivery |
deliveryPolicy | An optional delivery policy. |
Returns
Type | Description |
---|---|
IProducer<System. |
Stream of average (nullable float) values. |
Average(IProducer<Single[]>, DeliveryPolicy<Single[]>)
Compute the average (float) within each window.
Declaration
public static IProducer<float> Average(this IProducer<float[]> source, DeliveryPolicy<float[]> deliveryPolicy = null)
Parameters
Type | Name | Description |
---|---|---|
IProducer<System. |
source | The source stream. |
Delivery |
deliveryPolicy | An optional delivery policy. |
Returns
Type | Description |
---|---|
IProducer<System. |
Stream of average (float) values. |
Average(IProducer<Single>, DeliveryPolicy<Single>)
Compute the average of a stream of float values.
Declaration
public static IProducer<float> Average(this IProducer<float> source, DeliveryPolicy<float> deliveryPolicy = null)
Parameters
Type | Name | Description |
---|---|---|
IProducer<System. |
source | The source stream. |
Delivery |
deliveryPolicy | An optional delivery policy. |
Returns
Type | Description |
---|---|
IProducer<System. |
Stream of average values. |
Remarks
This operator considers the average of a sequence of values containing NaN to be NaN. Consequently, once a value of NaN is encountered on the source stream, the corresponding output value and all subsequent output values will be NaN.
Average(IProducer<Single>, Predicate<Single>, DeliveryPolicy<Single>)
Compute the average of a stream of float values.
Declaration
public static IProducer<float> Average(this IProducer<float> source, Predicate<float> condition, DeliveryPolicy<float> deliveryPolicy = null)
Parameters
Type | Name | Description |
---|---|---|
IProducer<System. |
source | The source stream. |
Predicate<System. |
condition | A function to test each value for a condition. |
Delivery |
deliveryPolicy | An optional delivery policy. |
Returns
Type | Description |
---|---|
IProducer<System. |
Stream of average values. |
Average(IProducer<Single>, Int32, DeliveryPolicy<Single>)
Compute the average (float) within each window by size.
Declaration
public static IProducer<float> Average(this IProducer<float> source, int size, DeliveryPolicy<float> deliveryPolicy = null)
Parameters
Type | Name | Description |
---|---|---|
IProducer<System. |
source | The source stream. |
System. |
size | Window size. |
Delivery |
deliveryPolicy | An optional delivery policy. |
Returns
Type | Description |
---|---|
IProducer<System. |
Stream of average (float) values. |
Average(IProducer<Single>, TimeSpan, DeliveryPolicy<Single>)
Compute the average (float) within each window by time span.
Declaration
public static IProducer<float> Average(this IProducer<float> source, TimeSpan timeSpan, DeliveryPolicy<float> deliveryPolicy = null)
Parameters
Type | Name | Description |
---|---|---|
IProducer<System. |
source | The source stream. |
Time |
timeSpan | Window time span. |
Delivery |
deliveryPolicy | An optional delivery policy. |
Returns
Type | Description |
---|---|
IProducer<System. |
Stream of average (float) values. |
Average<TSource>(IProducer<TSource[]>, Func<TSource, Decimal>, DeliveryPolicy<TSource[]>)
Invoke a transform function on each element and compute the average (decimal) within each window.
Declaration
public static IProducer<decimal> Average<TSource>(this IProducer<TSource[]> source, Func<TSource, decimal> selector, DeliveryPolicy<TSource[]> deliveryPolicy = null)
Parameters
Type | Name | Description |
---|---|---|
IProducer<TSource[]> | source | The source stream. |
Func<TSource, System. |
selector | Transform function applied to each element. |
Delivery |
deliveryPolicy | An optional delivery policy. |
Returns
Type | Description |
---|---|
IProducer<System. |
Stream of average (decimal) values. |
Type Parameters
Name | Description |
---|---|
TSource | The source message type. |
Average<TSource>(IProducer<TSource[]>, Func<TSource, Double>, DeliveryPolicy<TSource[]>)
Invoke a transform function on each element and compute the average (double) within each window.
Declaration
public static IProducer<double> Average<TSource>(this IProducer<TSource[]> source, Func<TSource, double> selector, DeliveryPolicy<TSource[]> deliveryPolicy = null)
Parameters
Type | Name | Description |
---|---|---|
IProducer<TSource[]> | source | The source stream. |
Func<TSource, System. |
selector | Transform function applied to each element. |
Delivery |
deliveryPolicy | An optional delivery policy. |
Returns
Type | Description |
---|---|
IProducer<System. |
Stream of average (double) values. |
Type Parameters
Name | Description |
---|---|
TSource | The source message type. |
Average<TSource>(IProducer<TSource[]>, Func<TSource, Int32>, DeliveryPolicy<TSource[]>)
Invoke a transform function on each element and compute the average (double) within each window.
Declaration
public static IProducer<double> Average<TSource>(this IProducer<TSource[]> source, Func<TSource, int> selector, DeliveryPolicy<TSource[]> deliveryPolicy = null)
Parameters
Type | Name | Description |
---|---|---|
IProducer<TSource[]> | source | The source stream. |
Func<TSource, System. |
selector | Transform function applied to each element. |
Delivery |
deliveryPolicy | An optional delivery policy. |
Returns
Type | Description |
---|---|
IProducer<System. |
Stream of average (double) values. |
Type Parameters
Name | Description |
---|---|
TSource | The source message type. |
Average<TSource>(IProducer<TSource[]>, Func<TSource, Int64>, DeliveryPolicy<TSource[]>)
Invoke a transform function on each element and compute the average (double) within each window.
Declaration
public static IProducer<double> Average<TSource>(this IProducer<TSource[]> source, Func<TSource, long> selector, DeliveryPolicy<TSource[]> deliveryPolicy = null)
Parameters
Type | Name | Description |
---|---|---|
IProducer<TSource[]> | source | The source stream. |
Func<TSource, System. |
selector | Transform function applied to each element. |
Delivery |
deliveryPolicy | An optional delivery policy. |
Returns
Type | Description |
---|---|
IProducer<System. |
Stream of average (double) values. |
Type Parameters
Name | Description |
---|---|
TSource | The source message type. |
Average<TSource>(IProducer<TSource[]>, Func<TSource, Nullable<Decimal>>, DeliveryPolicy<TSource[]>)
Invoke a transform function on each element and compute the average (nullable decimal) within each window.
Declaration
public static IProducer<decimal?> Average<TSource>(this IProducer<TSource[]> source, Func<TSource, decimal?> selector, DeliveryPolicy<TSource[]> deliveryPolicy = null)
Parameters
Type | Name | Description |
---|---|---|
IProducer<TSource[]> | source | The source stream. |
Func<TSource, System. |
selector | Transform function applied to each element. |
Delivery |
deliveryPolicy | An optional delivery policy. |
Returns
Type | Description |
---|---|
IProducer<System. |
Stream of average (nullable decimal) values. |
Type Parameters
Name | Description |
---|---|
TSource | The source message type. |
Average<TSource>(IProducer<TSource[]>, Func<TSource, Nullable<Double>>, DeliveryPolicy<TSource[]>)
Invoke a transform function on each element and compute the average (nullable double) within each window.
Declaration
public static IProducer<double?> Average<TSource>(this IProducer<TSource[]> source, Func<TSource, double?> selector, DeliveryPolicy<TSource[]> deliveryPolicy = null)
Parameters
Type | Name | Description |
---|---|---|
IProducer<TSource[]> | source | The source stream. |
Func<TSource, System. |
selector | Transform function applied to each element. |
Delivery |
deliveryPolicy | An optional delivery policy. |
Returns
Type | Description |
---|---|
IProducer<System. |
Stream of average (nullable double) values. |
Type Parameters
Name | Description |
---|---|
TSource | The source message type. |
Average<TSource>(IProducer<TSource[]>, Func<TSource, Nullable<Int32>>, DeliveryPolicy<TSource[]>)
Invoke a transform function on each element and compute the average (nullable double) within each window.
Declaration
public static IProducer<double?> Average<TSource>(this IProducer<TSource[]> source, Func<TSource, int?> selector, DeliveryPolicy<TSource[]> deliveryPolicy = null)
Parameters
Type | Name | Description |
---|---|---|
IProducer<TSource[]> | source | The source stream. |
Func<TSource, System. |
selector | Transform function applied to each element. |
Delivery |
deliveryPolicy | An optional delivery policy. |
Returns
Type | Description |
---|---|
IProducer<System. |
Stream of average (nullable double) values. |
Type Parameters
Name | Description |
---|---|
TSource | The source message type. |
Average<TSource>(IProducer<TSource[]>, Func<TSource, Nullable<Int64>>, DeliveryPolicy<TSource[]>)
Invoke a transform function on each element and compute the average (nullable double) within each window.
Declaration
public static IProducer<double?> Average<TSource>(this IProducer<TSource[]> source, Func<TSource, long?> selector, DeliveryPolicy<TSource[]> deliveryPolicy = null)
Parameters
Type | Name | Description |
---|---|---|
IProducer<TSource[]> | source | The source stream. |
Func<TSource, System. |
selector | Transform function applied to each element. |
Delivery |
deliveryPolicy | An optional delivery policy. |
Returns
Type | Description |
---|---|
IProducer<System. |
Stream of average (nullable double) values. |
Type Parameters
Name | Description |
---|---|
TSource | The source message type. |
Average<TSource>(IProducer<TSource[]>, Func<TSource, Nullable<Single>>, DeliveryPolicy<TSource[]>)
Invoke a transform function on each element and compute the average (nullable float) within each window.
Declaration
public static IProducer<float?> Average<TSource>(this IProducer<TSource[]> source, Func<TSource, float?> selector, DeliveryPolicy<TSource[]> deliveryPolicy = null)
Parameters
Type | Name | Description |
---|---|---|
IProducer<TSource[]> | source | The source stream. |
Func<TSource, System. |
selector | Transform function applied to each element. |
Delivery |
deliveryPolicy | An optional delivery policy. |
Returns
Type | Description |
---|---|
IProducer<System. |
Stream of average (nullable float) values. |
Type Parameters
Name | Description |
---|---|
TSource | The source message type. |
Average<TSource>(IProducer<TSource[]>, Func<TSource, Single>, DeliveryPolicy<TSource[]>)
Invoke a transform function on each element and compute the average (float) within each window.
Declaration
public static IProducer<float> Average<TSource>(this IProducer<TSource[]> source, Func<TSource, float> selector, DeliveryPolicy<TSource[]> deliveryPolicy = null)
Parameters
Type | Name | Description |
---|---|---|
IProducer<TSource[]> | source | The source stream. |
Func<TSource, System. |
selector | Transform function applied to each element. |
Delivery |
deliveryPolicy | An optional delivery policy. |
Returns
Type | Description |
---|---|
IProducer<System. |
Stream of average (float) values. |
Type Parameters
Name | Description |
---|---|
TSource | The source message type. |
BridgeTo<T>(IProducer<T>, Pipeline, String, DeliveryPolicy<T>)
Creates a stream in a specified target pipeline, based on a given input stream (that may belong in a different pipeline).
Declaration
public static IProducer<T> BridgeTo<T>(this IProducer<T> input, Pipeline targetPipeline, string name = null, DeliveryPolicy<T> deliveryPolicy = null)
Parameters
Type | Name | Description |
---|---|---|
IProducer<T> | input | The input stream. |
Pipeline | targetPipeline | Pipeline to which to bridge. |
System. |
name | An optional name for the connector (defaults to BridgeConnector). |
Delivery |
deliveryPolicy | An optional delivery policy. |
Returns
Type | Description |
---|---|
IProducer<T> | The bridged stream. |
Type Parameters
Name | Description |
---|---|
T | The type of the messages on the input stream. |
Count<TSource>(IProducer<TSource[]>, DeliveryPolicy<TSource[]>)
Compute the count of a stream of values.
Declaration
public static IProducer<int> Count<TSource>(this IProducer<TSource[]> source, DeliveryPolicy<TSource[]> deliveryPolicy = null)
Parameters
Type | Name | Description |
---|---|---|
IProducer<TSource[]> | source | The source stream. |
Delivery |
deliveryPolicy | An optional delivery policy. |
Returns
Type | Description |
---|---|
IProducer<System. |
Stream of count values. |
Type Parameters
Name | Description |
---|---|
TSource | The source message type. |
Count<T>(IProducer<T>, DeliveryPolicy<T>)
Returns a stream of int values representing the number of elements in a stream.
Declaration
public static IProducer<int> Count<T>(this IProducer<T> source, DeliveryPolicy<T> deliveryPolicy = null)
Parameters
Type | Name | Description |
---|---|---|
IProducer<T> | source | The source stream. |
Delivery |
deliveryPolicy | An optional delivery policy. |
Returns
Type | Description |
---|---|
IProducer<System. |
Stream of counts. |
Type Parameters
Name | Description |
---|---|
T | The message type. |
Count<T>(IProducer<T>, Predicate<T>, DeliveryPolicy<T>)
Returns a stream of ints representing the number of elements in a stream satisfying a condition.
Declaration
public static IProducer<int> Count<T>(this IProducer<T> source, Predicate<T> condition, DeliveryPolicy<T> deliveryPolicy = null)
Parameters
Type | Name | Description |
---|---|---|
IProducer<T> | source | The source stream. |
Predicate<T> | condition | A function to test each element for a condition. |
Delivery |
deliveryPolicy | An optional delivery policy. |
Returns
Type | Description |
---|---|
IProducer<System. |
Stream of counts. |
Type Parameters
Name | Description |
---|---|
T | The message type. |
Count<TSource>(IProducer<TSource>, TimeSpan, DeliveryPolicy<TSource>)
Compute the count of values within each window by time span.
Declaration
public static IProducer<int> Count<TSource>(this IProducer<TSource> source, TimeSpan timeSpan, DeliveryPolicy<TSource> deliveryPolicy = null)
Parameters
Type | Name | Description |
---|---|---|
IProducer<TSource> | source | The source stream. |
Time |
timeSpan | Window time span. |
Delivery |
deliveryPolicy | An optional delivery policy. |
Returns
Type | Description |
---|---|
IProducer<System. |
Stream of (int) count values. |
Type Parameters
Name | Description |
---|---|
TSource | The source message type. |
CreateConnector<T>(Pipeline, String)
Creates a connector that exposes the messages it receives as a stream rather than calling a delegate. This allows the owning component to apply stream operators to this input.
Declaration
public static Connector<T> CreateConnector<T>(this Pipeline p, string name)
Parameters
Type | Name | Description |
---|---|---|
Pipeline | p | The pipeline. |
System. |
name | The name of this connector. |
Returns
Type | Description |
---|---|
Connector<T> | The newly created connector. |
Type Parameters
Name | Description |
---|---|
T | The type of messages accepted by this connector. |
Delay<T>(IProducer<T>, TimeSpan, DeliveryPolicy<T>)
Delays the delivery of messages by a given time span.
Declaration
public static IProducer<T> Delay<T>(this IProducer<T> source, TimeSpan delay, DeliveryPolicy<T> deliveryPolicy = null)
Parameters
Type | Name | Description |
---|---|---|
IProducer<T> | source | The source stream. |
Time |
delay | The time span by which to delay the messages. |
Delivery |
deliveryPolicy | An optional delivery policy. |
Returns
Type | Description |
---|---|
IProducer<T> | The output stream. |
Type Parameters
Name | Description |
---|---|
T | The type of the source/output messages. |
Remarks
This operator delays the delivery of messages on the source stream by a fixed amount of time ahead of the creation time of the source messages. This ensures that the messages are not delivered to the downstream receiver(s) until the pipeline clock has advanced to at least the delayed time. The observed delay may be slightly larger than the specified time span to account for latencies at the emitters and receivers. The originating times of the source messages are preserved.
Delta(IProducer<Decimal>, DeliveryPolicy<Decimal>)
Compute delta (decimal) value between successive stream values.
Declaration
public static IProducer<decimal> Delta(this IProducer<decimal> source, DeliveryPolicy<decimal> deliveryPolicy = null)
Parameters
Type | Name | Description |
---|---|---|
IProducer<System. |
source | Source stream. |
Delivery |
deliveryPolicy | An optional delivery policy. |
Returns
Type | Description |
---|---|
IProducer<System. |
Stream of delta (decimal) values. |
Delta(IProducer<Decimal>, Predicate<Decimal>, DeliveryPolicy<Decimal>)
Compute delta (decimal) value between successive stream values.
Declaration
public static IProducer<decimal> Delta(this IProducer<decimal> source, Predicate<decimal> condition, DeliveryPolicy<decimal> deliveryPolicy = null)
Parameters
Type | Name | Description |
---|---|---|
IProducer<System. |
source | Source stream. |
Predicate<System. |
condition | A function to test each value for a condition. |
Delivery |
deliveryPolicy | An optional delivery policy. |
Returns
Type | Description |
---|---|
IProducer<System. |
Stream of delta (decimal) values. |
Delta(IProducer<Double>, DeliveryPolicy<Double>)
Compute delta (double) value between successive stream values.
Declaration
public static IProducer<double> Delta(this IProducer<double> source, DeliveryPolicy<double> deliveryPolicy = null)
Parameters
Type | Name | Description |
---|---|---|
IProducer<System. |
source | Source stream. |
Delivery |
deliveryPolicy | An optional delivery policy. |
Returns
Type | Description |
---|---|
IProducer<System. |
Stream of delta (double) values. |
Delta(IProducer<Double>, Predicate<Double>, DeliveryPolicy<Double>)
Compute delta (double) value between successive stream values.
Declaration
public static IProducer<double> Delta(this IProducer<double> source, Predicate<double> condition, DeliveryPolicy<double> deliveryPolicy = null)
Parameters
Type | Name | Description |
---|---|---|
IProducer<System. |
source | Source stream. |
Predicate<System. |
condition | A function to test each value for a condition. |
Delivery |
deliveryPolicy | An optional delivery policy. |
Returns
Type | Description |
---|---|
IProducer<System. |
Stream of delta (double) values. |
Delta(IProducer<Int32>, DeliveryPolicy<Int32>)
Compute delta (int) value between successive stream values.
Declaration
public static IProducer<int> Delta(this IProducer<int> source, DeliveryPolicy<int> deliveryPolicy = null)
Parameters
Type | Name | Description |
---|---|---|
IProducer<System. |
source | Source stream. |
Delivery |
deliveryPolicy | An optional delivery policy. |
Returns
Type | Description |
---|---|
IProducer<System. |
Stream of delta (int) values. |
Delta(IProducer<Int32>, Predicate<Int32>, DeliveryPolicy<Int32>)
Compute delta (int) value between successive stream values.
Declaration
public static IProducer<int> Delta(this IProducer<int> source, Predicate<int> condition, DeliveryPolicy<int> deliveryPolicy = null)
Parameters
Type | Name | Description |
---|---|---|
IProducer<System. |
source | Source stream. |
Predicate<System. |
condition | A function to test each value for a condition. |
Delivery |
deliveryPolicy | An optional delivery policy. |
Returns
Type | Description |
---|---|
IProducer<System. |
Stream of delta (int) values. |
Delta(IProducer<Int64>, DeliveryPolicy<Int64>)
Compute delta (long) value between successive stream values.
Declaration
public static IProducer<long> Delta(this IProducer<long> source, DeliveryPolicy<long> deliveryPolicy = null)
Parameters
Type | Name | Description |
---|---|---|
IProducer<System. |
source | Source stream. |
Delivery |
deliveryPolicy | An optional delivery policy. |
Returns
Type | Description |
---|---|
IProducer<System. |
Stream of delta (long) values. |
Delta(IProducer<Int64>, Predicate<Int64>, DeliveryPolicy<Int64>)
Compute delta (long) value between successive stream values.
Declaration
public static IProducer<long> Delta(this IProducer<long> source, Predicate<long> condition, DeliveryPolicy<long> deliveryPolicy = null)
Parameters
Type | Name | Description |
---|---|---|
IProducer<System. |
source | Source stream. |
Predicate<System. |
condition | A function to test each value for a condition. |
Delivery |
deliveryPolicy | An optional delivery policy. |
Returns
Type | Description |
---|---|
IProducer<System. |
Stream of delta (long) values. |
Delta(IProducer<Single>, DeliveryPolicy<Single>)
Compute delta (float) value between successive stream values.
Declaration
public static IProducer<float> Delta(this IProducer<float> source, DeliveryPolicy<float> deliveryPolicy = null)
Parameters
Type | Name | Description |
---|---|---|
IProducer<System. |
source | Source stream. |
Delivery |
deliveryPolicy | An optional delivery policy. |
Returns
Type | Description |
---|---|
IProducer<System. |
Stream of delta (float) values. |
Delta(IProducer<Single>, Predicate<Single>, DeliveryPolicy<Single>)
Compute delta (float) value between successive stream values.
Declaration
public static IProducer<float> Delta(this IProducer<float> source, Predicate<float> condition, DeliveryPolicy<float> deliveryPolicy = null)
Parameters
Type | Name | Description |
---|---|---|
IProducer<System. |
source | Source stream. |
Predicate<System. |
condition | A function to test each value for a condition. |
Delivery |
deliveryPolicy | An optional delivery policy. |
Returns
Type | Description |
---|---|
IProducer<System. |
Stream of delta (float) values. |
Do<T>(IProducer<T>, Action<T, Envelope>, DeliveryPolicy<T>, String)
Executes an action for each item in the input stream and then outputs the item. If the action modifies the item, the resulting stream reflects the change.
Declaration
public static IProducer<T> Do<T>(this IProducer<T> source, Action<T, Envelope> action, DeliveryPolicy<T> deliveryPolicy = null, string name = "Do")
Parameters
Type | Name | Description |
---|---|---|
IProducer<T> | source | The source stream to subscribe to. |
Action<T, Envelope> | action | The action to perform on every message in the source stream. The action has access to the message envelope. |
Delivery |
deliveryPolicy | An optional delivery policy. |
System. |
name | An optional name for this stream operator. |
Returns
Type | Description |
---|---|
IProducer<T> | A stream of the same type as the source stream, containing one item for each input item, possibly modified by the action delegate. |
Type Parameters
Name | Description |
---|---|
T | The input message type. |
Do<T>(IProducer<T>, Action<T>, DeliveryPolicy<T>, String)
Executes an action for each item in the input stream and then outputs the item. If the action modifies the item, the resulting stream reflects the change.
Declaration
public static IProducer<T> Do<T>(this IProducer<T> source, Action<T> action, DeliveryPolicy<T> deliveryPolicy = null, string name = "Do")
Parameters
Type | Name | Description |
---|---|---|
IProducer<T> | source | The source stream to subscribe to. |
Action<T> | action | The action to perform on every message in the source stream. The action has access to the message envelope. |
Delivery |
deliveryPolicy | An optional delivery policy. |
System. |
name | An optional name for this stream operator. |
Returns
Type | Description |
---|---|
IProducer<T> | A stream of the same type as the source stream, containing one item for each input item, possibly modified by the action delegate. |
Type Parameters
Name | Description |
---|---|
T | The input message type. |
First<T>(IProducer<T>, DeliveryPolicy<T>, String)
Filter stream to the first message (single-message stream).
Declaration
public static IProducer<T> First<T>(this IProducer<T> source, DeliveryPolicy<T> deliveryPolicy = null, string name = "First")
Parameters
Type | Name | Description |
---|---|---|
IProducer<T> | source | Source stream. |
Delivery |
deliveryPolicy | An optional delivery policy. |
System. |
name | An optional name for this stream operator. |
Returns
Type | Description |
---|---|
IProducer<T> | An output stream containing only the first message. |
Type Parameters
Name | Description |
---|---|
T | Type of source/output messages. |
First<T>(IProducer<T>, Int32, DeliveryPolicy<T>, String)
Filter stream to the first n messages.
Declaration
public static IProducer<T> First<T>(this IProducer<T> source, int number, DeliveryPolicy<T> deliveryPolicy = null, string name = "First")
Parameters
Type | Name | Description |
---|---|---|
IProducer<T> | source | Source stream. |
System. |
number | Number of messages. |
Delivery |
deliveryPolicy | An optional delivery policy. |
System. |
name | An optional name for this stream operator. |
Returns
Type | Description |
---|---|
IProducer<T> | Output stream. |
Type Parameters
Name | Description |
---|---|
T | Type of source/output messages. |
Flip<T1, T2>(IProducer<(T1, T2)>, DeliveryPolicy<(T1, T2)>, String)
Flip takes a tuple of 2 elements and flips their order.
Declaration
public static IProducer<(T2, T1)> Flip<T1, T2>(this IProducer<(T1, T2)> source, DeliveryPolicy<(T1, T2)> deliveryPolicy = null, string name = "Flip")
Parameters
Type | Name | Description |
---|---|---|
IProducer<System. |
source | Source to read tuples from. |
Delivery |
deliveryPolicy | An optional delivery policy. |
System. |
name | An optional name for this stream operator. |
Returns
Type | Description |
---|---|
IProducer<System. |
Returns a new producer with flipped tuples. |
Type Parameters
Name | Description |
---|---|
T1 | Type of first element. |
T2 | Type of second element. |
Fuse<TIn>(IEnumerable<IProducer<TIn>>, Interpolator<TIn>, DeliveryPolicy<TIn>, String)
Fuses an enumeration of streams into a vector stream, based on a specified interpolator.
Declaration
public static IProducer<TIn[]> Fuse<TIn>(this IEnumerable<IProducer<TIn>> inputs, Interpolator<TIn> interpolator, DeliveryPolicy<TIn> deliveryPolicy = null, string name = null)
Parameters
Type | Name | Description |
---|---|---|
IEnumerable<IProducer<TIn>> | inputs | Collection of input streams. |
Interpolator<TIn> | interpolator | Interpolator to use when fusing the streams. |
Delivery |
deliveryPolicy | An optional delivery policy to use for the streams. |
System. |
name | An optional name for the stream operator. |
Returns
Type | Description |
---|---|
IProducer<TIn[]> | Output stream. |
Type Parameters
Name | Description |
---|---|
TIn | Type of input stream messages. |
Fuse<TIn, TOut>(IEnumerable<IProducer<TIn>>, Interpolator<TIn>, Func<TIn, TOut>, DeliveryPolicy<TIn>, String)
Fuses an enumeration of streams into a vector stream, based on a specified interpolator and output creator function.
Declaration
public static IProducer<TOut[]> Fuse<TIn, TOut>(this IEnumerable<IProducer<TIn>> inputs, Interpolator<TIn> interpolator, Func<TIn, TOut> outputCreator, DeliveryPolicy<TIn> deliveryPolicy = null, string name = null)
Parameters
Type | Name | Description |
---|---|---|
IEnumerable<IProducer<TIn>> | inputs | Collection of input streams. |
Interpolator<TIn> | interpolator | Interpolator to use when fusing the streams. |
Func<TIn, TOut> | outputCreator | Mapping function from input to output messages. |
Delivery |
deliveryPolicy | An optional delivery policy to use for the streams. |
System. |
name | An optional name for the stream operator. |
Returns
Type | Description |
---|---|
IProducer<TOut[]> | Output stream. |
Type Parameters
Name | Description |
---|---|
TIn | Type of input stream messages. |
TOut | The type of output stream messages. |
Fuse<TPrimary, TSecondary>(IProducer<TPrimary>, IEnumerable<IProducer<TSecondary>>, Interpolator<TSecondary>, DeliveryPolicy<TPrimary>, DeliveryPolicy<TSecondary>, String)
Fuses a primary stream with an enumeration of secondary streams based on a specified interpolator.
Declaration
public static IProducer<(TPrimary, TSecondary[])> Fuse<TPrimary, TSecondary>(this IProducer<TPrimary> primary, IEnumerable<IProducer<TSecondary>> secondaries, Interpolator<TSecondary> interpolator, DeliveryPolicy<TPrimary> primaryDeliveryPolicy = null, DeliveryPolicy<TSecondary> secondariesDeliveryPolicy = null, string name = null)
Parameters
Type | Name | Description |
---|---|---|
IProducer<TPrimary> | primary | Primary stream. |
IEnumerable<IProducer<TSecondary>> | secondaries | Enumeration of secondary streams. |
Interpolator<TSecondary> | interpolator | Interpolator to use when fusing the streams. |
Delivery |
primaryDeliveryPolicy | An optional delivery policy for the primary stream. |
Delivery |
secondariesDeliveryPolicy | An optional delivery policy for the secondary stream(s). |
System. |
name | An optional name for the stream operator. |
Returns
Type | Description |
---|---|
IProducer<System. |
Output stream. |
Type Parameters
Name | Description |
---|---|
TPrimary | Type of primary stream messages. |
TSecondary | Type of secondary stream messages. |
Fuse<TPrimary, TSecondary, TInterpolation>(IProducer<TPrimary>, IEnumerable<IProducer<TSecondary>>, Interpolator<TSecondary, TInterpolation>, DeliveryPolicy<TPrimary>, DeliveryPolicy<TSecondary>, String)
Fuses a primary stream with an enumeration of secondary streams based on a specified interpolator.
Declaration
public static IProducer<(TPrimary, TInterpolation[])> Fuse<TPrimary, TSecondary, TInterpolation>(this IProducer<TPrimary> primary, IEnumerable<IProducer<TSecondary>> secondaries, Interpolator<TSecondary, TInterpolation> interpolator, DeliveryPolicy<TPrimary> primaryDeliveryPolicy = null, DeliveryPolicy<TSecondary> secondariesDeliveryPolicy = null, string name = null)
Parameters
Type | Name | Description |
---|---|---|
IProducer<TPrimary> | primary | Primary stream. |
IEnumerable<IProducer<TSecondary>> | secondaries | Enumeration of secondary streams. |
Interpolator<TSecondary, TInterpolation> | interpolator | Interpolator to use when fusing the streams. |
Delivery |
primaryDeliveryPolicy | An optional delivery policy for the primary stream. |
Delivery |
secondariesDeliveryPolicy | An optional delivery policy for the secondary stream(s). |
System. |
name | An optional name for the stream operator. |
Returns
Type | Description |
---|---|
IProducer<System. |
Output stream. |
Type Parameters
Name | Description |
---|---|
TPrimary | Type of primary stream messages. |
TSecondary | Type of secondary stream messages. |
TInterpolation | Type of the interpolation result. |
Fuse<TPrimary, TSecondary, TOut>(IProducer<TPrimary>, IEnumerable<IProducer<TSecondary>>, Interpolator<TSecondary>, Func<TPrimary, TSecondary[], TOut>, DeliveryPolicy<TPrimary>, DeliveryPolicy<TSecondary>, String)
Fuses a primary stream with an enumeration of secondary streams based on a specified interpolator.
Declaration
public static IProducer<TOut> Fuse<TPrimary, TSecondary, TOut>(this IProducer<TPrimary> primary, IEnumerable<IProducer<TSecondary>> secondaries, Interpolator<TSecondary> interpolator, Func<TPrimary, TSecondary[], TOut> outputCreator, DeliveryPolicy<TPrimary> primaryDeliveryPolicy = null, DeliveryPolicy<TSecondary> secondariesDeliveryPolicy = null, string name = null)
Parameters
Type | Name | Description |
---|---|---|
IProducer<TPrimary> | primary | Primary stream. |
IEnumerable<IProducer<TSecondary>> | secondaries | Enumeration of secondary streams. |
Interpolator<TSecondary> | interpolator | Interpolator to use when fusing the streams. |
Func<TPrimary, TSecondary[], TOut> | outputCreator | Mapping function from primary and secondary messages to output. |
Delivery |
primaryDeliveryPolicy | An optional delivery policy for the primary stream. |
Delivery |
secondariesDeliveryPolicy | An optional delivery policy for the secondary stream(s). |
System. |
name | An optional name for the stream operator. |
Returns
Type | Description |
---|---|
IProducer<TOut> | Output stream. |
Type Parameters
Name | Description |
---|---|
TPrimary | Type of primary stream messages. |
TSecondary | Type of secondary stream messages. |
TOut | Type of output stream messages. |
Fuse<TPrimary, TSecondary, TInterpolation>(IProducer<TPrimary>, IProducer<TSecondary>, Interpolator<TSecondary, TInterpolation>, DeliveryPolicy<TPrimary>, DeliveryPolicy<TSecondary>, String)
Fuse with values from a secondary stream based on a specified interpolator.
Declaration
public static IProducer<(TPrimary, TInterpolation)> Fuse<TPrimary, TSecondary, TInterpolation>(this IProducer<TPrimary> primary, IProducer<TSecondary> secondary, Interpolator<TSecondary, TInterpolation> interpolator, DeliveryPolicy<TPrimary> primaryDeliveryPolicy = null, DeliveryPolicy<TSecondary> secondaryDeliveryPolicy = null, string name = null)
Parameters
Type | Name | Description |
---|---|---|
IProducer<TPrimary> | primary | Primary stream. |
IProducer<TSecondary> | secondary | Secondary stream. |
Interpolator<TSecondary, TInterpolation> | interpolator | Interpolator to use when fusing the streams. |
Delivery |
primaryDeliveryPolicy | An optional delivery policy for the primary stream. |
Delivery |
secondaryDeliveryPolicy | An optional delivery policy for the secondary stream(s). |
System. |
name | An optional name for the stream operator. |
Returns
Type | Description |
---|---|
IProducer<System. |
Stream of fused values. |
Type Parameters
Name | Description |
---|---|
TPrimary | Type of primary messages. |
TSecondary | Type of secondary messages. |
TInterpolation | Type of the interpolation result. |
Fuse<TPrimary, TSecondaryItem1, TSecondaryItem2>(IProducer<TPrimary>, IProducer<(TSecondaryItem1, TSecondaryItem2)>, Interpolator<(TSecondaryItem1, TSecondaryItem2), (TSecondaryItem1, TSecondaryItem2)>, DeliveryPolicy<TPrimary>, DeliveryPolicy<(TSecondaryItem1, TSecondaryItem2)>, String)
Fuse with values from a secondary stream based on a specified interpolator.
Declaration
public static IProducer<(TPrimary, TSecondaryItem1, TSecondaryItem2)> Fuse<TPrimary, TSecondaryItem1, TSecondaryItem2>(this IProducer<TPrimary> primary, IProducer<(TSecondaryItem1, TSecondaryItem2)> secondary, Interpolator<(TSecondaryItem1, TSecondaryItem2), (TSecondaryItem1, TSecondaryItem2)> interpolator, DeliveryPolicy<TPrimary> primaryDeliveryPolicy = null, DeliveryPolicy<(TSecondaryItem1, TSecondaryItem2)> secondaryDeliveryPolicy = null, string name = null)
Parameters
Type | Name | Description |
---|---|---|
IProducer<TPrimary> | primary | Primary stream. |
IProducer<System. |
secondary | Secondary stream of tuples (arity 2). |
Interpolator<System. |
interpolator | Interpolator to use when fusing the streams. |
Delivery |
primaryDeliveryPolicy | An optional delivery policy for the primary stream. |
Delivery |
secondaryDeliveryPolicy | An optional delivery policy for the secondary stream(s). |
System. |
name | An optional name for the stream operator. |
Returns
Type | Description |
---|---|
IProducer<System. |
Stream of fused tuple values flattened to arity 3. |
Type Parameters
Name | Description |
---|---|
TPrimary | Type of primary messages. |
TSecondaryItem1 | Type of item 1 of secondary messages. |
TSecondaryItem2 | Type of item 2 of secondary messages. |
Fuse<TPrimary, TSecondary, TInterpolation, TOut>(IProducer<TPrimary>, IEnumerable<IProducer<TSecondary>>, Interpolator<TSecondary, TInterpolation>, Func<TPrimary, TInterpolation[], TOut>, DeliveryPolicy<TPrimary>, DeliveryPolicy<TSecondary>, String)
Fuses a primary stream with an enumeration of secondary streams based on a specified interpolator.
Declaration
public static IProducer<TOut> Fuse<TPrimary, TSecondary, TInterpolation, TOut>(this IProducer<TPrimary> primary, IEnumerable<IProducer<TSecondary>> secondaries, Interpolator<TSecondary, TInterpolation> interpolator, Func<TPrimary, TInterpolation[], TOut> outputCreator, DeliveryPolicy<TPrimary> primaryDeliveryPolicy = null, DeliveryPolicy<TSecondary> secondariesDeliveryPolicy = null, string name = null)
Parameters
Type | Name | Description |
---|---|---|
IProducer<TPrimary> | primary | Primary stream. |
IEnumerable<IProducer<TSecondary>> | secondaries | Enumeration of secondary streams. |
Interpolator<TSecondary, TInterpolation> | interpolator | Interpolator to use when fusing the streams. |
Func<TPrimary, TInterpolation[], TOut> | outputCreator | Mapping function from primary and secondary messages to output. |
Delivery |
primaryDeliveryPolicy | An optional delivery policy for the primary stream. |
Delivery |
secondariesDeliveryPolicy | An optional delivery policy for the secondary stream(s). |
System. |
name | An optional name for the stream operator. |
Returns
Type | Description |
---|---|
IProducer<TOut> | Output stream. |
Type Parameters
Name | Description |
---|---|
TPrimary | Type of primary stream messages. |
TSecondary | Type of secondary stream messages. |
TInterpolation | Type of the interpolation result. |
TOut | Type of output stream messages. |
Fuse<TPrimary, TSecondary, TInterpolation, TOut>(IProducer<TPrimary>, IProducer<TSecondary>, Interpolator<TSecondary, TInterpolation>, Func<TPrimary, TInterpolation, TOut>, DeliveryPolicy<TPrimary>, DeliveryPolicy<TSecondary>, String)
Fuse with values from a secondary stream based on a specified interpolator.
Declaration
public static IProducer<TOut> Fuse<TPrimary, TSecondary, TInterpolation, TOut>(this IProducer<TPrimary> primary, IProducer<TSecondary> secondary, Interpolator<TSecondary, TInterpolation> interpolator, Func<TPrimary, TInterpolation, TOut> outputCreator, DeliveryPolicy<TPrimary> primaryDeliveryPolicy = null, DeliveryPolicy<TSecondary> secondaryDeliveryPolicy = null, string name = null)
Parameters
Type | Name | Description |
---|---|---|
IProducer<TPrimary> | primary | Primary stream. |
IProducer<TSecondary> | secondary | Secondary stream. |
Interpolator<TSecondary, TInterpolation> | interpolator | Interpolator to use when fusing the streams. |
Func<TPrimary, TInterpolation, TOut> | outputCreator | Function mapping the primary and secondary messages to an output message type. |
Delivery |
primaryDeliveryPolicy | An optional delivery policy for the primary stream. |
Delivery |
secondaryDeliveryPolicy | An optional delivery policy for the secondary stream(s). |
System. |
name | An optional name for the stream operator. |
Returns
Type | Description |
---|---|
IProducer<TOut> | Stream of fused values. |
Type Parameters
Name | Description |
---|---|
TPrimary | Type of primary messages. |
TSecondary | Type of secondary messages. |
TInterpolation | Type of the interpolation result. |
TOut | Type of output messages. |
Fuse<TPrimary, TSecondaryItem1, TSecondaryItem2, TSecondaryItem3>(IProducer<TPrimary>, IProducer<(TSecondaryItem1, TSecondaryItem2, TSecondaryItem3)>, Interpolator<(TSecondaryItem1, TSecondaryItem2, TSecondaryItem3), (TSecondaryItem1, TSecondaryItem2, TSecondaryItem3)>, DeliveryPolicy<TPrimary>, DeliveryPolicy<(TSecondaryItem1, TSecondaryItem2, TSecondaryItem3)>, String)
Fuse with values from a secondary stream based on a specified interpolator.
Declaration
public static IProducer<(TPrimary, TSecondaryItem1, TSecondaryItem2, TSecondaryItem3)> Fuse<TPrimary, TSecondaryItem1, TSecondaryItem2, TSecondaryItem3>(this IProducer<TPrimary> primary, IProducer<(TSecondaryItem1, TSecondaryItem2, TSecondaryItem3)> secondary, Interpolator<(TSecondaryItem1, TSecondaryItem2, TSecondaryItem3), (TSecondaryItem1, TSecondaryItem2, TSecondaryItem3)> interpolator, DeliveryPolicy<TPrimary> primaryDeliveryPolicy = null, DeliveryPolicy<(TSecondaryItem1, TSecondaryItem2, TSecondaryItem3)> secondaryDeliveryPolicy = null, string name = null)
Parameters
Type | Name | Description |
---|---|---|
IProducer<TPrimary> | primary | Primary stream. |
IProducer<System. |
secondary | Secondary stream of tuples (arity 3). |
Interpolator<System. |
interpolator | Interpolator to use when fusing the streams. |
Delivery |
primaryDeliveryPolicy | An optional delivery policy for the primary stream. |
Delivery |
secondaryDeliveryPolicy | An optional delivery policy for the secondary stream(s). |
System. |
name | An optional name for the stream operator. |
Returns
Type | Description |
---|---|
IProducer<System. |
Stream of fused tuple values flattened to arity 4. |
Type Parameters
Name | Description |
---|---|
TPrimary | Type of primary messages. |
TSecondaryItem1 | Type of item 1 of secondary messages. |
TSecondaryItem2 | Type of item 2 of secondary messages. |
TSecondaryItem3 | Type of item 3 of secondary messages. |
Fuse<TPrimaryItem1, TPrimaryItem2, TSecondary, TInterpolation>(IProducer<(TPrimaryItem1, TPrimaryItem2)>, IProducer<TSecondary>, Interpolator<TSecondary, TInterpolation>, DeliveryPolicy<(TPrimaryItem1, TPrimaryItem2)>, DeliveryPolicy<TSecondary>, String)
Fuse with values from a secondary stream based on a specified interpolator.
Declaration
public static IProducer<(TPrimaryItem1, TPrimaryItem2, TInterpolation)> Fuse<TPrimaryItem1, TPrimaryItem2, TSecondary, TInterpolation>(this IProducer<(TPrimaryItem1, TPrimaryItem2)> primary, IProducer<TSecondary> secondary, Interpolator<TSecondary, TInterpolation> interpolator, DeliveryPolicy<(TPrimaryItem1, TPrimaryItem2)> primaryDeliveryPolicy = null, DeliveryPolicy<TSecondary> secondaryDeliveryPolicy = null, string name = null)
Parameters
Type | Name | Description |
---|---|---|
IProducer<System. |
primary | Primary stream of tuples (arity 2). |
IProducer<TSecondary> | secondary | Secondary stream. |
Interpolator<TSecondary, TInterpolation> | interpolator | Interpolator to use when fusing the streams. |
Delivery |
primaryDeliveryPolicy | An optional delivery policy for the primary stream. |
Delivery |
secondaryDeliveryPolicy | An optional delivery policy for the secondary stream(s). |
System. |
name | An optional name for the stream operator. |
Returns
Type | Description |
---|---|
IProducer<System. |
Stream of fused tuple values flattened to arity 3. |
Type Parameters
Name | Description |
---|---|
TPrimaryItem1 | Type of item 1 of primary messages. |
TPrimaryItem2 | Type of item 2 of primary messages. |
TSecondary | Type of secondary messages. |
TInterpolation | Type of the interpolation result. |
Fuse<TPrimary, TSecondaryItem1, TSecondaryItem2, TSecondaryItem3, TSecondaryItem4>(IProducer<TPrimary>, IProducer<(TSecondaryItem1, TSecondaryItem2, TSecondaryItem3, TSecondaryItem4)>, Interpolator<(TSecondaryItem1, TSecondaryItem2, TSecondaryItem3, TSecondaryItem4), (TSecondaryItem1, TSecondaryItem2, TSecondaryItem3, TSecondaryItem4)>, DeliveryPolicy<TPrimary>, DeliveryPolicy<(TSecondaryItem1, TSecondaryItem2, TSecondaryItem3, TSecondaryItem4)>, String)
Fuse with values from a secondary stream based on a specified interpolator.
Declaration
public static IProducer<(TPrimary, TSecondaryItem1, TSecondaryItem2, TSecondaryItem3, TSecondaryItem4)> Fuse<TPrimary, TSecondaryItem1, TSecondaryItem2, TSecondaryItem3, TSecondaryItem4>(this IProducer<TPrimary> primary, IProducer<(TSecondaryItem1, TSecondaryItem2, TSecondaryItem3, TSecondaryItem4)> secondary, Interpolator<(TSecondaryItem1, TSecondaryItem2, TSecondaryItem3, TSecondaryItem4), (TSecondaryItem1, TSecondaryItem2, TSecondaryItem3, TSecondaryItem4)> interpolator, DeliveryPolicy<TPrimary> primaryDeliveryPolicy = null, DeliveryPolicy<(TSecondaryItem1, TSecondaryItem2, TSecondaryItem3, TSecondaryItem4)> secondaryDeliveryPolicy = null, string name = null)
Parameters
Type | Name | Description |
---|---|---|
IProducer<TPrimary> | primary | Primary stream. |
IProducer<System. |
secondary | Secondary stream of tuples (arity 4). |
Interpolator<System. |
interpolator | Interpolator to use when fusing the streams. |
Delivery |
primaryDeliveryPolicy | An optional delivery policy for the primary stream. |
Delivery |
secondaryDeliveryPolicy | An optional delivery policy for the secondary stream(s). |
System. |
name | An optional name for the stream operator. |
Returns
Type | Description |
---|---|
IProducer<System. |
Stream of fused tuple values flattened to arity 5. |
Type Parameters
Name | Description |
---|---|
TPrimary | Type of primary messages. |
TSecondaryItem1 | Type of item 1 of secondary messages. |
TSecondaryItem2 | Type of item 2 of secondary messages. |
TSecondaryItem3 | Type of item 3 of secondary messages. |
TSecondaryItem4 | Type of item 4 of secondary messages. |
Fuse<TPrimaryItem1, TPrimaryItem2, TPrimaryItem3, TSecondary, TInterpolation>(IProducer<(TPrimaryItem1, TPrimaryItem2, TPrimaryItem3)>, IProducer<TSecondary>, Interpolator<TSecondary, TInterpolation>, DeliveryPolicy<(TPrimaryItem1, TPrimaryItem2, TPrimaryItem3)>, DeliveryPolicy<TSecondary>, String)
Fuse with values from a secondary stream based on a specified interpolator.
Declaration
public static IProducer<(TPrimaryItem1, TPrimaryItem2, TPrimaryItem3, TInterpolation)> Fuse<TPrimaryItem1, TPrimaryItem2, TPrimaryItem3, TSecondary, TInterpolation>(this IProducer<(TPrimaryItem1, TPrimaryItem2, TPrimaryItem3)> primary, IProducer<TSecondary> secondary, Interpolator<TSecondary, TInterpolation> interpolator, DeliveryPolicy<(TPrimaryItem1, TPrimaryItem2, TPrimaryItem3)> primaryDeliveryPolicy = null, DeliveryPolicy<TSecondary> secondaryDeliveryPolicy = null, string name = null)
Parameters
Type | Name | Description |
---|---|---|
IProducer<System. |
primary | Primary stream of tuples (arity 3). |
IProducer<TSecondary> | secondary | Secondary stream. |
Interpolator<TSecondary, TInterpolation> | interpolator | Interpolator to use when fusing the streams. |
Delivery |
primaryDeliveryPolicy | An optional delivery policy for the primary stream. |
Delivery |
secondaryDeliveryPolicy | An optional delivery policy for the secondary stream(s). |
System. |
name | An optional name for the stream operator. |
Returns
Type | Description |
---|---|
IProducer<System. |
Stream of fused tuple values flattened to arity 4. |
Type Parameters
Name | Description |
---|---|
TPrimaryItem1 | Type of item 1 of primary messages. |
TPrimaryItem2 | Type of item 2 of primary messages. |
TPrimaryItem3 | Type of item 3 of primary messages. |
TSecondary | Type of secondary messages. |
TInterpolation | Type of the interpolation result. |
Fuse<TPrimary, TSecondaryItem1, TSecondaryItem2, TSecondaryItem3, TSecondaryItem4, TSecondaryItem5>(IProducer<TPrimary>, IProducer<(TSecondaryItem1, TSecondaryItem2, TSecondaryItem3, TSecondaryItem4, TSecondaryItem5)>, Interpolator<(TSecondaryItem1, TSecondaryItem2, TSecondaryItem3, TSecondaryItem4, TSecondaryItem5), (TSecondaryItem1, TSecondaryItem2, TSecondaryItem3, TSecondaryItem4, TSecondaryItem5)>, DeliveryPolicy<TPrimary>, DeliveryPolicy<(TSecondaryItem1, TSecondaryItem2, TSecondaryItem3, TSecondaryItem4, TSecondaryItem5)>, String)
Fuse with values from a secondary stream based on a specified interpolator.
Declaration
public static IProducer<(TPrimary, TSecondaryItem1, TSecondaryItem2, TSecondaryItem3, TSecondaryItem4, TSecondaryItem5)> Fuse<TPrimary, TSecondaryItem1, TSecondaryItem2, TSecondaryItem3, TSecondaryItem4, TSecondaryItem5>(this IProducer<TPrimary> primary, IProducer<(TSecondaryItem1, TSecondaryItem2, TSecondaryItem3, TSecondaryItem4, TSecondaryItem5)> secondary, Interpolator<(TSecondaryItem1, TSecondaryItem2, TSecondaryItem3, TSecondaryItem4, TSecondaryItem5), (TSecondaryItem1, TSecondaryItem2, TSecondaryItem3, TSecondaryItem4, TSecondaryItem5)> interpolator, DeliveryPolicy<TPrimary> primaryDeliveryPolicy = null, DeliveryPolicy<(TSecondaryItem1, TSecondaryItem2, TSecondaryItem3, TSecondaryItem4, TSecondaryItem5)> secondaryDeliveryPolicy = null, string name = null)
Parameters
Type | Name | Description |
---|---|---|
IProducer<TPrimary> | primary | Primary stream. |
IProducer<System. |
secondary | Secondary stream of tuples (arity 5). |
Interpolator<System. |
interpolator | Interpolator to use when fusing the streams. |
Delivery |
primaryDeliveryPolicy | An optional delivery policy for the primary stream. |
Delivery |
secondaryDeliveryPolicy | An optional delivery policy for the secondary stream(s). |
System. |
name | An optional name for the stream operator. |
Returns
Type | Description |
---|---|
IProducer<System. |
Stream of fused tuple values flattened to arity 6. |
Type Parameters
Name | Description |
---|---|
TPrimary | Type of primary messages. |
TSecondaryItem1 | Type of item 1 of secondary messages. |
TSecondaryItem2 | Type of item 2 of secondary messages. |
TSecondaryItem3 | Type of item 3 of secondary messages. |
TSecondaryItem4 | Type of item 4 of secondary messages. |
TSecondaryItem5 | Type of item 5 of secondary messages. |
Fuse<TPrimaryItem1, TPrimaryItem2, TPrimaryItem3, TPrimaryItem4, TSecondary, TInterpolation>(IProducer<(TPrimaryItem1, TPrimaryItem2, TPrimaryItem3, TPrimaryItem4)>, IProducer<TSecondary>, Interpolator<TSecondary, TInterpolation>, DeliveryPolicy<(TPrimaryItem1, TPrimaryItem2, TPrimaryItem3, TPrimaryItem4)>, DeliveryPolicy<TSecondary>, String)
Fuse with values from a secondary stream based on a specified interpolator.
Declaration
public static IProducer<(TPrimaryItem1, TPrimaryItem2, TPrimaryItem3, TPrimaryItem4, TInterpolation)> Fuse<TPrimaryItem1, TPrimaryItem2, TPrimaryItem3, TPrimaryItem4, TSecondary, TInterpolation>(this IProducer<(TPrimaryItem1, TPrimaryItem2, TPrimaryItem3, TPrimaryItem4)> primary, IProducer<TSecondary> secondary, Interpolator<TSecondary, TInterpolation> interpolator, DeliveryPolicy<(TPrimaryItem1, TPrimaryItem2, TPrimaryItem3, TPrimaryItem4)> primaryDeliveryPolicy = null, DeliveryPolicy<TSecondary> secondaryDeliveryPolicy = null, string name = null)
Parameters
Type | Name | Description |
---|---|---|
IProducer<System. |
primary | Primary stream of tuples (arity 4). |
IProducer<TSecondary> | secondary | Secondary stream. |
Interpolator<TSecondary, TInterpolation> | interpolator | Interpolator to use when fusing the streams. |
Delivery |
primaryDeliveryPolicy | An optional delivery policy for the primary stream. |
Delivery |
secondaryDeliveryPolicy | An optional delivery policy for the secondary stream(s). |
System. |
name | An optional name for the stream operator. |
Returns
Type | Description |
---|---|
IProducer<System. |
Stream of fused tuple values flattened to arity 5. |
Type Parameters
Name | Description |
---|---|
TPrimaryItem1 | Type of item 1 of primary messages. |
TPrimaryItem2 | Type of item 2 of primary messages. |
TPrimaryItem3 | Type of item 3 of primary messages. |
TPrimaryItem4 | Type of item 4 of primary messages. |
TSecondary | Type of secondary messages. |
TInterpolation | Type of the interpolation result. |
Fuse<TPrimary, TSecondaryItem1, TSecondaryItem2, TSecondaryItem3, TSecondaryItem4, TSecondaryItem5, TSecondaryItem6>(IProducer<TPrimary>, IProducer<(TSecondaryItem1, TSecondaryItem2, TSecondaryItem3, TSecondaryItem4, TSecondaryItem5, TSecondaryItem6)>, Interpolator<(TSecondaryItem1, TSecondaryItem2, TSecondaryItem3, TSecondaryItem4, TSecondaryItem5, TSecondaryItem6), (TSecondaryItem1, TSecondaryItem2, TSecondaryItem3, TSecondaryItem4, TSecondaryItem5, TSecondaryItem6)>, DeliveryPolicy<TPrimary>, DeliveryPolicy<(TSecondaryItem1, TSecondaryItem2, TSecondaryItem3, TSecondaryItem4, TSecondaryItem5, TSecondaryItem6)>, String)
Fuse with values from a secondary stream based on a specified interpolator.
Declaration
public static IProducer<(TPrimary, TSecondaryItem1, TSecondaryItem2, TSecondaryItem3, TSecondaryItem4, TSecondaryItem5, TSecondaryItem6)> Fuse<TPrimary, TSecondaryItem1, TSecondaryItem2, TSecondaryItem3, TSecondaryItem4, TSecondaryItem5, TSecondaryItem6>(this IProducer<TPrimary> primary, IProducer<(TSecondaryItem1, TSecondaryItem2, TSecondaryItem3, TSecondaryItem4, TSecondaryItem5, TSecondaryItem6)> secondary, Interpolator<(TSecondaryItem1, TSecondaryItem2, TSecondaryItem3, TSecondaryItem4, TSecondaryItem5, TSecondaryItem6), (TSecondaryItem1, TSecondaryItem2, TSecondaryItem3, TSecondaryItem4, TSecondaryItem5, TSecondaryItem6)> interpolator, DeliveryPolicy<TPrimary> primaryDeliveryPolicy = null, DeliveryPolicy<(TSecondaryItem1, TSecondaryItem2, TSecondaryItem3, TSecondaryItem4, TSecondaryItem5, TSecondaryItem6)> secondaryDeliveryPolicy = null, string name = null)
Parameters
Type | Name | Description |
---|---|---|
IProducer<TPrimary> | primary | Primary stream. |
IProducer<System. |
secondary | Secondary stream of tuples (arity 6). |
Interpolator<System. |
interpolator | Interpolator to use when fusing the streams. |
Delivery |
primaryDeliveryPolicy | An optional delivery policy for the primary stream. |
Delivery |
secondaryDeliveryPolicy | An optional delivery policy for the secondary stream(s). |
System. |
name | An optional name for the stream operator. |
Returns
Type | Description |
---|---|
IProducer<System. |
Stream of fused tuple values flattened to arity 7. |
Type Parameters
Name | Description |
---|---|
TPrimary | Type of primary messages. |
TSecondaryItem1 | Type of item 1 of secondary messages. |
TSecondaryItem2 | Type of item 2 of secondary messages. |
TSecondaryItem3 | Type of item 3 of secondary messages. |
TSecondaryItem4 | Type of item 4 of secondary messages. |
TSecondaryItem5 | Type of item 5 of secondary messages. |
TSecondaryItem6 | Type of item 6 of secondary messages. |
Fuse<TPrimaryItem1, TPrimaryItem2, TPrimaryItem3, TPrimaryItem4, TPrimaryItem5, TSecondary, TInterpolation>(IProducer<(TPrimaryItem1, TPrimaryItem2, TPrimaryItem3, TPrimaryItem4, TPrimaryItem5)>, IProducer<TSecondary>, Interpolator<TSecondary, TInterpolation>, DeliveryPolicy<(TPrimaryItem1, TPrimaryItem2, TPrimaryItem3, TPrimaryItem4, TPrimaryItem5)>, DeliveryPolicy<TSecondary>, String)
Fuse with values from a secondary stream based on a specified interpolator.
Declaration
public static IProducer<(TPrimaryItem1, TPrimaryItem2, TPrimaryItem3, TPrimaryItem4, TPrimaryItem5, TInterpolation)> Fuse<TPrimaryItem1, TPrimaryItem2, TPrimaryItem3, TPrimaryItem4, TPrimaryItem5, TSecondary, TInterpolation>(this IProducer<(TPrimaryItem1, TPrimaryItem2, TPrimaryItem3, TPrimaryItem4, TPrimaryItem5)> primary, IProducer<TSecondary> secondary, Interpolator<TSecondary, TInterpolation> interpolator, DeliveryPolicy<(TPrimaryItem1, TPrimaryItem2, TPrimaryItem3, TPrimaryItem4, TPrimaryItem5)> primaryDeliveryPolicy = null, DeliveryPolicy<TSecondary> secondaryDeliveryPolicy = null, string name = null)
Parameters
Type | Name | Description |
---|---|---|
IProducer<System. |
primary | Primary stream of tuples (arity 5). |
IProducer<TSecondary> | secondary | Secondary stream. |
Interpolator<TSecondary, TInterpolation> | interpolator | Interpolator to use when fusing the streams. |
Delivery |
primaryDeliveryPolicy | An optional delivery policy for the primary stream. |
Delivery |
secondaryDeliveryPolicy | An optional delivery policy for the secondary stream(s). |
System. |
name | An optional name for the stream operator. |
Returns
Type | Description |
---|---|
IProducer<System. |
Stream of fused tuple values flattened to arity 6. |
Type Parameters
Name | Description |
---|---|
TPrimaryItem1 | Type of item 1 of primary messages. |
TPrimaryItem2 | Type of item 2 of primary messages. |
TPrimaryItem3 | Type of item 3 of primary messages. |
TPrimaryItem4 | Type of item 4 of primary messages. |
TPrimaryItem5 | Type of item 5 of primary messages. |
TSecondary | Type of secondary messages. |
TInterpolation | Type of the interpolation result. |
Fuse<TPrimaryItem1, TPrimaryItem2, TPrimaryItem3, TPrimaryItem4, TPrimaryItem5, TPrimaryItem6, TSecondary, TInterpolation>(IProducer<(TPrimaryItem1, TPrimaryItem2, TPrimaryItem3, TPrimaryItem4, TPrimaryItem5, TPrimaryItem6)>, IProducer<TSecondary>, Interpolator<TSecondary, TInterpolation>, DeliveryPolicy<(TPrimaryItem1, TPrimaryItem2, TPrimaryItem3, TPrimaryItem4, TPrimaryItem5, TPrimaryItem6)>, DeliveryPolicy<TSecondary>, String)
Fuse with values from a secondary stream based on a specified interpolator.
Declaration
public static IProducer<(TPrimaryItem1, TPrimaryItem2, TPrimaryItem3, TPrimaryItem4, TPrimaryItem5, TPrimaryItem6, TInterpolation)> Fuse<TPrimaryItem1, TPrimaryItem2, TPrimaryItem3, TPrimaryItem4, TPrimaryItem5, TPrimaryItem6, TSecondary, TInterpolation>(this IProducer<(TPrimaryItem1, TPrimaryItem2, TPrimaryItem3, TPrimaryItem4, TPrimaryItem5, TPrimaryItem6)> primary, IProducer<TSecondary> secondary, Interpolator<TSecondary, TInterpolation> interpolator, DeliveryPolicy<(TPrimaryItem1, TPrimaryItem2, TPrimaryItem3, TPrimaryItem4, TPrimaryItem5, TPrimaryItem6)> primaryDeliveryPolicy = null, DeliveryPolicy<TSecondary> secondaryDeliveryPolicy = null, string name = null)
Parameters
Type | Name | Description |
---|---|---|
IProducer<System. |
primary | Primary stream of tuples (arity 6). |
IProducer<TSecondary> | secondary | Secondary stream. |
Interpolator<TSecondary, TInterpolation> | interpolator | Interpolator to use when fusing the streams. |
Delivery |
primaryDeliveryPolicy | An optional delivery policy for the primary stream. |
Delivery |
secondaryDeliveryPolicy | An optional delivery policy for the secondary stream(s). |
System. |
name | An optional name for the stream operator. |
Returns
Type | Description |
---|---|
IProducer<System. |
Stream of fused tuple values flattened to arity 7. |
Type Parameters
Name | Description |
---|---|
TPrimaryItem1 | Type of item 1 of primary messages. |
TPrimaryItem2 | Type of item 2 of primary messages. |
TPrimaryItem3 | Type of item 3 of primary messages. |
TPrimaryItem4 | Type of item 4 of primary messages. |
TPrimaryItem5 | Type of item 5 of primary messages. |
TPrimaryItem6 | Type of item 6 of primary messages. |
TSecondary | Type of secondary messages. |
TInterpolation | Type of the interpolation result. |
Interpolate<T, TInterpolation>(IProducer<T>, TimeSpan, Interpolator<T, TInterpolation>, Nullable<DateTime>, DeliveryPolicy<T>, String)
Interpolate a stream using a specified interpolator at a given sampling interval.
Declaration
public static IProducer<TInterpolation> Interpolate<T, TInterpolation>(this IProducer<T> source, TimeSpan samplingInterval, Interpolator<T, TInterpolation> interpolator, DateTime? alignmentDateTime = null, DeliveryPolicy<T> deliveryPolicy = null, string name = null)
Parameters
Type | Name | Description |
---|---|---|
IProducer<T> | source | Source stream. |
Time |
samplingInterval | Interval at which to apply the interpolator. |
Interpolator<T, TInterpolation> | interpolator | Interpolator to use for generating results. |
System. |
alignmentDateTime | If non-null, this parameter specifies a time to align the sampling messages with. If the parameter is non-null, the messages will have originating times that align with (i.e., are an integral number of intervals away from) the specified alignment time. |
Delivery |
deliveryPolicy | An optional delivery policy for the source stream. |
System. |
name | An optional name for the stream operator. |
Returns
Type | Description |
---|---|
IProducer<TInterpolation> | Output stream. |
Type Parameters
Name | Description |
---|---|
T | Type of source messages. |
TInterpolation | Type of the interpolation result. |
Interpolate<T, TClock, TInterpolation>(IProducer<T>, IProducer<TClock>, Interpolator<T, TInterpolation>, DeliveryPolicy<T>, DeliveryPolicy<TClock>, String)
Interpolate a stream using a specified interpolator at interpolation points given by a clock stream.
Declaration
public static IProducer<TInterpolation> Interpolate<T, TClock, TInterpolation>(this IProducer<T> source, IProducer<TClock> clock, Interpolator<T, TInterpolation> interpolator, DeliveryPolicy<T> sourceDeliveryPolicy = null, DeliveryPolicy<TClock> clockDeliveryPolicy = null, string name = null)
Parameters
Type | Name | Description |
---|---|---|
IProducer<T> | source | Source stream. |
IProducer<TClock> | clock | Clock stream that dictates the interpolation points. |
Interpolator<T, TInterpolation> | interpolator | Interpolator to use for generating results. |
Delivery |
sourceDeliveryPolicy | An optional delivery policy for the source stream. |
Delivery |
clockDeliveryPolicy | An optional delivery policy for the clock stream. |
System. |
name | An optional name for the stream operator. |
Returns
Type | Description |
---|---|
IProducer<TInterpolation> | Output stream. |
Type Parameters
Name | Description |
---|---|
T | Type of source messages. |
TClock | Type of messages on the clock stream. |
TInterpolation | Type of the interpolation result. |
Item1<T1, T2>(IProducer<(T1, T2)>, DeliveryPolicy<(T1, T2)>, String)
Decomposes a stream of tuples into a stream containing just the first item of each tuple.
Declaration
public static IProducer<T1> Item1<T1, T2>(this IProducer<(T1, T2)> source, DeliveryPolicy<(T1, T2)> deliveryPolicy = null, string name = "Item1")
Parameters
Type | Name | Description |
---|---|---|
IProducer<System. |
source | The source stream of tuples. |
Delivery |
deliveryPolicy | An optional delivery policy. |
System. |
name | An optional name for this stream operator. |
Returns
Type | Description |
---|---|
IProducer<T1> | A stream containing the first item of each tuple. |
Type Parameters
Name | Description |
---|---|
T1 | The type of the first item in the tuple. |
T2 | The type of the second item in the tuple. |
Item2<T1, T2>(IProducer<(T1, T2)>, DeliveryPolicy<(T1, T2)>, String)
Decomposes a stream of tuples into a stream containing just the second item of each tuple.
Declaration
public static IProducer<T2> Item2<T1, T2>(this IProducer<(T1, T2)> source, DeliveryPolicy<(T1, T2)> deliveryPolicy = null, string name = "Item2")
Parameters
Type | Name | Description |
---|---|---|
IProducer<System. |
source | The source stream of tuples. |
Delivery |
deliveryPolicy | An optional delivery policy. |
System. |
name | An optional name for this stream operator. |
Returns
Type | Description |
---|---|
IProducer<T2> | A stream containing the second item of each tuple. |
Type Parameters
Name | Description |
---|---|
T1 | The type of the first item in the tuple. |
T2 | The type of the second item in the tuple. |
Join<TIn>(IEnumerable<IProducer<TIn>>, ReproducibleInterpolator<TIn>, DeliveryPolicy<TIn>, String)
Joins an enumeration of streams into a vector stream, based on a specified reproducible interpolator.
Declaration
public static IProducer<TIn[]> Join<TIn>(this IEnumerable<IProducer<TIn>> inputs, ReproducibleInterpolator<TIn> interpolator, DeliveryPolicy<TIn> deliveryPolicy = null, string name = null)
Parameters
Type | Name | Description |
---|---|---|
IEnumerable<IProducer<TIn>> | inputs | Collection of input streams. |
Reproducible |
interpolator | Reproducible interpolator to use when joining the streams. |
Delivery |
deliveryPolicy | An optional delivery policy to use for the streams. |
System. |
name | An optional name for the stream operator. |
Returns
Type | Description |
---|---|
IProducer<TIn[]> | Output stream. |
Type Parameters
Name | Description |
---|---|
TIn | Type of input stream messages. |
Join<TIn, TOut>(IEnumerable<IProducer<TIn>>, ReproducibleInterpolator<TIn>, Func<TIn, TOut>, DeliveryPolicy<TIn>, String)
Joins an enumeration of streams into a vector stream, based on a specified reproducible interpolator and output creator function.
Declaration
public static IProducer<TOut[]> Join<TIn, TOut>(this IEnumerable<IProducer<TIn>> inputs, ReproducibleInterpolator<TIn> interpolator, Func<TIn, TOut> outputCreator, DeliveryPolicy<TIn> deliveryPolicy = null, string name = null)
Parameters
Type | Name | Description |
---|---|---|
IEnumerable<IProducer<TIn>> | inputs | Collection of input streams. |
Reproducible |
interpolator | Reproducible interpolator to use when joining the streams. |
Func<TIn, TOut> | outputCreator | Mapping function from input to output messages. |
Delivery |
deliveryPolicy | An optional delivery policy to use for the streams. |
System. |
name | An optional name for the stream operator. |
Returns
Type | Description |
---|---|
IProducer<TOut[]> | Output stream. |
Type Parameters
Name | Description |
---|---|
TIn | Type of input stream messages. |
TOut | The type of output stream messages. |
Join<TPrimary, TSecondary>(IProducer<TPrimary>, IEnumerable<IProducer<TSecondary>>, ReproducibleInterpolator<TSecondary>, DeliveryPolicy<TPrimary>, DeliveryPolicy<TSecondary>, String)
Joins a primary stream with an enumeration of secondary streams based on a specified reproducible interpolator.
Declaration
public static IProducer<(TPrimary, TSecondary[])> Join<TPrimary, TSecondary>(this IProducer<TPrimary> primary, IEnumerable<IProducer<TSecondary>> secondaries, ReproducibleInterpolator<TSecondary> interpolator, DeliveryPolicy<TPrimary> primaryDeliveryPolicy = null, DeliveryPolicy<TSecondary> secondariesDeliveryPolicy = null, string name = null)
Parameters
Type | Name | Description |
---|---|---|
IProducer<TPrimary> | primary | Primary stream. |
IEnumerable<IProducer<TSecondary>> | secondaries | Enumeration of secondary streams. |
Reproducible |
interpolator | Reproducible interpolator to use when joining the streams. |
Delivery |
primaryDeliveryPolicy | An optional delivery policy for the primary stream. |
Delivery |
secondariesDeliveryPolicy | An optional delivery policy for the secondary stream(s). |
System. |
name | An optional name for the stream operator. |
Returns
Type | Description |
---|---|
IProducer<System. |
Output stream. |
Type Parameters
Name | Description |
---|---|
TPrimary | Type of primary stream messages. |
TSecondary | Type of secondary stream messages. |
Join<TPrimary, TSecondary>(IProducer<TPrimary>, IProducer<TSecondary>, DeliveryPolicy<TPrimary>, DeliveryPolicy<TSecondary>, String)
Join with values with the same originating time from a secondary stream.
Declaration
public static IProducer<(TPrimary, TSecondary)> Join<TPrimary, TSecondary>(this IProducer<TPrimary> primary, IProducer<TSecondary> secondary, DeliveryPolicy<TPrimary> primaryDeliveryPolicy = null, DeliveryPolicy<TSecondary> secondaryDeliveryPolicy = null, string name = null)
Parameters
Type | Name | Description |
---|---|---|
IProducer<TPrimary> | primary | Primary stream. |
IProducer<TSecondary> | secondary | Secondary stream. |
Delivery |
primaryDeliveryPolicy | An optional delivery policy for the primary stream. |
Delivery |
secondaryDeliveryPolicy | An optional delivery policy for the secondary stream(s). |
System. |
name | An optional name for the stream operator. |
Returns
Type | Description |
---|---|
IProducer<System. |
Stream of joined values. |
Type Parameters
Name | Description |
---|---|
TPrimary | Type of primary messages. |
TSecondary | Type of secondary messages. |
Remarks
Uses the Exact<T>() interpolator.
Join<TPrimary, TSecondary>(IProducer<TPrimary>, IProducer<TSecondary>, RelativeTimeInterval, DeliveryPolicy<TPrimary>, DeliveryPolicy<TSecondary>, String)
Join with the nearest values from a secondary stream, within a specified relative time interval.
Declaration
public static IProducer<(TPrimary, TSecondary)> Join<TPrimary, TSecondary>(this IProducer<TPrimary> primary, IProducer<TSecondary> secondary, RelativeTimeInterval relativeTimeInterval, DeliveryPolicy<TPrimary> primaryDeliveryPolicy = null, DeliveryPolicy<TSecondary> secondaryDeliveryPolicy = null, string name = null)
Parameters
Type | Name | Description |
---|---|---|
IProducer<TPrimary> | primary | Primary stream. |
IProducer<TSecondary> | secondary | Secondary stream. |
Relative |
relativeTimeInterval | Relative time interval tolerance. |
Delivery |
primaryDeliveryPolicy | An optional delivery policy for the primary stream. |
Delivery |
secondaryDeliveryPolicy | An optional delivery policy for the secondary stream(s). |
System. |
name | An optional name for the stream operator. |
Returns
Type | Description |
---|---|
IProducer<System. |
Stream of joined values. |
Type Parameters
Name | Description |
---|---|
TPrimary | Type of primary messages. |
TSecondary | Type of secondary messages. |
Remarks
Uses the Nearest<T>(RelativeTimeInterval) interpolator.
Join<TPrimary, TSecondary>(IProducer<TPrimary>, IProducer<TSecondary>, ReproducibleInterpolator<TSecondary>, DeliveryPolicy<TPrimary>, DeliveryPolicy<TSecondary>, String)
Join with values from a secondary stream based on a specified reproducible interpolator.
Declaration
public static IProducer<(TPrimary, TSecondary)> Join<TPrimary, TSecondary>(this IProducer<TPrimary> primary, IProducer<TSecondary> secondary, ReproducibleInterpolator<TSecondary> interpolator, DeliveryPolicy<TPrimary> primaryDeliveryPolicy = null, DeliveryPolicy<TSecondary> secondaryDeliveryPolicy = null, string name = null)
Parameters
Type | Name | Description |
---|---|---|
IProducer<TPrimary> | primary | Primary stream. |
IProducer<TSecondary> | secondary | Secondary stream. |
Reproducible |
interpolator | Reproducible interpolator to use when joining the streams. |
Delivery |
primaryDeliveryPolicy | An optional delivery policy for the primary stream. |
Delivery |
secondaryDeliveryPolicy | An optional delivery policy for the secondary stream(s). |
System. |
name | An optional name for the stream operator. |
Returns
Type | Description |
---|---|
IProducer<System. |
Stream of joined values. |
Type Parameters
Name | Description |
---|---|
TPrimary | Type of primary messages. |
TSecondary | Type of secondary messages. |
Join<TPrimary, TSecondary>(IProducer<TPrimary>, IProducer<TSecondary>, TimeSpan, DeliveryPolicy<TPrimary>, DeliveryPolicy<TSecondary>, String)
Join with the nearest values from a secondary stream, within a specified time tolerance.
Declaration
public static IProducer<(TPrimary, TSecondary)> Join<TPrimary, TSecondary>(this IProducer<TPrimary> primary, IProducer<TSecondary> secondary, TimeSpan tolerance, DeliveryPolicy<TPrimary> primaryDeliveryPolicy = null, DeliveryPolicy<TSecondary> secondaryDeliveryPolicy = null, string name = null)
Parameters
Type | Name | Description |
---|---|---|
IProducer<TPrimary> | primary | Primary stream. |
IProducer<TSecondary> | secondary | Secondary stream. |
Time |
tolerance | Time tolerance. |
Delivery |
primaryDeliveryPolicy | An optional delivery policy for the primary stream. |
Delivery |
secondaryDeliveryPolicy | An optional delivery policy for the secondary stream(s). |
System. |
name | An optional name for the stream operator. |
Returns
Type | Description |
---|---|
IProducer<System. |
Stream of joined values. |
Type Parameters
Name | Description |
---|---|
TPrimary | Type of primary messages. |
TSecondary | Type of secondary messages. |
Remarks
Uses the Nearest<T>(RelativeTimeInterval) interpolator.
Join<TPrimary, TSecondary, TInterpolation>(IProducer<TPrimary>, IEnumerable<IProducer<TSecondary>>, ReproducibleInterpolator<TSecondary, TInterpolation>, DeliveryPolicy<TPrimary>, DeliveryPolicy<TSecondary>, String)
Joins a primary stream with an enumeration of secondary streams based on a specified reproducible interpolator.
Declaration
public static IProducer<(TPrimary, TInterpolation[])> Join<TPrimary, TSecondary, TInterpolation>(this IProducer<TPrimary> primary, IEnumerable<IProducer<TSecondary>> secondaries, ReproducibleInterpolator<TSecondary, TInterpolation> interpolator, DeliveryPolicy<TPrimary> primaryDeliveryPolicy = null, DeliveryPolicy<TSecondary> secondariesDeliveryPolicy = null, string name = null)
Parameters
Type | Name | Description |
---|---|---|
IProducer<TPrimary> | primary | Primary stream. |
IEnumerable<IProducer<TSecondary>> | secondaries | Enumeration of secondary streams. |
Reproducible |
interpolator | Reproducible interpolator to use when joining the streams. |
Delivery |
primaryDeliveryPolicy | An optional delivery policy for the primary stream. |
Delivery |
secondariesDeliveryPolicy | An optional delivery policy for the secondary stream(s). |
System. |
name | An optional name for the stream operator. |
Returns
Type | Description |
---|---|
IProducer<System. |
Output stream. |
Type Parameters
Name | Description |
---|---|
TPrimary | Type of primary stream messages. |
TSecondary | Type of secondary stream messages. |
TInterpolation | Type of the interpolation result. |
Join<TPrimary, TSecondary, TOut>(IProducer<TPrimary>, IEnumerable<IProducer<TSecondary>>, ReproducibleInterpolator<TSecondary>, Func<TPrimary, TSecondary[], TOut>, DeliveryPolicy<TPrimary>, DeliveryPolicy<TSecondary>, String)
Joins a primary stream with an enumeration of secondary streams based on a specified reproducible interpolator.
Declaration
public static IProducer<TOut> Join<TPrimary, TSecondary, TOut>(this IProducer<TPrimary> primary, IEnumerable<IProducer<TSecondary>> secondaries, ReproducibleInterpolator<TSecondary> interpolator, Func<TPrimary, TSecondary[], TOut> outputCreator, DeliveryPolicy<TPrimary> primaryDeliveryPolicy = null, DeliveryPolicy<TSecondary> secondariesDeliveryPolicy = null, string name = null)
Parameters
Type | Name | Description |
---|---|---|
IProducer<TPrimary> | primary | Primary stream. |
IEnumerable<IProducer<TSecondary>> | secondaries | Enumeration of secondary streams. |
Reproducible |
interpolator | Reproducible interpolator to use when joining the streams. |
Func<TPrimary, TSecondary[], TOut> | outputCreator | Mapping function from primary and secondary messages to output. |
Delivery |
primaryDeliveryPolicy | An optional delivery policy for the primary stream. |
Delivery |
secondariesDeliveryPolicy | An optional delivery policy for the secondary stream(s). |
System. |
name | An optional name for the stream operator. |
Returns
Type | Description |
---|---|
IProducer<TOut> | Output stream. |
Type Parameters
Name | Description |
---|---|
TPrimary | Type of primary stream messages. |
TSecondary | Type of secondary stream messages. |
TOut | Type of output stream messages. |
Join<TPrimary, TSecondary, TOut>(IProducer<TPrimary>, IProducer<TSecondary>, ReproducibleInterpolator<TSecondary>, Func<TPrimary, TSecondary, TOut>, DeliveryPolicy<TPrimary>, DeliveryPolicy<TSecondary>, String)
Join with values from a secondary stream based on a specified reproducible interpolator.
Declaration
public static IProducer<TOut> Join<TPrimary, TSecondary, TOut>(this IProducer<TPrimary> primary, IProducer<TSecondary> secondary, ReproducibleInterpolator<TSecondary> interpolator, Func<TPrimary, TSecondary, TOut> outputCreator, DeliveryPolicy<TPrimary> primaryDeliveryPolicy = null, DeliveryPolicy<TSecondary> secondaryDeliveryPolicy = null, string name = null)
Parameters
Type | Name | Description |
---|---|---|
IProducer<TPrimary> | primary | Primary stream. |
IProducer<TSecondary> | secondary | Secondary stream. |
Reproducible |
interpolator | Reproducible interpolator to use when joining the streams. |
Func<TPrimary, TSecondary, TOut> | outputCreator | Function mapping the primary and secondary messages to an output message type. |
Delivery |
primaryDeliveryPolicy | An optional delivery policy for the primary stream. |
Delivery |
secondaryDeliveryPolicy | An optional delivery policy for the secondary stream(s). |
System. |
name | An optional name for the stream operator. |
Returns
Type | Description |
---|---|
IProducer<TOut> | Stream of joined values. |
Type Parameters
Name | Description |
---|---|
TPrimary | Type of primary messages. |
TSecondary | Type of secondary messages. |
TOut | Type of output messages. |
Join<TPrimary, TSecondaryItem1, TSecondaryItem2>(IProducer<TPrimary>, IProducer<(TSecondaryItem1, TSecondaryItem2)>, DeliveryPolicy<TPrimary>, DeliveryPolicy<(TSecondaryItem1, TSecondaryItem2)>, String)
Join with values with the same originating time from a secondary stream.
Declaration
public static IProducer<(TPrimary, TSecondaryItem1, TSecondaryItem2)> Join<TPrimary, TSecondaryItem1, TSecondaryItem2>(this IProducer<TPrimary> primary, IProducer<(TSecondaryItem1, TSecondaryItem2)> secondary, DeliveryPolicy<TPrimary> primaryDeliveryPolicy = null, DeliveryPolicy<(TSecondaryItem1, TSecondaryItem2)> secondaryDeliveryPolicy = null, string name = null)
Parameters
Type | Name | Description |
---|---|---|
IProducer<TPrimary> | primary | Primary stream. |
IProducer<System. |
secondary | Secondary stream of tuples (arity 2). |
Delivery |
primaryDeliveryPolicy | An optional delivery policy for the primary stream. |
Delivery |
secondaryDeliveryPolicy | An optional delivery policy for the secondary stream(s). |
System. |
name | An optional name for the stream operator. |
Returns
Type | Description |
---|---|
IProducer<System. |
Stream of joined tuple values flattened to arity 3. |
Type Parameters
Name | Description |
---|---|
TPrimary | Type of primary messages. |
TSecondaryItem1 | Type of item 1 of secondary messages. |
TSecondaryItem2 | Type of item 2 of secondary messages. |
Remarks
Uses the Exact<T>() interpolator.
Join<TPrimary, TSecondaryItem1, TSecondaryItem2>(IProducer<TPrimary>, IProducer<(TSecondaryItem1, TSecondaryItem2)>, RelativeTimeInterval, DeliveryPolicy<TPrimary>, DeliveryPolicy<(TSecondaryItem1, TSecondaryItem2)>, String)
Join with the nearest values from a secondary stream, within a specified relative time interval.
Declaration
public static IProducer<(TPrimary, TSecondaryItem1, TSecondaryItem2)> Join<TPrimary, TSecondaryItem1, TSecondaryItem2>(this IProducer<TPrimary> primary, IProducer<(TSecondaryItem1, TSecondaryItem2)> secondary, RelativeTimeInterval relativeTimeInterval, DeliveryPolicy<TPrimary> primaryDeliveryPolicy = null, DeliveryPolicy<(TSecondaryItem1, TSecondaryItem2)> secondaryDeliveryPolicy = null, string name = null)
Parameters
Type | Name | Description |
---|---|---|
IProducer<TPrimary> | primary | Primary stream. |
IProducer<System. |
secondary | Secondary stream of tuples (arity 2). |
Relative |
relativeTimeInterval | Relative time interval tolerance. |
Delivery |
primaryDeliveryPolicy | An optional delivery policy for the primary stream. |
Delivery |
secondaryDeliveryPolicy | An optional delivery policy for the secondary stream(s). |
System. |
name | An optional name for the stream operator. |
Returns
Type | Description |
---|---|
IProducer<System. |
Stream of joined tuple values flattened to arity 3. |
Type Parameters
Name | Description |
---|---|
TPrimary | Type of primary messages. |
TSecondaryItem1 | Type of item 1 of secondary messages. |
TSecondaryItem2 | Type of item 2 of secondary messages. |
Remarks
Uses the Nearest<T>(RelativeTimeInterval) interpolator.
Join<TPrimary, TSecondaryItem1, TSecondaryItem2>(IProducer<TPrimary>, IProducer<(TSecondaryItem1, TSecondaryItem2)>, ReproducibleInterpolator<(TSecondaryItem1, TSecondaryItem2)>, DeliveryPolicy<TPrimary>, DeliveryPolicy<(TSecondaryItem1, TSecondaryItem2)>, String)
Join with values from a secondary stream based on a specified reproducible interpolator.
Declaration
public static IProducer<(TPrimary, TSecondaryItem1, TSecondaryItem2)> Join<TPrimary, TSecondaryItem1, TSecondaryItem2>(this IProducer<TPrimary> primary, IProducer<(TSecondaryItem1, TSecondaryItem2)> secondary, ReproducibleInterpolator<(TSecondaryItem1, TSecondaryItem2)> interpolator, DeliveryPolicy<TPrimary> primaryDeliveryPolicy = null, DeliveryPolicy<(TSecondaryItem1, TSecondaryItem2)> secondaryDeliveryPolicy = null, string name = null)
Parameters
Type | Name | Description |
---|---|---|
IProducer<TPrimary> | primary | Primary stream. |
IProducer<System. |
secondary | Secondary stream of tuples (arity 2). |
Reproducible |
interpolator | Reproducible interpolator to use when joining the streams. |
Delivery |
primaryDeliveryPolicy | An optional delivery policy for the primary stream. |
Delivery |
secondaryDeliveryPolicy | An optional delivery policy for the secondary stream(s). |
System. |
name | An optional name for the stream operator. |
Returns
Type | Description |
---|---|
IProducer<System. |
Stream of joined tuple values flattened to arity 3. |
Type Parameters
Name | Description |
---|---|
TPrimary | Type of primary messages. |
TSecondaryItem1 | Type of item 1 of secondary messages. |
TSecondaryItem2 | Type of item 2 of secondary messages. |
Join<TPrimary, TSecondaryItem1, TSecondaryItem2>(IProducer<TPrimary>, IProducer<(TSecondaryItem1, TSecondaryItem2)>, TimeSpan, DeliveryPolicy<TPrimary>, DeliveryPolicy<(TSecondaryItem1, TSecondaryItem2)>, String)
Join with the nearest values from a secondary stream, within a specified time tolerance.
Declaration
public static IProducer<(TPrimary, TSecondaryItem1, TSecondaryItem2)> Join<TPrimary, TSecondaryItem1, TSecondaryItem2>(this IProducer<TPrimary> primary, IProducer<(TSecondaryItem1, TSecondaryItem2)> secondary, TimeSpan tolerance, DeliveryPolicy<TPrimary> primaryDeliveryPolicy = null, DeliveryPolicy<(TSecondaryItem1, TSecondaryItem2)> secondaryDeliveryPolicy = null, string name = null)
Parameters
Type | Name | Description |
---|---|---|
IProducer<TPrimary> | primary | Primary stream. |
IProducer<System. |
secondary | Secondary stream of tuples (arity 2). |
Time |
tolerance | Time tolerance. |
Delivery |
primaryDeliveryPolicy | An optional delivery policy for the primary stream. |
Delivery |
secondaryDeliveryPolicy | An optional delivery policy for the secondary stream(s). |
System. |
name | An optional name for the stream operator. |
Returns
Type | Description |
---|---|
IProducer<System. |
Stream of joined tuple values flattened to arity 3. |
Type Parameters
Name | Description |
---|---|
TPrimary | Type of primary messages. |
TSecondaryItem1 | Type of item 1 of secondary messages. |
TSecondaryItem2 | Type of item 2 of secondary messages. |
Remarks
Uses the Nearest<T>(RelativeTimeInterval) interpolator.
Join<TPrimaryItem1, TPrimaryItem2, TSecondary>(IProducer<(TPrimaryItem1, TPrimaryItem2)>, IProducer<TSecondary>, DeliveryPolicy<(TPrimaryItem1, TPrimaryItem2)>, DeliveryPolicy<TSecondary>, String)
Join with values with the same originating time from a secondary stream.
Declaration
public static IProducer<(TPrimaryItem1, TPrimaryItem2, TSecondary)> Join<TPrimaryItem1, TPrimaryItem2, TSecondary>(this IProducer<(TPrimaryItem1, TPrimaryItem2)> primary, IProducer<TSecondary> secondary, DeliveryPolicy<(TPrimaryItem1, TPrimaryItem2)> primaryDeliveryPolicy = null, DeliveryPolicy<TSecondary> secondaryDeliveryPolicy = null, string name = null)
Parameters
Type | Name | Description |
---|---|---|
IProducer<System. |
primary | Primary stream of tuples (arity 2). |
IProducer<TSecondary> | secondary | Secondary stream. |
Delivery |
primaryDeliveryPolicy | An optional delivery policy for the primary stream. |
Delivery |
secondaryDeliveryPolicy | An optional delivery policy for the secondary stream(s). |
System. |
name | An optional name for the stream operator. |
Returns
Type | Description |
---|---|
IProducer<System. |
Stream of joined tuple values flattened to arity 3. |
Type Parameters
Name | Description |
---|---|
TPrimaryItem1 | Type of item 1 of primary messages. |
TPrimaryItem2 | Type of item 2 of primary messages. |
TSecondary | Type of secondary messages. |
Remarks
Uses the Exact<T>() interpolator.
Join<TPrimaryItem1, TPrimaryItem2, TSecondary>(IProducer<(TPrimaryItem1, TPrimaryItem2)>, IProducer<TSecondary>, RelativeTimeInterval, DeliveryPolicy<(TPrimaryItem1, TPrimaryItem2)>, DeliveryPolicy<TSecondary>, String)
Join with the nearest values from a secondary stream, within a specified relative time interval.
Declaration
public static IProducer<(TPrimaryItem1, TPrimaryItem2, TSecondary)> Join<TPrimaryItem1, TPrimaryItem2, TSecondary>(this IProducer<(TPrimaryItem1, TPrimaryItem2)> primary, IProducer<TSecondary> secondary, RelativeTimeInterval relativeTimeInterval, DeliveryPolicy<(TPrimaryItem1, TPrimaryItem2)> primaryDeliveryPolicy = null, DeliveryPolicy<TSecondary> secondaryDeliveryPolicy = null, string name = null)
Parameters
Type | Name | Description |
---|---|---|
IProducer<System. |
primary | Primary stream of tuples (arity 2). |
IProducer<TSecondary> | secondary | Secondary stream. |
Relative |
relativeTimeInterval | Relative time interval tolerance. |
Delivery |
primaryDeliveryPolicy | An optional delivery policy for the primary stream. |
Delivery |
secondaryDeliveryPolicy | An optional delivery policy for the secondary stream(s). |
System. |
name | An optional name for the stream operator. |
Returns
Type | Description |
---|---|
IProducer<System. |
Stream of joined tuple values flattened to arity 3. |
Type Parameters
Name | Description |
---|---|
TPrimaryItem1 | Type of item 1 of primary messages. |
TPrimaryItem2 | Type of item 2 of primary messages. |
TSecondary | Type of secondary messages. |
Remarks
Uses the Nearest<T>(RelativeTimeInterval) interpolator.
Join<TPrimaryItem1, TPrimaryItem2, TSecondary>(IProducer<(TPrimaryItem1, TPrimaryItem2)>, IProducer<TSecondary>, ReproducibleInterpolator<TSecondary>, DeliveryPolicy<(TPrimaryItem1, TPrimaryItem2)>, DeliveryPolicy<TSecondary>, String)
Join with values from a secondary stream based on a specified reproducible interpolator.
Declaration
public static IProducer<(TPrimaryItem1, TPrimaryItem2, TSecondary)> Join<TPrimaryItem1, TPrimaryItem2, TSecondary>(this IProducer<(TPrimaryItem1, TPrimaryItem2)> primary, IProducer<TSecondary> secondary, ReproducibleInterpolator<TSecondary> interpolator, DeliveryPolicy<(TPrimaryItem1, TPrimaryItem2)> primaryDeliveryPolicy = null, DeliveryPolicy<TSecondary> secondaryDeliveryPolicy = null, string name = null)
Parameters
Type | Name | Description |
---|---|---|
IProducer<System. |
primary | Primary stream of tuples (arity 2). |
IProducer<TSecondary> | secondary | Secondary stream. |
Reproducible |
interpolator | Reproducible interpolator to use when joining the streams. |
Delivery |
primaryDeliveryPolicy | An optional delivery policy for the primary stream. |
Delivery |
secondaryDeliveryPolicy | An optional delivery policy for the secondary stream(s). |
System. |
name | An optional name for the stream operator. |
Returns
Type | Description |
---|---|
IProducer<System. |
Stream of joined tuple values flattened to arity 3. |
Type Parameters
Name | Description |
---|---|
TPrimaryItem1 | Type of item 1 of primary messages. |
TPrimaryItem2 | Type of item 2 of primary messages. |
TSecondary | Type of secondary messages. |
Join<TPrimaryItem1, TPrimaryItem2, TSecondary>(IProducer<(TPrimaryItem1, TPrimaryItem2)>, IProducer<TSecondary>, TimeSpan, DeliveryPolicy<(TPrimaryItem1, TPrimaryItem2)>, DeliveryPolicy<TSecondary>, String)
Join with the nearest values from a secondary stream, within a specified time tolerance.
Declaration
public static IProducer<(TPrimaryItem1, TPrimaryItem2, TSecondary)> Join<TPrimaryItem1, TPrimaryItem2, TSecondary>(this IProducer<(TPrimaryItem1, TPrimaryItem2)> primary, IProducer<TSecondary> secondary, TimeSpan tolerance, DeliveryPolicy<(TPrimaryItem1, TPrimaryItem2)> primaryDeliveryPolicy = null, DeliveryPolicy<TSecondary> secondaryDeliveryPolicy = null, string name = null)
Parameters
Type | Name | Description |
---|---|---|
IProducer<System. |
primary | Primary stream of tuples (arity 2). |
IProducer<TSecondary> | secondary | Secondary stream. |
Time |
tolerance | Time tolerance. |
Delivery |
primaryDeliveryPolicy | An optional delivery policy for the primary stream. |
Delivery |
secondaryDeliveryPolicy | An optional delivery policy for the secondary stream(s). |
System. |
name | An optional name for the stream operator. |
Returns
Type | Description |
---|---|
IProducer<System. |
Stream of joined tuple values flattened to arity 3. |
Type Parameters
Name | Description |
---|---|
TPrimaryItem1 | Type of item 1 of primary messages. |
TPrimaryItem2 | Type of item 2 of primary messages. |
TSecondary | Type of secondary messages. |
Remarks
Uses the Nearest<T>(RelativeTimeInterval) interpolator.
Join<TPrimary, TSecondary, TInterpolation, TOut>(IProducer<TPrimary>, IEnumerable<IProducer<TSecondary>>, ReproducibleInterpolator<TSecondary, TInterpolation>, Func<TPrimary, TInterpolation[], TOut>, DeliveryPolicy<TPrimary>, DeliveryPolicy<TSecondary>, String)
Joins a primary stream with an enumeration of secondary streams based on a specified reproducible interpolator.
Declaration
public static IProducer<TOut> Join<TPrimary, TSecondary, TInterpolation, TOut>(this IProducer<TPrimary> primary, IEnumerable<IProducer<TSecondary>> secondaries, ReproducibleInterpolator<TSecondary, TInterpolation> interpolator, Func<TPrimary, TInterpolation[], TOut> outputCreator, DeliveryPolicy<TPrimary> primaryDeliveryPolicy = null, DeliveryPolicy<TSecondary> secondariesDeliveryPolicy = null, string name = null)
Parameters
Type | Name | Description |
---|---|---|
IProducer<TPrimary> | primary | Primary stream. |
IEnumerable<IProducer<TSecondary>> | secondaries | Enumeration of secondary streams. |
Reproducible |
interpolator | Reproducible interpolator to use when joining the streams. |
Func<TPrimary, TInterpolation[], TOut> | outputCreator | Mapping function from primary and secondary messages to output. |
Delivery |
primaryDeliveryPolicy | An optional delivery policy for the primary stream. |
Delivery |
secondariesDeliveryPolicy | An optional delivery policy for the secondary stream(s). |
System. |
name | An optional name for the stream operator. |
Returns
Type | Description |
---|---|
IProducer<TOut> | Output stream. |
Type Parameters
Name | Description |
---|---|
TPrimary | Type of primary stream messages. |
TSecondary | Type of secondary stream messages. |
TInterpolation | Type of the interpolation result. |
TOut | Type of output stream messages. |
Join<TPrimary, TSecondaryItem1, TSecondaryItem2, TSecondaryItem3>(IProducer<TPrimary>, IProducer<(TSecondaryItem1, TSecondaryItem2, TSecondaryItem3)>, DeliveryPolicy<TPrimary>, DeliveryPolicy<(TSecondaryItem1, TSecondaryItem2, TSecondaryItem3)>, String)
Join with values with the same originating time from a secondary stream.
Declaration
public static IProducer<(TPrimary, TSecondaryItem1, TSecondaryItem2, TSecondaryItem3)> Join<TPrimary, TSecondaryItem1, TSecondaryItem2, TSecondaryItem3>(this IProducer<TPrimary> primary, IProducer<(TSecondaryItem1, TSecondaryItem2, TSecondaryItem3)> secondary, DeliveryPolicy<TPrimary> primaryDeliveryPolicy = null, DeliveryPolicy<(TSecondaryItem1, TSecondaryItem2, TSecondaryItem3)> secondaryDeliveryPolicy = null, string name = null)
Parameters
Type | Name | Description |
---|---|---|
IProducer<TPrimary> | primary | Primary stream. |
IProducer<System. |
secondary | Secondary stream of tuples (arity 3). |
Delivery |
primaryDeliveryPolicy | An optional delivery policy for the primary stream. |
Delivery |
secondaryDeliveryPolicy | An optional delivery policy for the secondary stream(s). |
System. |
name | An optional name for the stream operator. |
Returns
Type | Description |
---|---|
IProducer<System. |
Stream of joined tuple values flattened to arity 4. |
Type Parameters
Name | Description |
---|---|
TPrimary | Type of primary messages. |
TSecondaryItem1 | Type of item 1 of secondary messages. |
TSecondaryItem2 | Type of item 2 of secondary messages. |
TSecondaryItem3 | Type of item 3 of secondary messages. |
Remarks
Uses the Exact<T>() interpolator.
Join<TPrimary, TSecondaryItem1, TSecondaryItem2, TSecondaryItem3>(IProducer<TPrimary>, IProducer<(TSecondaryItem1, TSecondaryItem2, TSecondaryItem3)>, RelativeTimeInterval, DeliveryPolicy<TPrimary>, DeliveryPolicy<(TSecondaryItem1, TSecondaryItem2, TSecondaryItem3)>, String)
Join with the nearest values from a secondary stream, within a specified relative time interval.
Declaration
public static IProducer<(TPrimary, TSecondaryItem1, TSecondaryItem2, TSecondaryItem3)> Join<TPrimary, TSecondaryItem1, TSecondaryItem2, TSecondaryItem3>(this IProducer<TPrimary> primary, IProducer<(TSecondaryItem1, TSecondaryItem2, TSecondaryItem3)> secondary, RelativeTimeInterval relativeTimeInterval, DeliveryPolicy<TPrimary> primaryDeliveryPolicy = null, DeliveryPolicy<(TSecondaryItem1, TSecondaryItem2, TSecondaryItem3)> secondaryDeliveryPolicy = null, string name = null)
Parameters
Type | Name | Description |
---|---|---|
IProducer<TPrimary> | primary | Primary stream. |
IProducer<System. |
secondary | Secondary stream of tuples (arity 3). |
Relative |
relativeTimeInterval | Relative time interval tolerance. |
Delivery |
primaryDeliveryPolicy | An optional delivery policy for the primary stream. |
Delivery |
secondaryDeliveryPolicy | An optional delivery policy for the secondary stream(s). |
System. |
name | An optional name for the stream operator. |
Returns
Type | Description |
---|---|
IProducer<System. |
Stream of joined tuple values flattened to arity 4. |
Type Parameters
Name | Description |
---|---|
TPrimary | Type of primary messages. |
TSecondaryItem1 | Type of item 1 of secondary messages. |
TSecondaryItem2 | Type of item 2 of secondary messages. |
TSecondaryItem3 | Type of item 3 of secondary messages. |
Remarks
Uses the Nearest<T>(RelativeTimeInterval) interpolator.
Join<TPrimary, TSecondaryItem1, TSecondaryItem2, TSecondaryItem3>(IProducer<TPrimary>, IProducer<(TSecondaryItem1, TSecondaryItem2, TSecondaryItem3)>, ReproducibleInterpolator<(TSecondaryItem1, TSecondaryItem2, TSecondaryItem3)>, DeliveryPolicy<TPrimary>, DeliveryPolicy<(TSecondaryItem1, TSecondaryItem2, TSecondaryItem3)>, String)
Join with values from a secondary stream based on a specified reproducible interpolator.
Declaration
public static IProducer<(TPrimary, TSecondaryItem1, TSecondaryItem2, TSecondaryItem3)> Join<TPrimary, TSecondaryItem1, TSecondaryItem2, TSecondaryItem3>(this IProducer<TPrimary> primary, IProducer<(TSecondaryItem1, TSecondaryItem2, TSecondaryItem3)> secondary, ReproducibleInterpolator<(TSecondaryItem1, TSecondaryItem2, TSecondaryItem3)> interpolator, DeliveryPolicy<TPrimary> primaryDeliveryPolicy = null, DeliveryPolicy<(TSecondaryItem1, TSecondaryItem2, TSecondaryItem3)> secondaryDeliveryPolicy = null, string name = null)
Parameters
Type | Name | Description |
---|---|---|
IProducer<TPrimary> | primary | Primary stream. |
IProducer<System. |
secondary | Secondary stream of tuples (arity 3). |
Reproducible |
interpolator | Reproducible interpolator to use when joining the streams. |
Delivery |
primaryDeliveryPolicy | An optional delivery policy for the primary stream. |
Delivery |
secondaryDeliveryPolicy | An optional delivery policy for the secondary stream(s). |
System. |
name | An optional name for the stream operator. |
Returns
Type | Description |
---|---|
IProducer<System. |
Stream of joined tuple values flattened to arity 4. |
Type Parameters
Name | Description |
---|---|
TPrimary | Type of primary messages. |
TSecondaryItem1 | Type of item 1 of secondary messages. |
TSecondaryItem2 | Type of item 2 of secondary messages. |
TSecondaryItem3 | Type of item 3 of secondary messages. |
Join<TPrimary, TSecondaryItem1, TSecondaryItem2, TSecondaryItem3>(IProducer<TPrimary>, IProducer<(TSecondaryItem1, TSecondaryItem2, TSecondaryItem3)>, TimeSpan, DeliveryPolicy<TPrimary>, DeliveryPolicy<(TSecondaryItem1, TSecondaryItem2, TSecondaryItem3)>, String)
Join with the nearest values from a secondary stream, within a specified time tolerance.
Declaration
public static IProducer<(TPrimary, TSecondaryItem1, TSecondaryItem2, TSecondaryItem3)> Join<TPrimary, TSecondaryItem1, TSecondaryItem2, TSecondaryItem3>(this IProducer<TPrimary> primary, IProducer<(TSecondaryItem1, TSecondaryItem2, TSecondaryItem3)> secondary, TimeSpan tolerance, DeliveryPolicy<TPrimary> primaryDeliveryPolicy = null, DeliveryPolicy<(TSecondaryItem1, TSecondaryItem2, TSecondaryItem3)> secondaryDeliveryPolicy = null, string name = null)
Parameters
Type | Name | Description |
---|---|---|
IProducer<TPrimary> | primary | Primary stream. |
IProducer<System. |
secondary | Secondary stream of tuples (arity 3). |
Time |
tolerance | Time tolerance. |
Delivery |
primaryDeliveryPolicy | An optional delivery policy for the primary stream. |
Delivery |
secondaryDeliveryPolicy | An optional delivery policy for the secondary stream(s). |
System. |
name | An optional name for the stream operator. |
Returns
Type | Description |
---|---|
IProducer<System. |
Stream of joined tuple values flattened to arity 4. |
Type Parameters
Name | Description |
---|---|
TPrimary | Type of primary messages. |
TSecondaryItem1 | Type of item 1 of secondary messages. |
TSecondaryItem2 | Type of item 2 of secondary messages. |
TSecondaryItem3 | Type of item 3 of secondary messages. |
Remarks
Uses the Nearest<T>(RelativeTimeInterval) interpolator.
Join<TPrimaryItem1, TPrimaryItem2, TPrimaryItem3, TSecondary>(IProducer<(TPrimaryItem1, TPrimaryItem2, TPrimaryItem3)>, IProducer<TSecondary>, DeliveryPolicy<(TPrimaryItem1, TPrimaryItem2, TPrimaryItem3)>, DeliveryPolicy<TSecondary>, String)
Join with values with the same originating time from a secondary stream.
Declaration
public static IProducer<(TPrimaryItem1, TPrimaryItem2, TPrimaryItem3, TSecondary)> Join<TPrimaryItem1, TPrimaryItem2, TPrimaryItem3, TSecondary>(this IProducer<(TPrimaryItem1, TPrimaryItem2, TPrimaryItem3)> primary, IProducer<TSecondary> secondary, DeliveryPolicy<(TPrimaryItem1, TPrimaryItem2, TPrimaryItem3)> primaryDeliveryPolicy = null, DeliveryPolicy<TSecondary> secondaryDeliveryPolicy = null, string name = null)
Parameters
Type | Name | Description |
---|---|---|
IProducer<System. |
primary | Primary stream of tuples (arity 3). |
IProducer<TSecondary> | secondary | Secondary stream. |
Delivery |
primaryDeliveryPolicy | An optional delivery policy for the primary stream. |
Delivery |
secondaryDeliveryPolicy | An optional delivery policy for the secondary stream(s). |
System. |
name | An optional name for the stream operator. |
Returns
Type | Description |
---|---|
IProducer<System. |
Stream of joined tuple values flattened to arity 4. |
Type Parameters
Name | Description |
---|---|
TPrimaryItem1 | Type of item 1 of primary messages. |
TPrimaryItem2 | Type of item 2 of primary messages. |
TPrimaryItem3 | Type of item 3 of primary messages. |
TSecondary | Type of secondary messages. |
Remarks
Uses the Exact<T>() interpolator.
Join<TPrimaryItem1, TPrimaryItem2, TPrimaryItem3, TSecondary>(IProducer<(TPrimaryItem1, TPrimaryItem2, TPrimaryItem3)>, IProducer<TSecondary>, RelativeTimeInterval, DeliveryPolicy<(TPrimaryItem1, TPrimaryItem2, TPrimaryItem3)>, DeliveryPolicy<TSecondary>, String)
Join with the nearest values from a secondary stream, within a specified relative time interval.
Declaration
public static IProducer<(TPrimaryItem1, TPrimaryItem2, TPrimaryItem3, TSecondary)> Join<TPrimaryItem1, TPrimaryItem2, TPrimaryItem3, TSecondary>(this IProducer<(TPrimaryItem1, TPrimaryItem2, TPrimaryItem3)> primary, IProducer<TSecondary> secondary, RelativeTimeInterval relativeTimeInterval, DeliveryPolicy<(TPrimaryItem1, TPrimaryItem2, TPrimaryItem3)> primaryDeliveryPolicy = null, DeliveryPolicy<TSecondary> secondaryDeliveryPolicy = null, string name = null)
Parameters
Type | Name | Description |
---|---|---|
IProducer<System. |
primary | Primary stream of tuples (arity 3). |
IProducer<TSecondary> | secondary | Secondary stream. |
Relative |
relativeTimeInterval | Relative time interval tolerance. |
Delivery |
primaryDeliveryPolicy | An optional delivery policy for the primary stream. |
Delivery |
secondaryDeliveryPolicy | An optional delivery policy for the secondary stream(s). |
System. |
name | An optional name for the stream operator. |
Returns
Type | Description |
---|---|
IProducer<System. |
Stream of joined tuple values flattened to arity 4. |
Type Parameters
Name | Description |
---|---|
TPrimaryItem1 | Type of item 1 of primary messages. |
TPrimaryItem2 | Type of item 2 of primary messages. |
TPrimaryItem3 | Type of item 3 of primary messages. |
TSecondary | Type of secondary messages. |
Remarks
Uses the Nearest<T>(RelativeTimeInterval) interpolator.
Join<TPrimaryItem1, TPrimaryItem2, TPrimaryItem3, TSecondary>(IProducer<(TPrimaryItem1, TPrimaryItem2, TPrimaryItem3)>, IProducer<TSecondary>, ReproducibleInterpolator<TSecondary>, DeliveryPolicy<(TPrimaryItem1, TPrimaryItem2, TPrimaryItem3)>, DeliveryPolicy<TSecondary>, String)
Join with values from a secondary stream based on a specified reproducible interpolator.
Declaration
public static IProducer<(TPrimaryItem1, TPrimaryItem2, TPrimaryItem3, TSecondary)> Join<TPrimaryItem1, TPrimaryItem2, TPrimaryItem3, TSecondary>(this IProducer<(TPrimaryItem1, TPrimaryItem2, TPrimaryItem3)> primary, IProducer<TSecondary> secondary, ReproducibleInterpolator<TSecondary> interpolator, DeliveryPolicy<(TPrimaryItem1, TPrimaryItem2, TPrimaryItem3)> primaryDeliveryPolicy = null, DeliveryPolicy<TSecondary> secondaryDeliveryPolicy = null, string name = null)
Parameters
Type | Name | Description |
---|---|---|
IProducer<System. |
primary | Primary stream of tuples (arity 3). |
IProducer<TSecondary> | secondary | Secondary stream. |
Reproducible |
interpolator | Reproducible interpolator to use when joining the streams. |
Delivery |
primaryDeliveryPolicy | An optional delivery policy for the primary stream. |
Delivery |
secondaryDeliveryPolicy | An optional delivery policy for the secondary stream(s). |
System. |
name | An optional name for the stream operator. |
Returns
Type | Description |
---|---|
IProducer<System. |
Stream of joined tuple values flattened to arity 4. |
Type Parameters
Name | Description |
---|---|
TPrimaryItem1 | Type of item 1 of primary messages. |
TPrimaryItem2 | Type of item 2 of primary messages. |
TPrimaryItem3 | Type of item 3 of primary messages. |
TSecondary | Type of secondary messages. |
Join<TPrimaryItem1, TPrimaryItem2, TPrimaryItem3, TSecondary>(IProducer<(TPrimaryItem1, TPrimaryItem2, TPrimaryItem3)>, IProducer<TSecondary>, TimeSpan, DeliveryPolicy<(TPrimaryItem1, TPrimaryItem2, TPrimaryItem3)>, DeliveryPolicy<TSecondary>, String)
Join with the nearest values from a secondary stream, within a specified time tolerance.
Declaration
public static IProducer<(TPrimaryItem1, TPrimaryItem2, TPrimaryItem3, TSecondary)> Join<TPrimaryItem1, TPrimaryItem2, TPrimaryItem3, TSecondary>(this IProducer<(TPrimaryItem1, TPrimaryItem2, TPrimaryItem3)> primary, IProducer<TSecondary> secondary, TimeSpan tolerance, DeliveryPolicy<(TPrimaryItem1, TPrimaryItem2, TPrimaryItem3)> primaryDeliveryPolicy = null, DeliveryPolicy<TSecondary> secondaryDeliveryPolicy = null, string name = null)
Parameters
Type | Name | Description |
---|---|---|
IProducer<System. |
primary | Primary stream of tuples (arity 3). |
IProducer<TSecondary> | secondary | Secondary stream. |
Time |
tolerance | Time tolerance. |
Delivery |
primaryDeliveryPolicy | An optional delivery policy for the primary stream. |
Delivery |
secondaryDeliveryPolicy | An optional delivery policy for the secondary stream(s). |
System. |
name | An optional name for the stream operator. |
Returns
Type | Description |
---|---|
IProducer<System. |
Stream of joined tuple values flattened to arity 4. |
Type Parameters
Name | Description |
---|---|
TPrimaryItem1 | Type of item 1 of primary messages. |
TPrimaryItem2 | Type of item 2 of primary messages. |
TPrimaryItem3 | Type of item 3 of primary messages. |
TSecondary | Type of secondary messages. |
Remarks
Uses the Nearest<T>(RelativeTimeInterval) interpolator.
Join<TPrimary, TSecondaryItem1, TSecondaryItem2, TSecondaryItem3, TSecondaryItem4>(IProducer<TPrimary>, IProducer<(TSecondaryItem1, TSecondaryItem2, TSecondaryItem3, TSecondaryItem4)>, DeliveryPolicy<TPrimary>, DeliveryPolicy<(TSecondaryItem1, TSecondaryItem2, TSecondaryItem3, TSecondaryItem4)>, String)
Join with values with the same originating time from a secondary stream.
Declaration
public static IProducer<(TPrimary, TSecondaryItem1, TSecondaryItem2, TSecondaryItem3, TSecondaryItem4)> Join<TPrimary, TSecondaryItem1, TSecondaryItem2, TSecondaryItem3, TSecondaryItem4>(this IProducer<TPrimary> primary, IProducer<(TSecondaryItem1, TSecondaryItem2, TSecondaryItem3, TSecondaryItem4)> secondary, DeliveryPolicy<TPrimary> primaryDeliveryPolicy = null, DeliveryPolicy<(TSecondaryItem1, TSecondaryItem2, TSecondaryItem3, TSecondaryItem4)> secondaryDeliveryPolicy = null, string name = null)
Parameters
Type | Name | Description |
---|---|---|
IProducer<TPrimary> | primary | Primary stream. |
IProducer<System. |
secondary | Secondary stream of tuples (arity 4). |
Delivery |
primaryDeliveryPolicy | An optional delivery policy for the primary stream. |
Delivery |
secondaryDeliveryPolicy | An optional delivery policy for the secondary stream(s). |
System. |
name | An optional name for the stream operator. |
Returns
Type | Description |
---|---|
IProducer<System. |
Stream of joined tuple values flattened to arity 5. |
Type Parameters
Name | Description |
---|---|
TPrimary | Type of primary messages. |
TSecondaryItem1 | Type of item 1 of secondary messages. |
TSecondaryItem2 | Type of item 2 of secondary messages. |
TSecondaryItem3 | Type of item 3 of secondary messages. |
TSecondaryItem4 | Type of item 4 of secondary messages. |
Remarks
Uses the Exact<T>() interpolator.
Join<TPrimary, TSecondaryItem1, TSecondaryItem2, TSecondaryItem3, TSecondaryItem4>(IProducer<TPrimary>, IProducer<(TSecondaryItem1, TSecondaryItem2, TSecondaryItem3, TSecondaryItem4)>, RelativeTimeInterval, DeliveryPolicy<TPrimary>, DeliveryPolicy<(TSecondaryItem1, TSecondaryItem2, TSecondaryItem3, TSecondaryItem4)>, String)
Join with the nearest values from a secondary stream, within a specified relative time interval.
Declaration
public static IProducer<(TPrimary, TSecondaryItem1, TSecondaryItem2, TSecondaryItem3, TSecondaryItem4)> Join<TPrimary, TSecondaryItem1, TSecondaryItem2, TSecondaryItem3, TSecondaryItem4>(this IProducer<TPrimary> primary, IProducer<(TSecondaryItem1, TSecondaryItem2, TSecondaryItem3, TSecondaryItem4)> secondary, RelativeTimeInterval relativeTimeInterval, DeliveryPolicy<TPrimary> primaryDeliveryPolicy = null, DeliveryPolicy<(TSecondaryItem1, TSecondaryItem2, TSecondaryItem3, TSecondaryItem4)> secondaryDeliveryPolicy = null, string name = null)
Parameters
Type | Name | Description |
---|---|---|
IProducer<TPrimary> | primary | Primary stream. |
IProducer<System. |
secondary | Secondary stream of tuples (arity 4). |
Relative |
relativeTimeInterval | Relative time interval tolerance. |
Delivery |
primaryDeliveryPolicy | An optional delivery policy for the primary stream. |
Delivery |
secondaryDeliveryPolicy | An optional delivery policy for the secondary stream(s). |
System. |
name | An optional name for the stream operator. |
Returns
Type | Description |
---|---|
IProducer<System. |
Stream of joined tuple values flattened to arity 5. |
Type Parameters
Name | Description |
---|---|
TPrimary | Type of primary messages. |
TSecondaryItem1 | Type of item 1 of secondary messages. |
TSecondaryItem2 | Type of item 2 of secondary messages. |
TSecondaryItem3 | Type of item 3 of secondary messages. |
TSecondaryItem4 | Type of item 4 of secondary messages. |
Remarks
Uses the Nearest<T>(RelativeTimeInterval) interpolator.
Join<TPrimary, TSecondaryItem1, TSecondaryItem2, TSecondaryItem3, TSecondaryItem4>(IProducer<TPrimary>, IProducer<(TSecondaryItem1, TSecondaryItem2, TSecondaryItem3, TSecondaryItem4)>, ReproducibleInterpolator<(TSecondaryItem1, TSecondaryItem2, TSecondaryItem3, TSecondaryItem4)>, DeliveryPolicy<TPrimary>, DeliveryPolicy<(TSecondaryItem1, TSecondaryItem2, TSecondaryItem3, TSecondaryItem4)>, String)
Join with values from a secondary stream based on a specified reproducible interpolator.
Declaration
public static IProducer<(TPrimary, TSecondaryItem1, TSecondaryItem2, TSecondaryItem3, TSecondaryItem4)> Join<TPrimary, TSecondaryItem1, TSecondaryItem2, TSecondaryItem3, TSecondaryItem4>(this IProducer<TPrimary> primary, IProducer<(TSecondaryItem1, TSecondaryItem2, TSecondaryItem3, TSecondaryItem4)> secondary, ReproducibleInterpolator<(TSecondaryItem1, TSecondaryItem2, TSecondaryItem3, TSecondaryItem4)> interpolator, DeliveryPolicy<TPrimary> primaryDeliveryPolicy = null, DeliveryPolicy<(TSecondaryItem1, TSecondaryItem2, TSecondaryItem3, TSecondaryItem4)> secondaryDeliveryPolicy = null, string name = null)
Parameters
Type | Name | Description |
---|---|---|
IProducer<TPrimary> | primary | Primary stream. |
IProducer<System. |
secondary | Secondary stream of tuples (arity 4). |
Reproducible |
interpolator | Reproducible interpolator to use when joining the streams. |
Delivery |
primaryDeliveryPolicy | An optional delivery policy for the primary stream. |
Delivery |
secondaryDeliveryPolicy | An optional delivery policy for the secondary stream(s). |
System. |
name | An optional name for the stream operator. |
Returns
Type | Description |
---|---|
IProducer<System. |
Stream of joined tuple values flattened to arity 5. |
Type Parameters
Name | Description |
---|---|
TPrimary | Type of primary messages. |
TSecondaryItem1 | Type of item 1 of secondary messages. |
TSecondaryItem2 | Type of item 2 of secondary messages. |
TSecondaryItem3 | Type of item 3 of secondary messages. |
TSecondaryItem4 | Type of item 4 of secondary messages. |
Join<TPrimary, TSecondaryItem1, TSecondaryItem2, TSecondaryItem3, TSecondaryItem4>(IProducer<TPrimary>, IProducer<(TSecondaryItem1, TSecondaryItem2, TSecondaryItem3, TSecondaryItem4)>, TimeSpan, DeliveryPolicy<TPrimary>, DeliveryPolicy<(TSecondaryItem1, TSecondaryItem2, TSecondaryItem3, TSecondaryItem4)>, String)
Join with the nearest values from a secondary stream, within a specified time tolerance.
Declaration
public static IProducer<(TPrimary, TSecondaryItem1, TSecondaryItem2, TSecondaryItem3, TSecondaryItem4)> Join<TPrimary, TSecondaryItem1, TSecondaryItem2, TSecondaryItem3, TSecondaryItem4>(this IProducer<TPrimary> primary, IProducer<(TSecondaryItem1, TSecondaryItem2, TSecondaryItem3, TSecondaryItem4)> secondary, TimeSpan tolerance, DeliveryPolicy<TPrimary> primaryDeliveryPolicy = null, DeliveryPolicy<(TSecondaryItem1, TSecondaryItem2, TSecondaryItem3, TSecondaryItem4)> secondaryDeliveryPolicy = null, string name = null)
Parameters
Type | Name | Description |
---|---|---|
IProducer<TPrimary> | primary | Primary stream. |
IProducer<System. |
secondary | Secondary stream of tuples (arity 4). |
Time |
tolerance | Time tolerance. |
Delivery |
primaryDeliveryPolicy | An optional delivery policy for the primary stream. |
Delivery |
secondaryDeliveryPolicy | An optional delivery policy for the secondary stream(s). |
System. |
name | An optional name for the stream operator. |
Returns
Type | Description |
---|---|
IProducer<System. |
Stream of joined tuple values flattened to arity 5. |
Type Parameters
Name | Description |
---|---|
TPrimary | Type of primary messages. |
TSecondaryItem1 | Type of item 1 of secondary messages. |
TSecondaryItem2 | Type of item 2 of secondary messages. |
TSecondaryItem3 | Type of item 3 of secondary messages. |
TSecondaryItem4 | Type of item 4 of secondary messages. |
Remarks
Uses the Nearest<T>(RelativeTimeInterval) interpolator.
Join<TPrimaryItem1, TPrimaryItem2, TPrimaryItem3, TPrimaryItem4, TSecondary>(IProducer<(TPrimaryItem1, TPrimaryItem2, TPrimaryItem3, TPrimaryItem4)>, IProducer<TSecondary>, DeliveryPolicy<(TPrimaryItem1, TPrimaryItem2, TPrimaryItem3, TPrimaryItem4)>, DeliveryPolicy<TSecondary>, String)
Join with values with the same originating time from a secondary stream.
Declaration
public static IProducer<(TPrimaryItem1, TPrimaryItem2, TPrimaryItem3, TPrimaryItem4, TSecondary)> Join<TPrimaryItem1, TPrimaryItem2, TPrimaryItem3, TPrimaryItem4, TSecondary>(this IProducer<(TPrimaryItem1, TPrimaryItem2, TPrimaryItem3, TPrimaryItem4)> primary, IProducer<TSecondary> secondary, DeliveryPolicy<(TPrimaryItem1, TPrimaryItem2, TPrimaryItem3, TPrimaryItem4)> primaryDeliveryPolicy = null, DeliveryPolicy<TSecondary> secondaryDeliveryPolicy = null, string name = null)
Parameters
Type | Name | Description |
---|---|---|
IProducer<System. |
primary | Primary stream of tuples (arity 4). |
IProducer<TSecondary> | secondary | Secondary stream. |
Delivery |
primaryDeliveryPolicy | An optional delivery policy for the primary stream. |
Delivery |
secondaryDeliveryPolicy | An optional delivery policy for the secondary stream(s). |
System. |
name | An optional name for the stream operator. |
Returns
Type | Description |
---|---|
IProducer<System. |
Stream of joined tuple values flattened to arity 5. |
Type Parameters
Name | Description |
---|---|
TPrimaryItem1 | Type of item 1 of primary messages. |
TPrimaryItem2 | Type of item 2 of primary messages. |
TPrimaryItem3 | Type of item 3 of primary messages. |
TPrimaryItem4 | Type of item 4 of primary messages. |
TSecondary | Type of secondary messages. |
Remarks
Uses the Exact<T>() interpolator.
Join<TPrimaryItem1, TPrimaryItem2, TPrimaryItem3, TPrimaryItem4, TSecondary>(IProducer<(TPrimaryItem1, TPrimaryItem2, TPrimaryItem3, TPrimaryItem4)>, IProducer<TSecondary>, RelativeTimeInterval, DeliveryPolicy<(TPrimaryItem1, TPrimaryItem2, TPrimaryItem3, TPrimaryItem4)>, DeliveryPolicy<TSecondary>, String)
Join with the nearest values from a secondary stream, within a specified relative time interval.
Declaration
public static IProducer<(TPrimaryItem1, TPrimaryItem2, TPrimaryItem3, TPrimaryItem4, TSecondary)> Join<TPrimaryItem1, TPrimaryItem2, TPrimaryItem3, TPrimaryItem4, TSecondary>(this IProducer<(TPrimaryItem1, TPrimaryItem2, TPrimaryItem3, TPrimaryItem4)> primary, IProducer<TSecondary> secondary, RelativeTimeInterval relativeTimeInterval, DeliveryPolicy<(TPrimaryItem1, TPrimaryItem2, TPrimaryItem3, TPrimaryItem4)> primaryDeliveryPolicy = null, DeliveryPolicy<TSecondary> secondaryDeliveryPolicy = null, string name = null)
Parameters
Type | Name | Description |
---|---|---|
IProducer<System. |
primary | Primary stream of tuples (arity 4). |
IProducer<TSecondary> | secondary | Secondary stream. |
Relative |
relativeTimeInterval | Relative time interval tolerance. |
Delivery |
primaryDeliveryPolicy | An optional delivery policy for the primary stream. |
Delivery |
secondaryDeliveryPolicy | An optional delivery policy for the secondary stream(s). |
System. |
name | An optional name for the stream operator. |
Returns
Type | Description |
---|---|
IProducer<System. |
Stream of joined tuple values flattened to arity 5. |
Type Parameters
Name | Description |
---|---|
TPrimaryItem1 | Type of item 1 of primary messages. |
TPrimaryItem2 | Type of item 2 of primary messages. |
TPrimaryItem3 | Type of item 3 of primary messages. |
TPrimaryItem4 | Type of item 4 of primary messages. |
TSecondary | Type of secondary messages. |
Remarks
Uses the Nearest<T>(RelativeTimeInterval) interpolator.
Join<TPrimaryItem1, TPrimaryItem2, TPrimaryItem3, TPrimaryItem4, TSecondary>(IProducer<(TPrimaryItem1, TPrimaryItem2, TPrimaryItem3, TPrimaryItem4)>, IProducer<TSecondary>, ReproducibleInterpolator<TSecondary>, DeliveryPolicy<(TPrimaryItem1, TPrimaryItem2, TPrimaryItem3, TPrimaryItem4)>, DeliveryPolicy<TSecondary>, String)
Join with values from a secondary stream based on a specified reproducible interpolator.
Declaration
public static IProducer<(TPrimaryItem1, TPrimaryItem2, TPrimaryItem3, TPrimaryItem4, TSecondary)> Join<TPrimaryItem1, TPrimaryItem2, TPrimaryItem3, TPrimaryItem4, TSecondary>(this IProducer<(TPrimaryItem1, TPrimaryItem2, TPrimaryItem3, TPrimaryItem4)> primary, IProducer<TSecondary> secondary, ReproducibleInterpolator<TSecondary> interpolator, DeliveryPolicy<(TPrimaryItem1, TPrimaryItem2, TPrimaryItem3, TPrimaryItem4)> primaryDeliveryPolicy = null, DeliveryPolicy<TSecondary> secondaryDeliveryPolicy = null, string name = null)
Parameters
Type | Name | Description |
---|---|---|
IProducer<System. |
primary | Primary stream of tuples (arity 4). |
IProducer<TSecondary> | secondary | Secondary stream. |
Reproducible |
interpolator | Reproducible interpolator to use when joining the streams. |
Delivery |
primaryDeliveryPolicy | An optional delivery policy for the primary stream. |
Delivery |
secondaryDeliveryPolicy | An optional delivery policy for the secondary stream(s). |
System. |
name | An optional name for the stream operator. |
Returns
Type | Description |
---|---|
IProducer<System. |
Stream of joined tuple values flattened to arity 5. |
Type Parameters
Name | Description |
---|---|
TPrimaryItem1 | Type of item 1 of primary messages. |
TPrimaryItem2 | Type of item 2 of primary messages. |
TPrimaryItem3 | Type of item 3 of primary messages. |
TPrimaryItem4 | Type of item 4 of primary messages. |
TSecondary | Type of secondary messages. |
Join<TPrimaryItem1, TPrimaryItem2, TPrimaryItem3, TPrimaryItem4, TSecondary>(IProducer<(TPrimaryItem1, TPrimaryItem2, TPrimaryItem3, TPrimaryItem4)>, IProducer<TSecondary>, TimeSpan, DeliveryPolicy<(TPrimaryItem1, TPrimaryItem2, TPrimaryItem3, TPrimaryItem4)>, DeliveryPolicy<TSecondary>, String)
Join with the nearest values from a secondary stream, within a specified time tolerance.
Declaration
public static IProducer<(TPrimaryItem1, TPrimaryItem2, TPrimaryItem3, TPrimaryItem4, TSecondary)> Join<TPrimaryItem1, TPrimaryItem2, TPrimaryItem3, TPrimaryItem4, TSecondary>(this IProducer<(TPrimaryItem1, TPrimaryItem2, TPrimaryItem3, TPrimaryItem4)> primary, IProducer<TSecondary> secondary, TimeSpan tolerance, DeliveryPolicy<(TPrimaryItem1, TPrimaryItem2, TPrimaryItem3, TPrimaryItem4)> primaryDeliveryPolicy = null, DeliveryPolicy<TSecondary> secondaryDeliveryPolicy = null, string name = null)
Parameters
Type | Name | Description |
---|---|---|
IProducer<System. |
primary | Primary stream of tuples (arity 4). |
IProducer<TSecondary> | secondary | Secondary stream. |
Time |
tolerance | Time tolerance. |
Delivery |
primaryDeliveryPolicy | An optional delivery policy for the primary stream. |
Delivery |
secondaryDeliveryPolicy | An optional delivery policy for the secondary stream(s). |
System. |
name | An optional name for the stream operator. |
Returns
Type | Description |
---|---|
IProducer<System. |
Stream of joined tuple values flattened to arity 5. |
Type Parameters
Name | Description |
---|---|
TPrimaryItem1 | Type of item 1 of primary messages. |
TPrimaryItem2 | Type of item 2 of primary messages. |
TPrimaryItem3 | Type of item 3 of primary messages. |
TPrimaryItem4 | Type of item 4 of primary messages. |
TSecondary | Type of secondary messages. |
Join<TPrimary, TSecondaryItem1, TSecondaryItem2, TSecondaryItem3, TSecondaryItem4, TSecondaryItem5>(IProducer<TPrimary>, IProducer<(TSecondaryItem1, TSecondaryItem2, TSecondaryItem3, TSecondaryItem4, TSecondaryItem5)>, DeliveryPolicy<TPrimary>, DeliveryPolicy<(TSecondaryItem1, TSecondaryItem2, TSecondaryItem3, TSecondaryItem4, TSecondaryItem5)>, String)
Join with values with the same originating time from a secondary stream.
Declaration
public static IProducer<(TPrimary, TSecondaryItem1, TSecondaryItem2, TSecondaryItem3, TSecondaryItem4, TSecondaryItem5)> Join<TPrimary, TSecondaryItem1, TSecondaryItem2, TSecondaryItem3, TSecondaryItem4, TSecondaryItem5>(this IProducer<TPrimary> primary, IProducer<(TSecondaryItem1, TSecondaryItem2, TSecondaryItem3, TSecondaryItem4, TSecondaryItem5)> secondary, DeliveryPolicy<TPrimary> primaryDeliveryPolicy = null, DeliveryPolicy<(TSecondaryItem1, TSecondaryItem2, TSecondaryItem3, TSecondaryItem4, TSecondaryItem5)> secondaryDeliveryPolicy = null, string name = null)
Parameters
Type | Name | Description |
---|---|---|
IProducer<TPrimary> | primary | Primary stream. |
IProducer<System. |
secondary | Secondary stream of tuples (arity 5). |
Delivery |
primaryDeliveryPolicy | An optional delivery policy for the primary stream. |
Delivery |
secondaryDeliveryPolicy | An optional delivery policy for the secondary stream(s). |
System. |
name | An optional name for the stream operator. |
Returns
Type | Description |
---|---|
IProducer<System. |
Stream of joined tuple values flattened to arity 6. |
Type Parameters
Name | Description |
---|---|
TPrimary | Type of primary messages. |
TSecondaryItem1 | Type of item 1 of secondary messages. |
TSecondaryItem2 | Type of item 2 of secondary messages. |
TSecondaryItem3 | Type of item 3 of secondary messages. |
TSecondaryItem4 | Type of item 4 of secondary messages. |
TSecondaryItem5 | Type of item 5 of secondary messages. |
Remarks
Uses the Exact<T>() interpolator.
Join<TPrimary, TSecondaryItem1, TSecondaryItem2, TSecondaryItem3, TSecondaryItem4, TSecondaryItem5>(IProducer<TPrimary>, IProducer<(TSecondaryItem1, TSecondaryItem2, TSecondaryItem3, TSecondaryItem4, TSecondaryItem5)>, RelativeTimeInterval, DeliveryPolicy<TPrimary>, DeliveryPolicy<(TSecondaryItem1, TSecondaryItem2, TSecondaryItem3, TSecondaryItem4, TSecondaryItem5)>, String)
Join with the nearest values from a secondary stream, within a specified relative time interval.
Declaration
public static IProducer<(TPrimary, TSecondaryItem1, TSecondaryItem2, TSecondaryItem3, TSecondaryItem4, TSecondaryItem5)> Join<TPrimary, TSecondaryItem1, TSecondaryItem2, TSecondaryItem3, TSecondaryItem4, TSecondaryItem5>(this IProducer<TPrimary> primary, IProducer<(TSecondaryItem1, TSecondaryItem2, TSecondaryItem3, TSecondaryItem4, TSecondaryItem5)> secondary, RelativeTimeInterval relativeTimeInterval, DeliveryPolicy<TPrimary> primaryDeliveryPolicy = null, DeliveryPolicy<(TSecondaryItem1, TSecondaryItem2, TSecondaryItem3, TSecondaryItem4, TSecondaryItem5)> secondaryDeliveryPolicy = null, string name = null)
Parameters
Type | Name | Description |
---|---|---|
IProducer<TPrimary> | primary | Primary stream. |
IProducer<System. |
secondary | Secondary stream of tuples (arity 5). |
Relative |
relativeTimeInterval | Relative time interval tolerance. |
Delivery |
primaryDeliveryPolicy | An optional delivery policy for the primary stream. |
Delivery |
secondaryDeliveryPolicy | An optional delivery policy for the secondary stream(s). |
System. |
name | An optional name for the stream operator. |
Returns
Type | Description |
---|---|
IProducer<System. |
Stream of joined tuple values flattened to arity 6. |
Type Parameters
Name | Description |
---|---|
TPrimary | Type of primary messages. |
TSecondaryItem1 | Type of item 1 of secondary messages. |
TSecondaryItem2 | Type of item 2 of secondary messages. |
TSecondaryItem3 | Type of item 3 of secondary messages. |
TSecondaryItem4 | Type of item 4 of secondary messages. |
TSecondaryItem5 | Type of item 5 of secondary messages. |
Remarks
Uses the Nearest<T>(RelativeTimeInterval) interpolator.
Join<TPrimary, TSecondaryItem1, TSecondaryItem2, TSecondaryItem3, TSecondaryItem4, TSecondaryItem5>(IProducer<TPrimary>, IProducer<(TSecondaryItem1, TSecondaryItem2, TSecondaryItem3, TSecondaryItem4, TSecondaryItem5)>, ReproducibleInterpolator<(TSecondaryItem1, TSecondaryItem2, TSecondaryItem3, TSecondaryItem4, TSecondaryItem5)>, DeliveryPolicy<TPrimary>, DeliveryPolicy<(TSecondaryItem1, TSecondaryItem2, TSecondaryItem3, TSecondaryItem4, TSecondaryItem5)>, String)
Join with values from a secondary stream based on a specified reproducible interpolator.
Declaration
public static IProducer<(TPrimary, TSecondaryItem1, TSecondaryItem2, TSecondaryItem3, TSecondaryItem4, TSecondaryItem5)> Join<TPrimary, TSecondaryItem1, TSecondaryItem2, TSecondaryItem3, TSecondaryItem4, TSecondaryItem5>(this IProducer<TPrimary> primary, IProducer<(TSecondaryItem1, TSecondaryItem2, TSecondaryItem3, TSecondaryItem4, TSecondaryItem5)> secondary, ReproducibleInterpolator<(TSecondaryItem1, TSecondaryItem2, TSecondaryItem3, TSecondaryItem4, TSecondaryItem5)> interpolator, DeliveryPolicy<TPrimary> primaryDeliveryPolicy = null, DeliveryPolicy<(TSecondaryItem1, TSecondaryItem2, TSecondaryItem3, TSecondaryItem4, TSecondaryItem5)> secondaryDeliveryPolicy = null, string name = null)
Parameters
Type | Name | Description |
---|---|---|
IProducer<TPrimary> | primary | Primary stream. |
IProducer<System. |
secondary | Secondary stream of tuples (arity 5). |
Reproducible |
interpolator | Reproducible interpolator to use when joining the streams. |
Delivery |
primaryDeliveryPolicy | An optional delivery policy for the primary stream. |
Delivery |
secondaryDeliveryPolicy | An optional delivery policy for the secondary stream(s). |
System. |
name | An optional name for the stream operator. |
Returns
Type | Description |
---|---|
IProducer<System. |
Stream of joined tuple values flattened to arity 6. |
Type Parameters
Name | Description |
---|---|
TPrimary | Type of primary messages. |
TSecondaryItem1 | Type of item 1 of secondary messages. |
TSecondaryItem2 | Type of item 2 of secondary messages. |
TSecondaryItem3 | Type of item 3 of secondary messages. |
TSecondaryItem4 | Type of item 4 of secondary messages. |
TSecondaryItem5 | Type of item 5 of secondary messages. |
Join<TPrimary, TSecondaryItem1, TSecondaryItem2, TSecondaryItem3, TSecondaryItem4, TSecondaryItem5>(IProducer<TPrimary>, IProducer<(TSecondaryItem1, TSecondaryItem2, TSecondaryItem3, TSecondaryItem4, TSecondaryItem5)>, TimeSpan, DeliveryPolicy<TPrimary>, DeliveryPolicy<(TSecondaryItem1, TSecondaryItem2, TSecondaryItem3, TSecondaryItem4, TSecondaryItem5)>, String)
Join with the nearest values from a secondary stream, within a specified time tolerance.
Declaration
public static IProducer<(TPrimary, TSecondaryItem1, TSecondaryItem2, TSecondaryItem3, TSecondaryItem4, TSecondaryItem5)> Join<TPrimary, TSecondaryItem1, TSecondaryItem2, TSecondaryItem3, TSecondaryItem4, TSecondaryItem5>(this IProducer<TPrimary> primary, IProducer<(TSecondaryItem1, TSecondaryItem2, TSecondaryItem3, TSecondaryItem4, TSecondaryItem5)> secondary, TimeSpan tolerance, DeliveryPolicy<TPrimary> primaryDeliveryPolicy = null, DeliveryPolicy<(TSecondaryItem1, TSecondaryItem2, TSecondaryItem3, TSecondaryItem4, TSecondaryItem5)> secondaryDeliveryPolicy = null, string name = null)
Parameters
Type | Name | Description |
---|---|---|
IProducer<TPrimary> | primary | Primary stream. |
IProducer<System. |
secondary | Secondary stream of tuples (arity 5). |
Time |
tolerance | Time tolerance. |
Delivery |
primaryDeliveryPolicy | An optional delivery policy for the primary stream. |
Delivery |
secondaryDeliveryPolicy | An optional delivery policy for the secondary stream(s). |
System. |
name | An optional name for the stream operator. |
Returns
Type | Description |
---|---|
IProducer<System. |
Stream of joined tuple values flattened to arity 6. |
Type Parameters
Name | Description |
---|---|
TPrimary | Type of primary messages. |
TSecondaryItem1 | Type of item 1 of secondary messages. |
TSecondaryItem2 | Type of item 2 of secondary messages. |
TSecondaryItem3 | Type of item 3 of secondary messages. |
TSecondaryItem4 | Type of item 4 of secondary messages. |
TSecondaryItem5 | Type of item 5 of secondary messages. |
Remarks
Uses the Nearest<T>(RelativeTimeInterval) interpolator.
Join<TPrimaryItem1, TPrimaryItem2, TPrimaryItem3, TPrimaryItem4, TPrimaryItem5, TSecondary>(IProducer<(TPrimaryItem1, TPrimaryItem2, TPrimaryItem3, TPrimaryItem4, TPrimaryItem5)>, IProducer<TSecondary>, DeliveryPolicy<(TPrimaryItem1, TPrimaryItem2, TPrimaryItem3, TPrimaryItem4, TPrimaryItem5)>, DeliveryPolicy<TSecondary>, String)
Join with values with the same originating time from a secondary stream.
Declaration
public static IProducer<(TPrimaryItem1, TPrimaryItem2, TPrimaryItem3, TPrimaryItem4, TPrimaryItem5, TSecondary)> Join<TPrimaryItem1, TPrimaryItem2, TPrimaryItem3, TPrimaryItem4, TPrimaryItem5, TSecondary>(this IProducer<(TPrimaryItem1, TPrimaryItem2, TPrimaryItem3, TPrimaryItem4, TPrimaryItem5)> primary, IProducer<TSecondary> secondary, DeliveryPolicy<(TPrimaryItem1, TPrimaryItem2, TPrimaryItem3, TPrimaryItem4, TPrimaryItem5)> primaryDeliveryPolicy = null, DeliveryPolicy<TSecondary> secondaryDeliveryPolicy = null, string name = null)
Parameters
Type | Name | Description |
---|---|---|
IProducer<System. |
primary | Primary stream of tuples (arity 6). |
IProducer<TSecondary> | secondary | Secondary stream. |
Delivery |
primaryDeliveryPolicy | An optional delivery policy for the primary stream. |
Delivery |
secondaryDeliveryPolicy | An optional delivery policy for the secondary stream(s). |
System. |
name | An optional name for the stream operator. |
Returns
Type | Description |
---|---|
IProducer<System. |
Stream of joined tuple values flattened to arity 6. |
Type Parameters
Name | Description |
---|---|
TPrimaryItem1 | Type of item 1 of primary messages. |
TPrimaryItem2 | Type of item 2 of primary messages. |
TPrimaryItem3 | Type of item 3 of primary messages. |
TPrimaryItem4 | Type of item 4 of primary messages. |
TPrimaryItem5 | Type of item 5 of primary messages. |
TSecondary | Type of secondary messages. |
Remarks
Uses the Exact<T>() interpolator.
Join<TPrimaryItem1, TPrimaryItem2, TPrimaryItem3, TPrimaryItem4, TPrimaryItem5, TSecondary>(IProducer<(TPrimaryItem1, TPrimaryItem2, TPrimaryItem3, TPrimaryItem4, TPrimaryItem5)>, IProducer<TSecondary>, RelativeTimeInterval, DeliveryPolicy<(TPrimaryItem1, TPrimaryItem2, TPrimaryItem3, TPrimaryItem4, TPrimaryItem5)>, DeliveryPolicy<TSecondary>, String)
Join with the nearest values from a secondary stream, within a specified relative time interval.
Declaration
public static IProducer<(TPrimaryItem1, TPrimaryItem2, TPrimaryItem3, TPrimaryItem4, TPrimaryItem5, TSecondary)> Join<TPrimaryItem1, TPrimaryItem2, TPrimaryItem3, TPrimaryItem4, TPrimaryItem5, TSecondary>(this IProducer<(TPrimaryItem1, TPrimaryItem2, TPrimaryItem3, TPrimaryItem4, TPrimaryItem5)> primary, IProducer<TSecondary> secondary, RelativeTimeInterval relativeTimeInterval, DeliveryPolicy<(TPrimaryItem1, TPrimaryItem2, TPrimaryItem3, TPrimaryItem4, TPrimaryItem5)> primaryDeliveryPolicy = null, DeliveryPolicy<TSecondary> secondaryDeliveryPolicy = null, string name = null)
Parameters
Type | Name | Description |
---|---|---|
IProducer<System. |
primary | Primary stream of tuples (arity 5). |
IProducer<TSecondary> | secondary | Secondary stream. |
Relative |
relativeTimeInterval | Relative time interval tolerance. |
Delivery |
primaryDeliveryPolicy | An optional delivery policy for the primary stream. |
Delivery |
secondaryDeliveryPolicy | An optional delivery policy for the secondary stream(s). |
System. |
name | An optional name for the stream operator. |
Returns
Type | Description |
---|---|
IProducer<System. |
Stream of joined tuple values flattened to arity 6. |
Type Parameters
Name | Description |
---|---|
TPrimaryItem1 | Type of item 1 of primary messages. |
TPrimaryItem2 | Type of item 2 of primary messages. |
TPrimaryItem3 | Type of item 3 of primary messages. |
TPrimaryItem4 | Type of item 4 of primary messages. |
TPrimaryItem5 | Type of item 5 of primary messages. |
TSecondary | Type of secondary messages. |
Remarks
Uses the Nearest<T>(RelativeTimeInterval) interpolator.
Join<TPrimaryItem1, TPrimaryItem2, TPrimaryItem3, TPrimaryItem4, TPrimaryItem5, TSecondary>(IProducer<(TPrimaryItem1, TPrimaryItem2, TPrimaryItem3, TPrimaryItem4, TPrimaryItem5)>, IProducer<TSecondary>, ReproducibleInterpolator<TSecondary>, DeliveryPolicy<(TPrimaryItem1, TPrimaryItem2, TPrimaryItem3, TPrimaryItem4, TPrimaryItem5)>, DeliveryPolicy<TSecondary>, String)
Join with values from a secondary stream based on a specified reproducible interpolator.
Declaration
public static IProducer<(TPrimaryItem1, TPrimaryItem2, TPrimaryItem3, TPrimaryItem4, TPrimaryItem5, TSecondary)> Join<TPrimaryItem1, TPrimaryItem2, TPrimaryItem3, TPrimaryItem4, TPrimaryItem5, TSecondary>(this IProducer<(TPrimaryItem1, TPrimaryItem2, TPrimaryItem3, TPrimaryItem4, TPrimaryItem5)> primary, IProducer<TSecondary> secondary, ReproducibleInterpolator<TSecondary> interpolator, DeliveryPolicy<(TPrimaryItem1, TPrimaryItem2, TPrimaryItem3, TPrimaryItem4, TPrimaryItem5)> primaryDeliveryPolicy = null, DeliveryPolicy<TSecondary> secondaryDeliveryPolicy = null, string name = null)
Parameters
Type | Name | Description |
---|---|---|
IProducer<System. |
primary | Primary stream of tuples (arity 5). |
IProducer<TSecondary> | secondary | Secondary stream. |
Reproducible |
interpolator | Reproducible interpolator to use when joining the streams. |
Delivery |
primaryDeliveryPolicy | An optional delivery policy for the primary stream. |
Delivery |
secondaryDeliveryPolicy | An optional delivery policy for the secondary stream(s). |
System. |
name | An optional name for the stream operator. |
Returns
Type | Description |
---|---|
IProducer<System. |
Stream of joined tuple values flattened to arity 6. |
Type Parameters
Name | Description |
---|---|
TPrimaryItem1 | Type of item 1 of primary messages. |
TPrimaryItem2 | Type of item 2 of primary messages. |
TPrimaryItem3 | Type of item 3 of primary messages. |
TPrimaryItem4 | Type of item 4 of primary messages. |
TPrimaryItem5 | Type of item 5 of primary messages. |
TSecondary | Type of secondary messages. |
Join<TPrimaryItem1, TPrimaryItem2, TPrimaryItem3, TPrimaryItem4, TPrimaryItem5, TSecondary>(IProducer<(TPrimaryItem1, TPrimaryItem2, TPrimaryItem3, TPrimaryItem4, TPrimaryItem5)>, IProducer<TSecondary>, TimeSpan, DeliveryPolicy<(TPrimaryItem1, TPrimaryItem2, TPrimaryItem3, TPrimaryItem4, TPrimaryItem5)>, DeliveryPolicy<TSecondary>, String)
Join with the nearest values from a secondary stream, within a specified time tolerance.
Declaration
public static IProducer<(TPrimaryItem1, TPrimaryItem2, TPrimaryItem3, TPrimaryItem4, TPrimaryItem5, TSecondary)> Join<TPrimaryItem1, TPrimaryItem2, TPrimaryItem3, TPrimaryItem4, TPrimaryItem5, TSecondary>(this IProducer<(TPrimaryItem1, TPrimaryItem2, TPrimaryItem3, TPrimaryItem4, TPrimaryItem5)> primary, IProducer<TSecondary> secondary, TimeSpan tolerance, DeliveryPolicy<(TPrimaryItem1, TPrimaryItem2, TPrimaryItem3, TPrimaryItem4, TPrimaryItem5)> primaryDeliveryPolicy = null, DeliveryPolicy<TSecondary> secondaryDeliveryPolicy = null, string name = null)
Parameters
Type | Name | Description |
---|---|---|
IProducer<System. |
primary | Primary stream of tuples (arity 5). |
IProducer<TSecondary> | secondary | Secondary stream. |
Time |
tolerance | Time tolerance. |
Delivery |
primaryDeliveryPolicy | An optional delivery policy for the primary stream. |
Delivery |
secondaryDeliveryPolicy | An optional delivery policy for the secondary stream(s). |
System. |
name | An optional name for the stream operator. |
Returns
Type | Description |
---|---|
IProducer<System. |
Stream of joined tuple values flattened to arity 6. |
Type Parameters
Name | Description |
---|---|
TPrimaryItem1 | Type of item 1 of primary messages. |
TPrimaryItem2 | Type of item 2 of primary messages. |
TPrimaryItem3 | Type of item 3 of primary messages. |
TPrimaryItem4 | Type of item 4 of primary messages. |
TPrimaryItem5 | Type of item 5 of primary messages. |
TSecondary | Type of secondary messages. |
Remarks
Uses the Nearest<T>(RelativeTimeInterval) interpolator.
Join<TPrimary, TSecondaryItem1, TSecondaryItem2, TSecondaryItem3, TSecondaryItem4, TSecondaryItem5, TSecondaryItem6>(IProducer<TPrimary>, IProducer<(TSecondaryItem1, TSecondaryItem2, TSecondaryItem3, TSecondaryItem4, TSecondaryItem5, TSecondaryItem6)>, DeliveryPolicy<TPrimary>, DeliveryPolicy<(TSecondaryItem1, TSecondaryItem2, TSecondaryItem3, TSecondaryItem4, TSecondaryItem5, TSecondaryItem6)>, String)
Join with values with the same originating time from a secondary stream.
Declaration
public static IProducer<(TPrimary, TSecondaryItem1, TSecondaryItem2, TSecondaryItem3, TSecondaryItem4, TSecondaryItem5, TSecondaryItem6)> Join<TPrimary, TSecondaryItem1, TSecondaryItem2, TSecondaryItem3, TSecondaryItem4, TSecondaryItem5, TSecondaryItem6>(this IProducer<TPrimary> primary, IProducer<(TSecondaryItem1, TSecondaryItem2, TSecondaryItem3, TSecondaryItem4, TSecondaryItem5, TSecondaryItem6)> secondary, DeliveryPolicy<TPrimary> primaryDeliveryPolicy = null, DeliveryPolicy<(TSecondaryItem1, TSecondaryItem2, TSecondaryItem3, TSecondaryItem4, TSecondaryItem5, TSecondaryItem6)> secondaryDeliveryPolicy = null, string name = null)
Parameters
Type | Name | Description |
---|---|---|
IProducer<TPrimary> | primary | Primary stream. |
IProducer<System. |
secondary | Secondary stream of tuples (arity 6). |
Delivery |
primaryDeliveryPolicy | An optional delivery policy for the primary stream. |
Delivery |
secondaryDeliveryPolicy | An optional delivery policy for the secondary stream(s). |
System. |
name | An optional name for the stream operator. |
Returns
Type | Description |
---|---|
IProducer<System. |
Stream of joined tuple values flattened to arity 7. |
Type Parameters
Name | Description |
---|---|
TPrimary | Type of primary messages. |
TSecondaryItem1 | Type of item 1 of secondary messages. |
TSecondaryItem2 | Type of item 2 of secondary messages. |
TSecondaryItem3 | Type of item 3 of secondary messages. |
TSecondaryItem4 | Type of item 4 of secondary messages. |
TSecondaryItem5 | Type of item 5 of secondary messages. |
TSecondaryItem6 | Type of item 6 of secondary messages. |
Remarks
Uses the Exact<T>() interpolator.
Join<TPrimary, TSecondaryItem1, TSecondaryItem2, TSecondaryItem3, TSecondaryItem4, TSecondaryItem5, TSecondaryItem6>(IProducer<TPrimary>, IProducer<(TSecondaryItem1, TSecondaryItem2, TSecondaryItem3, TSecondaryItem4, TSecondaryItem5, TSecondaryItem6)>, RelativeTimeInterval, DeliveryPolicy<TPrimary>, DeliveryPolicy<(TSecondaryItem1, TSecondaryItem2, TSecondaryItem3, TSecondaryItem4, TSecondaryItem5, TSecondaryItem6)>, String)
Join with the nearest values from a secondary stream, within a specified relative time interval.
Declaration
public static IProducer<(TPrimary, TSecondaryItem1, TSecondaryItem2, TSecondaryItem3, TSecondaryItem4, TSecondaryItem5, TSecondaryItem6)> Join<TPrimary, TSecondaryItem1, TSecondaryItem2, TSecondaryItem3, TSecondaryItem4, TSecondaryItem5, TSecondaryItem6>(this IProducer<TPrimary> primary, IProducer<(TSecondaryItem1, TSecondaryItem2, TSecondaryItem3, TSecondaryItem4, TSecondaryItem5, TSecondaryItem6)> secondary, RelativeTimeInterval relativeTimeInterval, DeliveryPolicy<TPrimary> primaryDeliveryPolicy = null, DeliveryPolicy<(TSecondaryItem1, TSecondaryItem2, TSecondaryItem3, TSecondaryItem4, TSecondaryItem5, TSecondaryItem6)> secondaryDeliveryPolicy = null, string name = null)
Parameters
Type | Name | Description |
---|---|---|
IProducer<TPrimary> | primary | Primary stream. |
IProducer<System. |
secondary | Secondary stream of tuples (arity 6). |
Relative |
relativeTimeInterval | Relative time interval tolerance. |
Delivery |
primaryDeliveryPolicy | An optional delivery policy for the primary stream. |
Delivery |
secondaryDeliveryPolicy | An optional delivery policy for the secondary stream(s). |
System. |
name | An optional name for the stream operator. |
Returns
Type | Description |
---|---|
IProducer<System. |
Stream of joined tuple values flattened to arity 7. |
Type Parameters
Name | Description |
---|---|
TPrimary | Type of primary messages. |
TSecondaryItem1 | Type of item 1 of secondary messages. |
TSecondaryItem2 | Type of item 2 of secondary messages. |
TSecondaryItem3 | Type of item 3 of secondary messages. |
TSecondaryItem4 | Type of item 4 of secondary messages. |
TSecondaryItem5 | Type of item 5 of secondary messages. |
TSecondaryItem6 | Type of item 6 of secondary messages. |
Remarks
Uses the Nearest<T>(RelativeTimeInterval) interpolator.
Join<TPrimary, TSecondaryItem1, TSecondaryItem2, TSecondaryItem3, TSecondaryItem4, TSecondaryItem5, TSecondaryItem6>(IProducer<TPrimary>, IProducer<(TSecondaryItem1, TSecondaryItem2, TSecondaryItem3, TSecondaryItem4, TSecondaryItem5, TSecondaryItem6)>, ReproducibleInterpolator<(TSecondaryItem1, TSecondaryItem2, TSecondaryItem3, TSecondaryItem4, TSecondaryItem5, TSecondaryItem6)>, DeliveryPolicy<TPrimary>, DeliveryPolicy<(TSecondaryItem1, TSecondaryItem2, TSecondaryItem3, TSecondaryItem4, TSecondaryItem5, TSecondaryItem6)>, String)
Join with values from a secondary stream based on a specified reproducible interpolator.
Declaration
public static IProducer<(TPrimary, TSecondaryItem1, TSecondaryItem2, TSecondaryItem3, TSecondaryItem4, TSecondaryItem5, TSecondaryItem6)> Join<TPrimary, TSecondaryItem1, TSecondaryItem2, TSecondaryItem3, TSecondaryItem4, TSecondaryItem5, TSecondaryItem6>(this IProducer<TPrimary> primary, IProducer<(TSecondaryItem1, TSecondaryItem2, TSecondaryItem3, TSecondaryItem4, TSecondaryItem5, TSecondaryItem6)> secondary, ReproducibleInterpolator<(TSecondaryItem1, TSecondaryItem2, TSecondaryItem3, TSecondaryItem4, TSecondaryItem5, TSecondaryItem6)> interpolator, DeliveryPolicy<TPrimary> primaryDeliveryPolicy = null, DeliveryPolicy<(TSecondaryItem1, TSecondaryItem2, TSecondaryItem3, TSecondaryItem4, TSecondaryItem5, TSecondaryItem6)> secondaryDeliveryPolicy = null, string name = null)
Parameters
Type | Name | Description |
---|---|---|
IProducer<TPrimary> | primary | Primary stream. |
IProducer<System. |
secondary | Secondary stream of tuples (arity 6). |
Reproducible |
interpolator | Reproducible interpolator to use when joining the streams. |
Delivery |
primaryDeliveryPolicy | An optional delivery policy for the primary stream. |
Delivery |
secondaryDeliveryPolicy | An optional delivery policy for the secondary stream(s). |
System. |
name | An optional name for the stream operator. |
Returns
Type | Description |
---|---|
IProducer<System. |
Stream of joined tuple values flattened to arity 7. |
Type Parameters
Name | Description |
---|---|
TPrimary | Type of primary messages. |
TSecondaryItem1 | Type of item 1 of secondary messages. |
TSecondaryItem2 | Type of item 2 of secondary messages. |
TSecondaryItem3 | Type of item 3 of secondary messages. |
TSecondaryItem4 | Type of item 4 of secondary messages. |
TSecondaryItem5 | Type of item 5 of secondary messages. |
TSecondaryItem6 | Type of item 6 of secondary messages. |
Join<TPrimary, TSecondaryItem1, TSecondaryItem2, TSecondaryItem3, TSecondaryItem4, TSecondaryItem5, TSecondaryItem6>(IProducer<TPrimary>, IProducer<(TSecondaryItem1, TSecondaryItem2, TSecondaryItem3, TSecondaryItem4, TSecondaryItem5, TSecondaryItem6)>, TimeSpan, DeliveryPolicy<TPrimary>, DeliveryPolicy<(TSecondaryItem1, TSecondaryItem2, TSecondaryItem3, TSecondaryItem4, TSecondaryItem5, TSecondaryItem6)>, String)
Join with the nearest values from a secondary stream, within a specified time tolerance.
Declaration
public static IProducer<(TPrimary, TSecondaryItem1, TSecondaryItem2, TSecondaryItem3, TSecondaryItem4, TSecondaryItem5, TSecondaryItem6)> Join<TPrimary, TSecondaryItem1, TSecondaryItem2, TSecondaryItem3, TSecondaryItem4, TSecondaryItem5, TSecondaryItem6>(this IProducer<TPrimary> primary, IProducer<(TSecondaryItem1, TSecondaryItem2, TSecondaryItem3, TSecondaryItem4, TSecondaryItem5, TSecondaryItem6)> secondary, TimeSpan tolerance, DeliveryPolicy<TPrimary> primaryDeliveryPolicy = null, DeliveryPolicy<(TSecondaryItem1, TSecondaryItem2, TSecondaryItem3, TSecondaryItem4, TSecondaryItem5, TSecondaryItem6)> secondaryDeliveryPolicy = null, string name = null)
Parameters
Type | Name | Description |
---|---|---|
IProducer<TPrimary> | primary | Primary stream. |
IProducer<System. |
secondary | Secondary stream of tuples (arity 6). |
Time |
tolerance | Time tolerance. |
Delivery |
primaryDeliveryPolicy | An optional delivery policy for the primary stream. |
Delivery |
secondaryDeliveryPolicy | An optional delivery policy for the secondary stream(s). |
System. |
name | An optional name for the stream operator. |
Returns
Type | Description |
---|---|
IProducer<System. |
Stream of joined tuple values flattened to arity 7. |
Type Parameters
Name | Description |
---|---|
TPrimary | Type of primary messages. |
TSecondaryItem1 | Type of item 1 of secondary messages. |
TSecondaryItem2 | Type of item 2 of secondary messages. |
TSecondaryItem3 | Type of item 3 of secondary messages. |
TSecondaryItem4 | Type of item 4 of secondary messages. |
TSecondaryItem5 | Type of item 5 of secondary messages. |
TSecondaryItem6 | Type of item 6 of secondary messages. |
Remarks
Uses the Nearest<T>(RelativeTimeInterval) interpolator.
Join<TPrimaryItem1, TPrimaryItem2, TPrimaryItem3, TPrimaryItem4, TPrimaryItem5, TPrimaryItem6, TSecondary>(IProducer<(TPrimaryItem1, TPrimaryItem2, TPrimaryItem3, TPrimaryItem4, TPrimaryItem5, TPrimaryItem6)>, IProducer<TSecondary>, DeliveryPolicy<(TPrimaryItem1, TPrimaryItem2, TPrimaryItem3, TPrimaryItem4, TPrimaryItem5, TPrimaryItem6)>, DeliveryPolicy<TSecondary>, String)
Join with values with the same originating time from a secondary stream.
Declaration
public static IProducer<(TPrimaryItem1, TPrimaryItem2, TPrimaryItem3, TPrimaryItem4, TPrimaryItem5, TPrimaryItem6, TSecondary)> Join<TPrimaryItem1, TPrimaryItem2, TPrimaryItem3, TPrimaryItem4, TPrimaryItem5, TPrimaryItem6, TSecondary>(this IProducer<(TPrimaryItem1, TPrimaryItem2, TPrimaryItem3, TPrimaryItem4, TPrimaryItem5, TPrimaryItem6)> primary, IProducer<TSecondary> secondary, DeliveryPolicy<(TPrimaryItem1, TPrimaryItem2, TPrimaryItem3, TPrimaryItem4, TPrimaryItem5, TPrimaryItem6)> primaryDeliveryPolicy = null, DeliveryPolicy<TSecondary> secondaryDeliveryPolicy = null, string name = null)
Parameters
Type | Name | Description |
---|---|---|
IProducer<System. |
primary | Primary stream of tuples (arity 6). |
IProducer<TSecondary> | secondary | Secondary stream. |
Delivery |
primaryDeliveryPolicy | An optional delivery policy for the primary stream. |
Delivery |
secondaryDeliveryPolicy | An optional delivery policy for the secondary stream(s). |
System. |
name | An optional name for the stream operator. |
Returns
Type | Description |
---|---|
IProducer<System. |
Stream of joined tuple values flattened to arity 7. |
Type Parameters
Name | Description |
---|---|
TPrimaryItem1 | Type of item 1 of primary messages. |
TPrimaryItem2 | Type of item 2 of primary messages. |
TPrimaryItem3 | Type of item 3 of primary messages. |
TPrimaryItem4 | Type of item 4 of primary messages. |
TPrimaryItem5 | Type of item 5 of primary messages. |
TPrimaryItem6 | Type of item 6 of primary messages. |
TSecondary | Type of secondary messages. |
Remarks
Uses the Exact<T>() interpolator.
Join<TPrimaryItem1, TPrimaryItem2, TPrimaryItem3, TPrimaryItem4, TPrimaryItem5, TPrimaryItem6, TSecondary>(IProducer<(TPrimaryItem1, TPrimaryItem2, TPrimaryItem3, TPrimaryItem4, TPrimaryItem5, TPrimaryItem6)>, IProducer<TSecondary>, RelativeTimeInterval, DeliveryPolicy<(TPrimaryItem1, TPrimaryItem2, TPrimaryItem3, TPrimaryItem4, TPrimaryItem5, TPrimaryItem6)>, DeliveryPolicy<TSecondary>, String)
Join with the nearest values from a secondary stream, within a specified relative time interval.
Declaration
public static IProducer<(TPrimaryItem1, TPrimaryItem2, TPrimaryItem3, TPrimaryItem4, TPrimaryItem5, TPrimaryItem6, TSecondary)> Join<TPrimaryItem1, TPrimaryItem2, TPrimaryItem3, TPrimaryItem4, TPrimaryItem5, TPrimaryItem6, TSecondary>(this IProducer<(TPrimaryItem1, TPrimaryItem2, TPrimaryItem3, TPrimaryItem4, TPrimaryItem5, TPrimaryItem6)> primary, IProducer<TSecondary> secondary, RelativeTimeInterval relativeTimeInterval, DeliveryPolicy<(TPrimaryItem1, TPrimaryItem2, TPrimaryItem3, TPrimaryItem4, TPrimaryItem5, TPrimaryItem6)> primaryDeliveryPolicy = null, DeliveryPolicy<TSecondary> secondaryDeliveryPolicy = null, string name = null)
Parameters
Type | Name | Description |
---|---|---|
IProducer<System. |
primary | Primary stream of tuples (arity 6). |
IProducer<TSecondary> | secondary | Secondary stream. |
Relative |
relativeTimeInterval | Relative time interval tolerance. |
Delivery |
primaryDeliveryPolicy | An optional delivery policy for the primary stream. |
Delivery |
secondaryDeliveryPolicy | An optional delivery policy for the secondary stream(s). |
System. |
name | An optional name for the stream operator. |
Returns
Type | Description |
---|---|
IProducer<System. |
Stream of joined tuple values flattened to arity 7. |
Type Parameters
Name | Description |
---|---|
TPrimaryItem1 | Type of item 1 of primary messages. |
TPrimaryItem2 | Type of item 2 of primary messages. |
TPrimaryItem3 | Type of item 3 of primary messages. |
TPrimaryItem4 | Type of item 4 of primary messages. |
TPrimaryItem5 | Type of item 5 of primary messages. |
TPrimaryItem6 | Type of item 6 of primary messages. |
TSecondary | Type of secondary messages. |
Remarks
Uses the Nearest<T>(RelativeTimeInterval) interpolator.
Join<TPrimaryItem1, TPrimaryItem2, TPrimaryItem3, TPrimaryItem4, TPrimaryItem5, TPrimaryItem6, TSecondary>(IProducer<(TPrimaryItem1, TPrimaryItem2, TPrimaryItem3, TPrimaryItem4, TPrimaryItem5, TPrimaryItem6)>, IProducer<TSecondary>, ReproducibleInterpolator<TSecondary>, DeliveryPolicy<(TPrimaryItem1, TPrimaryItem2, TPrimaryItem3, TPrimaryItem4, TPrimaryItem5, TPrimaryItem6)>, DeliveryPolicy<TSecondary>, String)
Join with values from a secondary stream based on a specified reproducible interpolator.
Declaration
public static IProducer<(TPrimaryItem1, TPrimaryItem2, TPrimaryItem3, TPrimaryItem4, TPrimaryItem5, TPrimaryItem6, TSecondary)> Join<TPrimaryItem1, TPrimaryItem2, TPrimaryItem3, TPrimaryItem4, TPrimaryItem5, TPrimaryItem6, TSecondary>(this IProducer<(TPrimaryItem1, TPrimaryItem2, TPrimaryItem3, TPrimaryItem4, TPrimaryItem5, TPrimaryItem6)> primary, IProducer<TSecondary> secondary, ReproducibleInterpolator<TSecondary> interpolator, DeliveryPolicy<(TPrimaryItem1, TPrimaryItem2, TPrimaryItem3, TPrimaryItem4, TPrimaryItem5, TPrimaryItem6)> primaryDeliveryPolicy = null, DeliveryPolicy<TSecondary> secondaryDeliveryPolicy = null, string name = null)
Parameters
Type | Name | Description |
---|---|---|
IProducer<System. |
primary | Primary stream of tuples (arity 6). |
IProducer<TSecondary> | secondary | Secondary stream. |
Reproducible |
interpolator | Reproducible interpolator to use when joining the streams. |
Delivery |
primaryDeliveryPolicy | An optional delivery policy for the primary stream. |
Delivery |
secondaryDeliveryPolicy | An optional delivery policy for the secondary stream(s). |
System. |
name | An optional name for the stream operator. |
Returns
Type | Description |
---|---|
IProducer<System. |
Stream of joined tuple values flattened to arity 7. |
Type Parameters
Name | Description |
---|---|
TPrimaryItem1 | Type of item 1 of primary messages. |
TPrimaryItem2 | Type of item 2 of primary messages. |
TPrimaryItem3 | Type of item 3 of primary messages. |
TPrimaryItem4 | Type of item 4 of primary messages. |
TPrimaryItem5 | Type of item 5 of primary messages. |
TPrimaryItem6 | Type of item 6 of primary messages. |
TSecondary | Type of secondary messages. |
Join<TPrimaryItem1, TPrimaryItem2, TPrimaryItem3, TPrimaryItem4, TPrimaryItem5, TPrimaryItem6, TSecondary>(IProducer<(TPrimaryItem1, TPrimaryItem2, TPrimaryItem3, TPrimaryItem4, TPrimaryItem5, TPrimaryItem6)>, IProducer<TSecondary>, TimeSpan, DeliveryPolicy<(TPrimaryItem1, TPrimaryItem2, TPrimaryItem3, TPrimaryItem4, TPrimaryItem5, TPrimaryItem6)>, DeliveryPolicy<TSecondary>, String)
Join with the nearest values from a secondary stream, within a specified time tolerance.
Declaration
public static IProducer<(TPrimaryItem1, TPrimaryItem2, TPrimaryItem3, TPrimaryItem4, TPrimaryItem5, TPrimaryItem6, TSecondary)> Join<TPrimaryItem1, TPrimaryItem2, TPrimaryItem3, TPrimaryItem4, TPrimaryItem5, TPrimaryItem6, TSecondary>(this IProducer<(TPrimaryItem1, TPrimaryItem2, TPrimaryItem3, TPrimaryItem4, TPrimaryItem5, TPrimaryItem6)> primary, IProducer<TSecondary> secondary, TimeSpan tolerance, DeliveryPolicy<(TPrimaryItem1, TPrimaryItem2, TPrimaryItem3, TPrimaryItem4, TPrimaryItem5, TPrimaryItem6)> primaryDeliveryPolicy = null, DeliveryPolicy<TSecondary> secondaryDeliveryPolicy = null, string name = null)
Parameters
Type | Name | Description |
---|---|---|
IProducer<System. |
primary | Primary stream of tuples (arity 6). |
IProducer<TSecondary> | secondary | Secondary stream. |
Time |
tolerance | Time tolerance. |
Delivery |
primaryDeliveryPolicy | An optional delivery policy for the primary stream. |
Delivery |
secondaryDeliveryPolicy | An optional delivery policy for the secondary stream(s). |
System. |
name | An optional name for the stream operator. |
Returns
Type | Description |
---|---|
IProducer<System. |
Stream of joined tuple values flattened to arity 7. |
Type Parameters
Name | Description |
---|---|
TPrimaryItem1 | Type of item 1 of primary messages. |
TPrimaryItem2 | Type of item 2 of primary messages. |
TPrimaryItem3 | Type of item 3 of primary messages. |
TPrimaryItem4 | Type of item 4 of primary messages. |
TPrimaryItem5 | Type of item 5 of primary messages. |
TPrimaryItem6 | Type of item 6 of primary messages. |
TSecondary | Type of secondary messages. |
Remarks
Uses the Nearest<T>(RelativeTimeInterval) interpolator.
Last<T>(IProducer<T>, DeliveryPolicy<T>, String)
Filter stream to the last message.
Declaration
public static IProducer<T> Last<T>(this IProducer<T> source, DeliveryPolicy<T> deliveryPolicy = null, string name = "Last")
Parameters
Type | Name | Description |
---|---|---|
IProducer<T> | source | Source stream. |
Delivery |
deliveryPolicy | An optional delivery policy. |
System. |
name | An optional name for this stream operator. |
Returns
Type | Description |
---|---|
IProducer<T> | An output stream containing only the last message. |
Type Parameters
Name | Description |
---|---|
T | Type of source/output messages. |
Last<T>(IProducer<T>, Int32, DeliveryPolicy<T>, String)
Filter stream to the last n messages.
Declaration
public static IProducer<T> Last<T>(this IProducer<T> source, int count, DeliveryPolicy<T> deliveryPolicy = null, string name = "Last")
Parameters
Type | Name | Description |
---|---|---|
IProducer<T> | source | Source stream. |
System. |
count | The number of messages to filter. |
Delivery |
deliveryPolicy | An optional delivery policy. |
System. |
name | An optional name for this stream operator. |
Returns
Type | Description |
---|---|
IProducer<T> | An output stream containing only the last message. |
Type Parameters
Name | Description |
---|---|
T | Type of source/output messages. |
Latency<T>(IProducer<T>, DeliveryPolicy<T>, String)
Map messages to their current latency (time since origination).
Declaration
public static IProducer<TimeSpan> Latency<T>(this IProducer<T> source, DeliveryPolicy<T> deliveryPolicy = null, string name = "Latency")
Parameters
Type | Name | Description |
---|---|---|
IProducer<T> | source | Source stream. |
Delivery |
deliveryPolicy | An optional delivery policy. |
System. |
name | An optional name for this stream operator. |
Returns
Type | Description |
---|---|
IProducer<Time |
Stream of latency (time span) values. |
Type Parameters
Name | Description |
---|---|
T | Type of source stream messages. |
Log(IProducer<Decimal>, DeliveryPolicy<Decimal>)
Compute the to natural (base e) logarithm of a stream of (decimal).
Declaration
public static IProducer<double> Log(this IProducer<decimal> source, DeliveryPolicy<decimal> deliveryPolicy = null)
Parameters
Type | Name | Description |
---|---|---|
IProducer<System. |
source | Source stream. |
Delivery |
deliveryPolicy | An optional delivery policy. |
Returns
Type | Description |
---|---|
IProducer<System. |
Stream of natural (base e) logarithms. |
Log(IProducer<Decimal>, Predicate<Decimal>, DeliveryPolicy<Decimal>)
Compute the to natural (base e) logarithm of a stream of (decimal).
Declaration
public static IProducer<double> Log(this IProducer<decimal> source, Predicate<decimal> condition, DeliveryPolicy<decimal> deliveryPolicy = null)
Parameters
Type | Name | Description |
---|---|---|
IProducer<System. |
source | Source stream. |
Predicate<System. |
condition | A function to test each value for a condition. |
Delivery |
deliveryPolicy | An optional delivery policy. |
Returns
Type | Description |
---|---|
IProducer<System. |
Stream of natural (base e) logarithms. |
Log(IProducer<Decimal>, Double, DeliveryPolicy<Decimal>)
Compute the to logarithm in given base of a stream of (decimal).
Declaration
public static IProducer<double> Log(this IProducer<decimal> source, double newBase, DeliveryPolicy<decimal> deliveryPolicy = null)
Parameters
Type | Name | Description |
---|---|---|
IProducer<System. |
source | Source stream. |
System. |
newBase | The base of the logarithm. |
Delivery |
deliveryPolicy | An optional delivery policy. |
Returns
Type | Description |
---|---|
IProducer<System. |
Stream of logarithms in given base. |
Log(IProducer<Decimal>, Double, Predicate<Decimal>, DeliveryPolicy<Decimal>)
Compute the to logarithm in given base of a stream of (decimal).
Declaration
public static IProducer<double> Log(this IProducer<decimal> source, double newBase, Predicate<decimal> condition, DeliveryPolicy<decimal> deliveryPolicy = null)
Parameters
Type | Name | Description |
---|---|---|
IProducer<System. |
source | Source stream. |
System. |
newBase | The base of the logarithm. |
Predicate<System. |
condition | A function to test each value for a condition. |
Delivery |
deliveryPolicy | An optional delivery policy. |
Returns
Type | Description |
---|---|
IProducer<System. |
Stream of logarithms in given base. |
Log(IProducer<Double>, DeliveryPolicy<Double>)
Compute the natural (base e) logarithm of a stream of (double) values.
Declaration
public static IProducer<double> Log(this IProducer<double> source, DeliveryPolicy<double> deliveryPolicy = null)
Parameters
Type | Name | Description |
---|---|---|
IProducer<System. |
source | Source stream. |
Delivery |
deliveryPolicy | An optional delivery policy. |
Returns
Type | Description |
---|---|
IProducer<System. |
Stream of natural (base e) logarithms. |
Log(IProducer<Double>, Predicate<Double>, DeliveryPolicy<Double>)
Compute the natural (base e) logarithm of a stream of (double) values.
Declaration
public static IProducer<double> Log(this IProducer<double> source, Predicate<double> condition, DeliveryPolicy<double> deliveryPolicy = null)
Parameters
Type | Name | Description |
---|---|---|
IProducer<System. |
source | Source stream. |
Predicate<System. |
condition | A function to test each value for a condition. |
Delivery |
deliveryPolicy | An optional delivery policy. |
Returns
Type | Description |
---|---|
IProducer<System. |
Stream of natural (base e) logarithms. |
Log(IProducer<Double>, Double, DeliveryPolicy<Double>)
Compute the logarithm in given base of a stream of (double) values.
Declaration
public static IProducer<double> Log(this IProducer<double> source, double newBase, DeliveryPolicy<double> deliveryPolicy = null)
Parameters
Type | Name | Description |
---|---|---|
IProducer<System. |
source | Source stream. |
System. |
newBase | The base of the logarithm. |
Delivery |
deliveryPolicy | An optional delivery policy. |
Returns
Type | Description |
---|---|
IProducer<System. |
Stream of logarithms in given base. |
Log(IProducer<Double>, Double, Predicate<Double>, DeliveryPolicy<Double>)
Compute the logarithm in given base of a stream of (double) values.
Declaration
public static IProducer<double> Log(this IProducer<double> source, double newBase, Predicate<double> condition, DeliveryPolicy<double> deliveryPolicy = null)
Parameters
Type | Name | Description |
---|---|---|
IProducer<System. |
source | Source stream. |
System. |
newBase | The base of the logarithm. |
Predicate<System. |
condition | A function to test each value for a condition. |
Delivery |
deliveryPolicy | An optional delivery policy. |
Returns
Type | Description |
---|---|
IProducer<System. |
Stream of logarithms in given base. |
Log(IProducer<Int32>, DeliveryPolicy<Int32>)
Compute the natural (base e) logarithm of a stream of (int) values.
Declaration
public static IProducer<double> Log(this IProducer<int> source, DeliveryPolicy<int> deliveryPolicy = null)
Parameters
Type | Name | Description |
---|---|---|
IProducer<System. |
source | Source stream. |
Delivery |
deliveryPolicy | An optional delivery policy. |
Returns
Type | Description |
---|---|
IProducer<System. |
Stream of natural (base e) logarithms. |
Log(IProducer<Int32>, Predicate<Int32>, DeliveryPolicy<Int32>)
Compute the natural (base e) logarithm of a stream of (int) values.
Declaration
public static IProducer<double> Log(this IProducer<int> source, Predicate<int> condition, DeliveryPolicy<int> deliveryPolicy = null)
Parameters
Type | Name | Description |
---|---|---|
IProducer<System. |
source | Source stream. |
Predicate<System. |
condition | A function to test each value for a condition. |
Delivery |
deliveryPolicy | An optional delivery policy. |
Returns
Type | Description |
---|---|
IProducer<System. |
Stream of natural (base e) logarithms. |
Log(IProducer<Int32>, Double, DeliveryPolicy<Int32>)
Compute the logarithm in given base of a stream of (int) values.
Declaration
public static IProducer<double> Log(this IProducer<int> source, double newBase, DeliveryPolicy<int> deliveryPolicy = null)
Parameters
Type | Name | Description |
---|---|---|
IProducer<System. |
source | Source stream. |
System. |
newBase | The base of the logarithm. |
Delivery |
deliveryPolicy | An optional delivery policy. |
Returns
Type | Description |
---|---|
IProducer<System. |
Stream of logarithms in given base. |
Log(IProducer<Int32>, Double, Predicate<Int32>, DeliveryPolicy<Int32>)
Compute the logarithm in given base of a stream of (int) values.
Declaration
public static IProducer<double> Log(this IProducer<int> source, double newBase, Predicate<int> condition, DeliveryPolicy<int> deliveryPolicy = null)
Parameters
Type | Name | Description |
---|---|---|
IProducer<System. |
source | Source stream. |
System. |
newBase | The base of the logarithm. |
Predicate<System. |
condition | A function to test each value for a condition. |
Delivery |
deliveryPolicy | An optional delivery policy. |
Returns
Type | Description |
---|---|
IProducer<System. |
Stream of logarithms in given base. |
Log(IProducer<Int64>, DeliveryPolicy<Int64>)
Compute the natural (base e) logarithm of a stream of (long) values.
Declaration
public static IProducer<double> Log(this IProducer<long> source, DeliveryPolicy<long> deliveryPolicy = null)
Parameters
Type | Name | Description |
---|---|---|
IProducer<System. |
source | Source stream. |
Delivery |
deliveryPolicy | An optional delivery policy. |
Returns
Type | Description |
---|---|
IProducer<System. |
Stream of natural (base e) logarithms. |
Log(IProducer<Int64>, Predicate<Int64>, DeliveryPolicy<Int64>)
Compute the natural (base e) logarithm of a stream of (long) values.
Declaration
public static IProducer<double> Log(this IProducer<long> source, Predicate<long> condition, DeliveryPolicy<long> deliveryPolicy = null)
Parameters
Type | Name | Description |
---|---|---|
IProducer<System. |
source | Source stream. |
Predicate<System. |
condition | A function to test each value for a condition. |
Delivery |
deliveryPolicy | An optional delivery policy. |
Returns
Type | Description |
---|---|
IProducer<System. |
Stream of natural (base e) logarithms. |
Log(IProducer<Int64>, Double, DeliveryPolicy<Int64>)
Compute the logarithm in given base of a stream of (long) values.
Declaration
public static IProducer<double> Log(this IProducer<long> source, double newBase, DeliveryPolicy<long> deliveryPolicy = null)
Parameters
Type | Name | Description |
---|---|---|
IProducer<System. |
source | Source stream. |
System. |
newBase | The base of the logarithm. |
Delivery |
deliveryPolicy | An optional delivery policy. |
Returns
Type | Description |
---|---|
IProducer<System. |
Stream of logarithms in given base. |
Log(IProducer<Int64>, Double, Predicate<Int64>, DeliveryPolicy<Int64>)
Compute the logarithm in given base of a stream of (long) values.
Declaration
public static IProducer<double> Log(this IProducer<long> source, double newBase, Predicate<long> condition, DeliveryPolicy<long> deliveryPolicy = null)
Parameters
Type | Name | Description |
---|---|---|
IProducer<System. |
source | Source stream. |
System. |
newBase | The base of the logarithm. |
Predicate<System. |
condition | A function to test each value for a condition. |
Delivery |
deliveryPolicy | An optional delivery policy. |
Returns
Type | Description |
---|---|
IProducer<System. |
Stream of logarithms in given base. |
Log(IProducer<Single>, DeliveryPolicy<Single>)
Compute the natural (base e) logarithm of a stream of (float) values.
Declaration
public static IProducer<float> Log(this IProducer<float> source, DeliveryPolicy<float> deliveryPolicy = null)
Parameters
Type | Name | Description |
---|---|---|
IProducer<System. |
source | Source stream. |
Delivery |
deliveryPolicy | An optional delivery policy. |
Returns
Type | Description |
---|---|
IProducer<System. |
Stream of natural (base e) logarithms. |
Log(IProducer<Single>, Predicate<Single>, DeliveryPolicy<Single>)
Compute the natural (base e) logarithm of a stream of (float) values.
Declaration
public static IProducer<float> Log(this IProducer<float> source, Predicate<float> condition, DeliveryPolicy<float> deliveryPolicy = null)
Parameters
Type | Name | Description |
---|---|---|
IProducer<System. |
source | Source stream. |
Predicate<System. |
condition | A function to test each value for a condition. |
Delivery |
deliveryPolicy | An optional delivery policy. |
Returns
Type | Description |
---|---|
IProducer<System. |
Stream of natural (base e) logarithms. |
Log(IProducer<Single>, Double, DeliveryPolicy<Single>)
Compute the logarithm in given base of a stream of (float) values.
Declaration
public static IProducer<float> Log(this IProducer<float> source, double newBase, DeliveryPolicy<float> deliveryPolicy = null)
Parameters
Type | Name | Description |
---|---|---|
IProducer<System. |
source | Source stream. |
System. |
newBase | The base of the logarithm. |
Delivery |
deliveryPolicy | An optional delivery policy. |
Returns
Type | Description |
---|---|
IProducer<System. |
Stream of logarithms in given base. |
Log(IProducer<Single>, Double, Predicate<Single>, DeliveryPolicy<Single>)
Compute the logarithm in given base of a stream of (float) values.
Declaration
public static IProducer<float> Log(this IProducer<float> source, double newBase, Predicate<float> condition, DeliveryPolicy<float> deliveryPolicy = null)
Parameters
Type | Name | Description |
---|---|---|
IProducer<System. |
source | Source stream. |
System. |
newBase | The base of the logarithm. |
Predicate<System. |
condition | A function to test each value for a condition. |
Delivery |
deliveryPolicy | An optional delivery policy. |
Returns
Type | Description |
---|---|
IProducer<System. |
Stream of logarithms in given base. |
LongCount<TSource>(IProducer<TSource[]>, DeliveryPolicy<TSource[]>)
Compute the long count of a stream of values.
Declaration
public static IProducer<long> LongCount<TSource>(this IProducer<TSource[]> source, DeliveryPolicy<TSource[]> deliveryPolicy = null)
Parameters
Type | Name | Description |
---|---|---|
IProducer<TSource[]> | source | The source stream. |
Delivery |
deliveryPolicy | An optional delivery policy. |
Returns
Type | Description |
---|---|
IProducer<System. |
Stream of long count values. |
Type Parameters
Name | Description |
---|---|
TSource | The source message type. |
LongCount<T>(IProducer<T>, DeliveryPolicy<T>)
Returns a stream of long values representing the number of elements in a stream.
Declaration
public static IProducer<long> LongCount<T>(this IProducer<T> source, DeliveryPolicy<T> deliveryPolicy = null)
Parameters
Type | Name | Description |
---|---|---|
IProducer<T> | source | The source stream. |
Delivery |
deliveryPolicy | An optional delivery policy. |
Returns
Type | Description |
---|---|
IProducer<System. |
Stream of counts. |
Type Parameters
Name | Description |
---|---|
T | The message type. |
LongCount<T>(IProducer<T>, Predicate<T>, DeliveryPolicy<T>)
Returns a stream of long values representing the number of elements in a stream satisfying a condition.
Declaration
public static IProducer<long> LongCount<T>(this IProducer<T> source, Predicate<T> condition, DeliveryPolicy<T> deliveryPolicy = null)
Parameters
Type | Name | Description |
---|---|---|
IProducer<T> | source | The source stream. |
Predicate<T> | condition | A function to test each element for a condition. |
Delivery |
deliveryPolicy | An optional delivery policy. |
Returns
Type | Description |
---|---|
IProducer<System. |
Stream of counts. |
Type Parameters
Name | Description |
---|---|
T | The message type. |
LongCount<TSource>(IProducer<TSource>, TimeSpan, DeliveryPolicy<TSource>)
Compute the count of values within each window by time span.
Declaration
public static IProducer<long> LongCount<TSource>(this IProducer<TSource> source, TimeSpan timeSpan, DeliveryPolicy<TSource> deliveryPolicy = null)
Parameters
Type | Name | Description |
---|---|---|
IProducer<TSource> | source | The source stream. |
Time |
timeSpan | Window time span. |
Delivery |
deliveryPolicy | An optional delivery policy. |
Returns
Type | Description |
---|---|
IProducer<System. |
Stream of (long) count values. |
Type Parameters
Name | Description |
---|---|
TSource | The source message type. |
Max(IProducer<Decimal[]>, DeliveryPolicy<Decimal[]>)
Compute the maximum decimal within each window.
Declaration
public static IProducer<decimal> Max(this IProducer<decimal[]> source, DeliveryPolicy<decimal[]> deliveryPolicy = null)
Parameters
Type | Name | Description |
---|---|---|
IProducer<System. |
source | The source stream. |
Delivery |
deliveryPolicy | An optional delivery policy. |
Returns
Type | Description |
---|---|
IProducer<System. |
Stream of maximum (decimal) values. |
Max(IProducer<Decimal>, Int32, DeliveryPolicy<Decimal>)
Compute the minimum (decimal) within each window by size.
Declaration
public static IProducer<decimal> Max(this IProducer<decimal> source, int size, DeliveryPolicy<decimal> deliveryPolicy = null)
Parameters
Type | Name | Description |
---|---|---|
IProducer<System. |
source | The source stream. |
System. |
size | Window size. |
Delivery |
deliveryPolicy | An optional delivery policy. |
Returns
Type | Description |
---|---|
IProducer<System. |
Stream of minimum (decimal) values. |
Max(IProducer<Decimal>, TimeSpan, DeliveryPolicy<Decimal>)
Compute the maximum (decimal) within each window by time span.
Declaration
public static IProducer<decimal> Max(this IProducer<decimal> source, TimeSpan timeSpan, DeliveryPolicy<decimal> deliveryPolicy = null)
Parameters
Type | Name | Description |
---|---|---|
IProducer<System. |
source | The source stream. |
Time |
timeSpan | Window time span. |
Delivery |
deliveryPolicy | An optional delivery policy. |
Returns
Type | Description |
---|---|
IProducer<System. |
Stream of maximum (decimal) values. |
Max(IProducer<Double[]>, DeliveryPolicy<Double[]>)
Compute the maximum double within each window.
Declaration
public static IProducer<double> Max(this IProducer<double[]> source, DeliveryPolicy<double[]> deliveryPolicy = null)
Parameters
Type | Name | Description |
---|---|---|
IProducer<System. |
source | The source stream. |
Delivery |
deliveryPolicy | An optional delivery policy. |
Returns
Type | Description |
---|---|
IProducer<System. |
Stream of maximum (double) values. |
Max(IProducer<Double>, DeliveryPolicy<Double>)
Compute the maximum of a stream of double values.
Declaration
public static IProducer<double> Max(this IProducer<double> source, DeliveryPolicy<double> deliveryPolicy = null)
Parameters
Type | Name | Description |
---|---|---|
IProducer<System. |
source | The source stream. |
Delivery |
deliveryPolicy | An optional delivery policy. |
Returns
Type | Description |
---|---|
IProducer<System. |
Stream of maximum values. |
Remarks
This operator considers the maximum of a number and NaN to be NaN. Consequently, once a value of NaN is encountered on the source stream, the corresponding output value and all subsequent output values will be NaN.
Max(IProducer<Double>, Int32, DeliveryPolicy<Double>)
Compute the maximum (double) within each window by size.
Declaration
public static IProducer<double> Max(this IProducer<double> source, int size, DeliveryPolicy<double> deliveryPolicy = null)
Parameters
Type | Name | Description |
---|---|---|
IProducer<System. |
source | The source stream. |
System. |
size | Window size. |
Delivery |
deliveryPolicy | An optional delivery policy. |
Returns
Type | Description |
---|---|
IProducer<System. |
Stream of maximum (double) values. |
Max(IProducer<Double>, TimeSpan, DeliveryPolicy<Double>)
Compute the maximum (double) within each window by time span.
Declaration
public static IProducer<double> Max(this IProducer<double> source, TimeSpan timeSpan, DeliveryPolicy<double> deliveryPolicy = null)
Parameters
Type | Name | Description |
---|---|---|
IProducer<System. |
source | The source stream. |
Time |
timeSpan | Window time span. |
Delivery |
deliveryPolicy | An optional delivery policy. |
Returns
Type | Description |
---|---|
IProducer<System. |
Stream of maximum (double) values. |
Max(IProducer<Int32[]>, DeliveryPolicy<Int32[]>)
Compute the maximum int within each window.
Declaration
public static IProducer<int> Max(this IProducer<int[]> source, DeliveryPolicy<int[]> deliveryPolicy = null)
Parameters
Type | Name | Description |
---|---|---|
IProducer<System. |
source | The source stream. |
Delivery |
deliveryPolicy | An optional delivery policy. |
Returns
Type | Description |
---|---|
IProducer<System. |
Stream of maximum (int) values. |
Max(IProducer<Int32>, Int32, DeliveryPolicy<Int32>)
Compute the maximum (int) within each window by size.
Declaration
public static IProducer<int> Max(this IProducer<int> source, int size, DeliveryPolicy<int> deliveryPolicy = null)
Parameters
Type | Name | Description |
---|---|---|
IProducer<System. |
source | The source stream. |
System. |
size | Window size. |
Delivery |
deliveryPolicy | An optional delivery policy. |
Returns
Type | Description |
---|---|
IProducer<System. |
Stream of maximum (int) values. |
Max(IProducer<Int32>, TimeSpan, DeliveryPolicy<Int32>)
Compute the maximum (int) within each window by time span.
Declaration
public static IProducer<int> Max(this IProducer<int> source, TimeSpan timeSpan, DeliveryPolicy<int> deliveryPolicy = null)
Parameters
Type | Name | Description |
---|---|---|
IProducer<System. |
source | The source stream. |
Time |
timeSpan | Window time span. |
Delivery |
deliveryPolicy | An optional delivery policy. |
Returns
Type | Description |
---|---|
IProducer<System. |
Stream of maximum (int) values. |
Max(IProducer<Int64[]>, DeliveryPolicy<Int64[]>)
Compute the maximum long within each window.
Declaration
public static IProducer<long> Max(this IProducer<long[]> source, DeliveryPolicy<long[]> deliveryPolicy = null)
Parameters
Type | Name | Description |
---|---|---|
IProducer<System. |
source | The source stream. |
Delivery |
deliveryPolicy | An optional delivery policy. |
Returns
Type | Description |
---|---|
IProducer<System. |
Stream of maximum (long) values. |
Max(IProducer<Int64>, Int32, DeliveryPolicy<Int64>)
Compute the maximum (long) within each window by size.
Declaration
public static IProducer<long> Max(this IProducer<long> source, int size, DeliveryPolicy<long> deliveryPolicy = null)
Parameters
Type | Name | Description |
---|---|---|
IProducer<System. |
source | The source stream. |
System. |
size | Window size. |
Delivery |
deliveryPolicy | An optional delivery policy. |
Returns
Type | Description |
---|---|
IProducer<System. |
Stream of maximum (long) values. |
Max(IProducer<Int64>, TimeSpan, DeliveryPolicy<Int64>)
Compute the maximum (long) within each window by time span.
Declaration
public static IProducer<long> Max(this IProducer<long> source, TimeSpan timeSpan, DeliveryPolicy<long> deliveryPolicy = null)
Parameters
Type | Name | Description |
---|---|---|
IProducer<System. |
source | The source stream. |
Time |
timeSpan | Window time span. |
Delivery |
deliveryPolicy | An optional delivery policy. |
Returns
Type | Description |
---|---|
IProducer<System. |
Stream of maximum (long) values. |
Max(IProducer<Nullable<Decimal>[]>, DeliveryPolicy<Nullable<Decimal>[]>)
Compute the maximum nullable decimal within each window.
Declaration
public static IProducer<decimal?> Max(this IProducer<decimal? []> source, DeliveryPolicy<decimal? []> deliveryPolicy = null)
Parameters
Type | Name | Description |
---|---|---|
IProducer<System. |
source | The source stream. |
Delivery |
deliveryPolicy | An optional delivery policy. |
Returns
Type | Description |
---|---|
IProducer<System. |
Stream of maximum (nullable decimal) values. |
Max(IProducer<Nullable<Decimal>>, Int32, DeliveryPolicy<Nullable<Decimal>>)
Compute the maximum (nullable decimal) within each window by size.
Declaration
public static IProducer<decimal?> Max(this IProducer<decimal?> source, int size, DeliveryPolicy<decimal?> deliveryPolicy = null)
Parameters
Type | Name | Description |
---|---|---|
IProducer<System. |
source | The source stream. |
System. |
size | Window size. |
Delivery |
deliveryPolicy | An optional delivery policy. |
Returns
Type | Description |
---|---|
IProducer<System. |
Stream of maximum (nullable decimal) values. |
Max(IProducer<Nullable<Decimal>>, TimeSpan, DeliveryPolicy<Nullable<Decimal>>)
Compute the maximum (nullable decimal) within each window by time span.
Declaration
public static IProducer<decimal?> Max(this IProducer<decimal?> source, TimeSpan timeSpan, DeliveryPolicy<decimal?> deliveryPolicy = null)
Parameters
Type | Name | Description |
---|---|---|
IProducer<System. |
source | The source stream. |
Time |
timeSpan | Window time span. |
Delivery |
deliveryPolicy | An optional delivery policy. |
Returns
Type | Description |
---|---|
IProducer<System. |
Stream of maximum (nullable decimal) values. |
Max(IProducer<Nullable<Double>[]>, DeliveryPolicy<Nullable<Double>[]>)
Compute the maximum nullable double within each window.
Declaration
public static IProducer<double?> Max(this IProducer<double? []> source, DeliveryPolicy<double? []> deliveryPolicy = null)
Parameters
Type | Name | Description |
---|---|---|
IProducer<System. |
source | The source stream. |
Delivery |
deliveryPolicy | An optional delivery policy. |
Returns
Type | Description |
---|---|
IProducer<System. |
Stream of maximum (nullable double) values. |
Max(IProducer<Nullable<Double>>, Int32, DeliveryPolicy<Nullable<Double>>)
Compute the maximum (nullable double) within each window by size.
Declaration
public static IProducer<double?> Max(this IProducer<double?> source, int size, DeliveryPolicy<double?> deliveryPolicy = null)
Parameters
Type | Name | Description |
---|---|---|
IProducer<System. |
source | The source stream. |
System. |
size | Window size. |
Delivery |
deliveryPolicy | An optional delivery policy. |
Returns
Type | Description |
---|---|
IProducer<System. |
Stream of maximum (nullable double) values. |
Max(IProducer<Nullable<Double>>, TimeSpan, DeliveryPolicy<Nullable<Double>>)
Compute the maximum (nullable double) within each window by time span.
Declaration
public static IProducer<double?> Max(this IProducer<double?> source, TimeSpan timeSpan, DeliveryPolicy<double?> deliveryPolicy = null)
Parameters
Type | Name | Description |
---|---|---|
IProducer<System. |
source | The source stream. |
Time |
timeSpan | Window time span. |
Delivery |
deliveryPolicy | An optional delivery policy. |
Returns
Type | Description |
---|---|
IProducer<System. |
Stream of maximum (nullable double) values. |
Max(IProducer<Nullable<Int32>[]>, DeliveryPolicy<Nullable<Int32>[]>)
Compute the maximum nullable int within each window.
Declaration
public static IProducer<int?> Max(this IProducer<int? []> source, DeliveryPolicy<int? []> deliveryPolicy = null)
Parameters
Type | Name | Description |
---|---|---|
IProducer<System. |
source | The source stream. |
Delivery |
deliveryPolicy | An optional delivery policy. |
Returns
Type | Description |
---|---|
IProducer<System. |
Stream of maximum (nullable int) values. |
Max(IProducer<Nullable<Int32>>, Int32, DeliveryPolicy<Nullable<Int32>>)
Compute the maximum (nullable int) within each window by size.
Declaration
public static IProducer<int?> Max(this IProducer<int?> source, int size, DeliveryPolicy<int?> deliveryPolicy = null)
Parameters
Type | Name | Description |
---|---|---|
IProducer<System. |
source | The source stream. |
System. |
size | Window size. |
Delivery |
deliveryPolicy | An optional delivery policy. |
Returns
Type | Description |
---|---|
IProducer<System. |
Stream of maximum (nullable int) values. |
Max(IProducer<Nullable<Int32>>, TimeSpan, DeliveryPolicy<Nullable<Int32>>)
Compute the maximum (nullable int) within each window by time span.
Declaration
public static IProducer<int?> Max(this IProducer<int?> source, TimeSpan timeSpan, DeliveryPolicy<int?> deliveryPolicy = null)
Parameters
Type | Name | Description |
---|---|---|
IProducer<System. |
source | The source stream. |
Time |
timeSpan | Window time span. |
Delivery |
deliveryPolicy | An optional delivery policy. |
Returns
Type | Description |
---|---|
IProducer<System. |
Stream of maximum (nullable int) values. |
Max(IProducer<Nullable<Int64>[]>, DeliveryPolicy<Nullable<Int64>[]>)
Compute the maximum nullable long within each window.
Declaration
public static IProducer<long?> Max(this IProducer<long? []> source, DeliveryPolicy<long? []> deliveryPolicy = null)
Parameters
Type | Name | Description |
---|---|---|
IProducer<System. |
source | The source stream. |
Delivery |
deliveryPolicy | An optional delivery policy. |
Returns
Type | Description |
---|---|
IProducer<System. |
Stream of maximum (nullable long) values. |
Max(IProducer<Nullable<Int64>>, Int32, DeliveryPolicy<Nullable<Int64>>)
Compute the maximum (nullable long) within each window by size.
Declaration
public static IProducer<long?> Max(this IProducer<long?> source, int size, DeliveryPolicy<long?> deliveryPolicy = null)
Parameters
Type | Name | Description |
---|---|---|
IProducer<System. |
source | The source stream. |
System. |
size | Window size. |
Delivery |
deliveryPolicy | An optional delivery policy. |
Returns
Type | Description |
---|---|
IProducer<System. |
Stream of maximum (nullable long) values. |
Max(IProducer<Nullable<Int64>>, TimeSpan, DeliveryPolicy<Nullable<Int64>>)
Compute the maximum (nullable long) within each window by time span.
Declaration
public static IProducer<long?> Max(this IProducer<long?> source, TimeSpan timeSpan, DeliveryPolicy<long?> deliveryPolicy = null)
Parameters
Type | Name | Description |
---|---|---|
IProducer<System. |
source | The source stream. |
Time |
timeSpan | Window time span. |
Delivery |
deliveryPolicy | An optional delivery policy. |
Returns
Type | Description |
---|---|
IProducer<System. |
Stream of maximum (nullable long) values. |
Max(IProducer<Nullable<Single>[]>, DeliveryPolicy<Nullable<Single>[]>)
Compute the maximum nullable float within each window.
Declaration
public static IProducer<float?> Max(this IProducer<float? []> source, DeliveryPolicy<float? []> deliveryPolicy = null)
Parameters
Type | Name | Description |
---|---|---|
IProducer<System. |
source | The source stream. |
Delivery |
deliveryPolicy | An optional delivery policy. |
Returns
Type | Description |
---|---|
IProducer<System. |
Stream of maximum (nullable float) values. |
Max(IProducer<Nullable<Single>>, Int32, DeliveryPolicy<Nullable<Single>>)
Compute the maximum (nullable float) within each window by size.
Declaration
public static IProducer<float?> Max(this IProducer<float?> source, int size, DeliveryPolicy<float?> deliveryPolicy = null)
Parameters
Type | Name | Description |
---|---|---|
IProducer<System. |
source | The source stream. |
System. |
size | Window size. |
Delivery |
deliveryPolicy | An optional delivery policy. |
Returns
Type | Description |
---|---|
IProducer<System. |
Stream of maximum (nullable float) values. |
Max(IProducer<Nullable<Single>>, TimeSpan, DeliveryPolicy<Nullable<Single>>)
Compute the maximum (nullable float) within each window by time span.
Declaration
public static IProducer<float?> Max(this IProducer<float?> source, TimeSpan timeSpan, DeliveryPolicy<float?> deliveryPolicy = null)
Parameters
Type | Name | Description |
---|---|---|
IProducer<System. |
source | The source stream. |
Time |
timeSpan | Window time span. |
Delivery |
deliveryPolicy | An optional delivery policy. |
Returns
Type | Description |
---|---|
IProducer<System. |
Stream of maximum (nullable float) values. |
Max(IProducer<Single[]>, DeliveryPolicy<Single[]>)
Compute the maximum float within each window.
Declaration
public static IProducer<float> Max(this IProducer<float[]> source, DeliveryPolicy<float[]> deliveryPolicy = null)
Parameters
Type | Name | Description |
---|---|---|
IProducer<System. |
source | The source stream. |
Delivery |
deliveryPolicy | An optional delivery policy. |
Returns
Type | Description |
---|---|
IProducer<System. |
Stream of maximum (float) values. |
Max(IProducer<Single>, DeliveryPolicy<Single>)
Compute the maximum of a stream of float values.
Declaration
public static IProducer<float> Max(this IProducer<float> source, DeliveryPolicy<float> deliveryPolicy = null)
Parameters
Type | Name | Description |
---|---|---|
IProducer<System. |
source | The source stream. |
Delivery |
deliveryPolicy | An optional delivery policy. |
Returns
Type | Description |
---|---|
IProducer<System. |
Stream of maximum values. |
Remarks
This operator considers the maximum of a number and NaN to be NaN. Consequently, once a value of NaN is encountered on the source stream, the corresponding output value and all subsequent output values will be NaN.
Max(IProducer<Single>, Int32, DeliveryPolicy<Single>)
Compute the maximum (float) within each window by size.
Declaration
public static IProducer<float> Max(this IProducer<float> source, int size, DeliveryPolicy<float> deliveryPolicy = null)
Parameters
Type | Name | Description |
---|---|---|
IProducer<System. |
source | The source stream. |
System. |
size | Window size. |
Delivery |
deliveryPolicy | An optional delivery policy. |
Returns
Type | Description |
---|---|
IProducer<System. |
Stream of maximum (float) values. |
Max(IProducer<Single>, TimeSpan, DeliveryPolicy<Single>)
Compute the maximum (float) within each window by time span.
Declaration
public static IProducer<float> Max(this IProducer<float> source, TimeSpan timeSpan, DeliveryPolicy<float> deliveryPolicy = null)
Parameters
Type | Name | Description |
---|---|---|
IProducer<System. |
source | The source stream. |
Time |
timeSpan | Window time span. |
Delivery |
deliveryPolicy | An optional delivery policy. |
Returns
Type | Description |
---|---|
IProducer<System. |
Stream of maximum (float) values. |
Max<TSource>(IProducer<TSource[]>, Func<TSource, Decimal>, DeliveryPolicy<TSource[]>)
Invoke a transform function on each element and compute the maximum decimal within each window.
Declaration
public static IProducer<decimal> Max<TSource>(this IProducer<TSource[]> source, Func<TSource, decimal> selector, DeliveryPolicy<TSource[]> deliveryPolicy = null)
Parameters
Type | Name | Description |
---|---|---|
IProducer<TSource[]> | source | The source stream. |
Func<TSource, System. |
selector | Transform function applied to each element. |
Delivery |
deliveryPolicy | An optional delivery policy. |
Returns
Type | Description |
---|---|
IProducer<System. |
Stream of maximum (decimal) values. |
Type Parameters
Name | Description |
---|---|
TSource | The source message type. |
Max<TSource>(IProducer<TSource[]>, Func<TSource, Double>, DeliveryPolicy<TSource[]>)
Invoke a transform function on each element and compute the maximum double within each window.
Declaration
public static IProducer<double> Max<TSource>(this IProducer<TSource[]> source, Func<TSource, double> selector, DeliveryPolicy<TSource[]> deliveryPolicy = null)
Parameters
Type | Name | Description |
---|---|---|
IProducer<TSource[]> | source | The source stream. |
Func<TSource, System. |
selector | Transform function applied to each element. |
Delivery |
deliveryPolicy | An optional delivery policy. |
Returns
Type | Description |
---|---|
IProducer<System. |
Stream of maximum (double) values. |
Type Parameters
Name | Description |
---|---|
TSource | The source message type. |
Max<TSource>(IProducer<TSource[]>, Func<TSource, Int32>, DeliveryPolicy<TSource[]>)
Invoke a transform function on each element and compute the maximum int within each window.
Declaration
public static IProducer<int> Max<TSource>(this IProducer<TSource[]> source, Func<TSource, int> selector, DeliveryPolicy<TSource[]> deliveryPolicy = null)
Parameters
Type | Name | Description |
---|---|---|
IProducer<TSource[]> | source | The source stream. |
Func<TSource, System. |
selector | Transform function applied to each element. |
Delivery |
deliveryPolicy | An optional delivery policy. |
Returns
Type | Description |
---|---|
IProducer<System. |
Stream of maximum (int) values. |
Type Parameters
Name | Description |
---|---|
TSource | The source message type. |
Max<TSource>(IProducer<TSource[]>, Func<TSource, Int64>, DeliveryPolicy<TSource[]>)
Invoke a transform function on each element and compute the maximum long within each window.
Declaration
public static IProducer<long> Max<TSource>(this IProducer<TSource[]> source, Func<TSource, long> selector, DeliveryPolicy<TSource[]> deliveryPolicy = null)
Parameters
Type | Name | Description |
---|---|---|
IProducer<TSource[]> | source | The source stream. |
Func<TSource, System. |
selector | Transform function applied to each element. |
Delivery |
deliveryPolicy | An optional delivery policy. |
Returns
Type | Description |
---|---|
IProducer<System. |
Stream of maximum (long) values. |
Type Parameters
Name | Description |
---|---|
TSource | The source message type. |
Max<TSource>(IProducer<TSource[]>, Func<TSource, Nullable<Decimal>>, DeliveryPolicy<TSource[]>)
Invoke a transform function on each element and compute the maximum nullable decimal within each window.
Declaration
public static IProducer<decimal?> Max<TSource>(this IProducer<TSource[]> source, Func<TSource, decimal?> selector, DeliveryPolicy<TSource[]> deliveryPolicy = null)
Parameters
Type | Name | Description |
---|---|---|
IProducer<TSource[]> | source | The source stream. |
Func<TSource, System. |
selector | Transform function applied to each element. |
Delivery |
deliveryPolicy | An optional delivery policy. |
Returns
Type | Description |
---|---|
IProducer<System. |
Stream of maximum (nullable decimal) values. |
Type Parameters
Name | Description |
---|---|
TSource | The source message type. |
Max<TSource>(IProducer<TSource[]>, Func<TSource, Nullable<Double>>, DeliveryPolicy<TSource[]>)
Invoke a transform function on each element and compute the maximum nullable double within each window.
Declaration
public static IProducer<double?> Max<TSource>(this IProducer<TSource[]> source, Func<TSource, double?> selector, DeliveryPolicy<TSource[]> deliveryPolicy = null)
Parameters
Type | Name | Description |
---|---|---|
IProducer<TSource[]> | source | The source stream. |
Func<TSource, System. |
selector | Transform function applied to each element. |
Delivery |
deliveryPolicy | An optional delivery policy. |
Returns
Type | Description |
---|---|
IProducer<System. |
Stream of maximum (nullable double) values. |
Type Parameters
Name | Description |
---|---|
TSource | The source message type. |
Max<TSource>(IProducer<TSource[]>, Func<TSource, Nullable<Int32>>, DeliveryPolicy<TSource[]>)
Invoke a transform function on each element and compute the maximum nullable int within each window.
Declaration
public static IProducer<int?> Max<TSource>(this IProducer<TSource[]> source, Func<TSource, int?> selector, DeliveryPolicy<TSource[]> deliveryPolicy = null)
Parameters
Type | Name | Description |
---|---|---|
IProducer<TSource[]> | source | The source stream. |
Func<TSource, System. |
selector | Transform function applied to each element. |
Delivery |
deliveryPolicy | An optional delivery policy. |
Returns
Type | Description |
---|---|
IProducer<System. |
Stream of maximum (nullable int) values. |
Type Parameters
Name | Description |
---|---|
TSource | The source message type. |
Max<TSource>(IProducer<TSource[]>, Func<TSource, Nullable<Int64>>, DeliveryPolicy<TSource[]>)
Invoke a transform function on each element and compute the maximum nullable long within each window.
Declaration
public static IProducer<long?> Max<TSource>(this IProducer<TSource[]> source, Func<TSource, long?> selector, DeliveryPolicy<TSource[]> deliveryPolicy = null)
Parameters
Type | Name | Description |
---|---|---|
IProducer<TSource[]> | source | The source stream. |
Func<TSource, System. |
selector | Transform function applied to each element. |
Delivery |
deliveryPolicy | An optional delivery policy. |
Returns
Type | Description |
---|---|
IProducer<System. |
Stream of maximum (nullable long) values. |
Type Parameters
Name | Description |
---|---|
TSource | The source message type. |
Max<TSource>(IProducer<TSource[]>, Func<TSource, Nullable<Single>>, DeliveryPolicy<TSource[]>)
Invoke a transform function on each element and compute the maximum nullable float within each window.
Declaration
public static IProducer<float?> Max<TSource>(this IProducer<TSource[]> source, Func<TSource, float?> selector, DeliveryPolicy<TSource[]> deliveryPolicy = null)
Parameters
Type | Name | Description |
---|---|---|
IProducer<TSource[]> | source | The source stream. |
Func<TSource, System. |
selector | Transform function applied to each element. |
Delivery |
deliveryPolicy | An optional delivery policy. |
Returns
Type | Description |
---|---|
IProducer<System. |
Stream of maximum (nullable float) values. |
Type Parameters
Name | Description |
---|---|
TSource | The source message type. |
Max<TSource>(IProducer<TSource[]>, Func<TSource, Single>, DeliveryPolicy<TSource[]>)
Invoke a transform function on each element and compute the maximum float within each window.
Declaration
public static IProducer<float> Max<TSource>(this IProducer<TSource[]> source, Func<TSource, float> selector, DeliveryPolicy<TSource[]> deliveryPolicy = null)
Parameters
Type | Name | Description |
---|---|---|
IProducer<TSource[]> | source | The source stream. |
Func<TSource, System. |
selector | Transform function applied to each element. |
Delivery |
deliveryPolicy | An optional delivery policy. |
Returns
Type | Description |
---|---|
IProducer<System. |
Stream of maximum (float) values. |
Type Parameters
Name | Description |
---|---|
TSource | The source message type. |
Max<TSource>(IProducer<TSource[]>, DeliveryPolicy<TSource[]>)
Compute the maximum value within each window.
Declaration
public static IProducer<TSource> Max<TSource>(this IProducer<TSource[]> source, DeliveryPolicy<TSource[]> deliveryPolicy = null)
Parameters
Type | Name | Description |
---|---|---|
IProducer<TSource[]> | source | The source stream. |
Delivery |
deliveryPolicy | An optional delivery policy. |
Returns
Type | Description |
---|---|
IProducer<TSource> | Stream of maximum values. |
Type Parameters
Name | Description |
---|---|
TSource | The source message type. |
Max<T>(IProducer<T>, IComparer<T>, DeliveryPolicy<T>)
Compute the maximum of a stream of numeric values.
Declaration
public static IProducer<T> Max<T>(this IProducer<T> source, IComparer<T> comparer, DeliveryPolicy<T> deliveryPolicy = null)
Parameters
Type | Name | Description |
---|---|---|
IProducer<T> | source | The source stream. |
IComparer<T> | comparer | Comparer used to compare values. |
Delivery |
deliveryPolicy | An optional delivery policy. |
Returns
Type | Description |
---|---|
IProducer<T> | Stream of maximum values. |
Type Parameters
Name | Description |
---|---|
T | The message type. |
Max<T>(IProducer<T>, DeliveryPolicy<T>)
Compute the maximum of a stream of numeric values.
Declaration
public static IProducer<T> Max<T>(this IProducer<T> source, DeliveryPolicy<T> deliveryPolicy = null)
Parameters
Type | Name | Description |
---|---|---|
IProducer<T> | source | The source stream. |
Delivery |
deliveryPolicy | An optional delivery policy. |
Returns
Type | Description |
---|---|
IProducer<T> | Stream of maximum values. |
Type Parameters
Name | Description |
---|---|
T | The message type. |
Max<T>(IProducer<T>, Predicate<T>, IComparer<T>, DeliveryPolicy<T>)
Compute the maximum of a stream of numeric values.
Declaration
public static IProducer<T> Max<T>(this IProducer<T> source, Predicate<T> condition, IComparer<T> comparer, DeliveryPolicy<T> deliveryPolicy = null)
Parameters
Type | Name | Description |
---|---|---|
IProducer<T> | source | The source stream. |
Predicate<T> | condition | A function to test each value for a condition. |
IComparer<T> | comparer | Comparer used to compare values. |
Delivery |
deliveryPolicy | An optional delivery policy. |
Returns
Type | Description |
---|---|
IProducer<T> | Stream of maximum values. |
Type Parameters
Name | Description |
---|---|
T | The message type. |
Max<T>(IProducer<T>, Predicate<T>, DeliveryPolicy<T>)
Compute the maximum of a stream of numeric values.
Declaration
public static IProducer<T> Max<T>(this IProducer<T> source, Predicate<T> condition, DeliveryPolicy<T> deliveryPolicy = null)
Parameters
Type | Name | Description |
---|---|---|
IProducer<T> | source | The source stream. |
Predicate<T> | condition | A function to test each value for a condition. |
Delivery |
deliveryPolicy | An optional delivery policy. |
Returns
Type | Description |
---|---|
IProducer<T> | Stream of maximum values. |
Type Parameters
Name | Description |
---|---|
T | The message type. |
Max<TSource, TResult>(IProducer<TSource[]>, Func<TSource, TResult>, DeliveryPolicy<TSource[]>)
Invoke a transform function on each element and compute the maximum value within each window.
Declaration
public static IProducer<TResult> Max<TSource, TResult>(this IProducer<TSource[]> source, Func<TSource, TResult> selector, DeliveryPolicy<TSource[]> deliveryPolicy = null)
Parameters
Type | Name | Description |
---|---|---|
IProducer<TSource[]> | source | The source stream. |
Func<TSource, TResult> | selector | Transform function applied to each element. |
Delivery |
deliveryPolicy | An optional delivery policy. |
Returns
Type | Description |
---|---|
IProducer<TResult> | Stream of maximum values. |
Type Parameters
Name | Description |
---|---|
TSource | The source message type. |
TResult | The resulting message type. |
Merge<T>(IEnumerable<IProducer<T>>, DeliveryPolicy<T>, String)
Merge one or more streams (T) into a single stream (Message{T}) interleaved in wall-clock time.
Declaration
public static IProducer<Message<T>> Merge<T>(IEnumerable<IProducer<T>> inputs, DeliveryPolicy<T> deliveryPolicy = null, string name = "Merge")
Parameters
Type | Name | Description |
---|---|---|
IEnumerable<IProducer<T>> | inputs | Collection of homogeneous inputs. |
Delivery |
deliveryPolicy | An optional delivery policy. |
System. |
name | An optional name for this stream operator. |
Returns
Type Parameters
Name | Description |
---|---|
T | Type of messages. |
Remarks
Messages are produced in the order they arrive, in wall-clock time; potentially out of originating-time order.
Merge<T>(IProducer<T>, IProducer<T>, DeliveryPolicy<T>, String)
Merge two streams (T) into a single stream (Message{T}) interleaved in wall-clock time.
Declaration
public static IProducer<Message<T>> Merge<T>(this IProducer<T> input1, IProducer<T> input2, DeliveryPolicy<T> deliveryPolicy = null, string name = "Merge")
Parameters
Type | Name | Description |
---|---|---|
IProducer<T> | input1 | First input stream. |
IProducer<T> | input2 | Second input stream with same message type. |
Delivery |
deliveryPolicy | An optional delivery policy. |
System. |
name | An optional name for this stream operator. |
Returns
Type Parameters
Name | Description |
---|---|
T | Type of messages. |
Remarks
Messages are produced in the order they arrive, in wall-clock time; potentially out of originating-time order.
Min(IProducer<Decimal[]>, DeliveryPolicy<Decimal[]>)
Compute the minimum int within each window.
Declaration
public static IProducer<decimal> Min(this IProducer<decimal[]> source, DeliveryPolicy<decimal[]> deliveryPolicy = null)
Parameters
Type | Name | Description |
---|---|---|
IProducer<System. |
source | The source stream. |
Delivery |
deliveryPolicy | An optional delivery policy. |
Returns
Type | Description |
---|---|
IProducer<System. |
Stream of minimum (int) values. |
Min(IProducer<Decimal>, Int32, DeliveryPolicy<Decimal>)
Compute the minimum (decimal) within each window by size.
Declaration
public static IProducer<decimal> Min(this IProducer<decimal> source, int size, DeliveryPolicy<decimal> deliveryPolicy = null)
Parameters
Type | Name | Description |
---|---|---|
IProducer<System. |
source | The source stream. |
System. |
size | Window size. |
Delivery |
deliveryPolicy | An optional delivery policy. |
Returns
Type | Description |
---|---|
IProducer<System. |
Stream of minimum (decimal) values. |
Min(IProducer<Decimal>, TimeSpan, DeliveryPolicy<Decimal>)
Compute the minimum (decimal) within each window by time span.
Declaration
public static IProducer<decimal> Min(this IProducer<decimal> source, TimeSpan timeSpan, DeliveryPolicy<decimal> deliveryPolicy = null)
Parameters
Type | Name | Description |
---|---|---|
IProducer<System. |
source | The source stream. |
Time |
timeSpan | Window time span. |
Delivery |
deliveryPolicy | An optional delivery policy. |
Returns
Type | Description |
---|---|
IProducer<System. |
Stream of minimum (decimal) values. |
Min(IProducer<Double[]>, DeliveryPolicy<Double[]>)
Compute the minimum int within each window.
Declaration
public static IProducer<double> Min(this IProducer<double[]> source, DeliveryPolicy<double[]> deliveryPolicy = null)
Parameters
Type | Name | Description |
---|---|---|
IProducer<System. |
source | The source stream. |
Delivery |
deliveryPolicy | An optional delivery policy. |
Returns
Type | Description |
---|---|
IProducer<System. |
Stream of minimum (int) values. |
Min(IProducer<Double>, DeliveryPolicy<Double>)
Compute the minimum of a stream of double values.
Declaration
public static IProducer<double> Min(this IProducer<double> source, DeliveryPolicy<double> deliveryPolicy = null)
Parameters
Type | Name | Description |
---|---|---|
IProducer<System. |
source | The source stream. |
Delivery |
deliveryPolicy | An optional delivery policy. |
Returns
Type | Description |
---|---|
IProducer<System. |
Stream of minimum values. |
Remarks
This operator considers the minimum of a number and NaN to be NaN. Consequently, once a value of NaN is encountered on the source stream, the corresponding output value and all subsequent output values will be NaN.
Min(IProducer<Double>, Int32, DeliveryPolicy<Double>)
Compute the minimum (double) within each window by size.
Declaration
public static IProducer<double> Min(this IProducer<double> source, int size, DeliveryPolicy<double> deliveryPolicy = null)
Parameters
Type | Name | Description |
---|---|---|
IProducer<System. |
source | The source stream. |
System. |
size | Window size. |
Delivery |
deliveryPolicy | An optional delivery policy. |
Returns
Type | Description |
---|---|
IProducer<System. |
Stream of minimum (double) values. |
Min(IProducer<Double>, TimeSpan, DeliveryPolicy<Double>)
Compute the minimum (double) within each window by time span.
Declaration
public static IProducer<double> Min(this IProducer<double> source, TimeSpan timeSpan, DeliveryPolicy<double> deliveryPolicy = null)
Parameters
Type | Name | Description |
---|---|---|
IProducer<System. |
source | The source stream. |
Time |
timeSpan | Window time span. |
Delivery |
deliveryPolicy | An optional delivery policy. |
Returns
Type | Description |
---|---|
IProducer<System. |
Stream of minimum (double) values. |
Min(IProducer<Int32[]>, DeliveryPolicy<Int32[]>)
Compute the minimum int within each window.
Declaration
public static IProducer<int> Min(this IProducer<int[]> source, DeliveryPolicy<int[]> deliveryPolicy = null)
Parameters
Type | Name | Description |
---|---|---|
IProducer<System. |
source | The source stream. |
Delivery |
deliveryPolicy | An optional delivery policy. |
Returns
Type | Description |
---|---|
IProducer<System. |
Stream of minimum (int) values. |
Min(IProducer<Int32>, Int32, DeliveryPolicy<Int32>)
Compute the minimum (int) within each window by size.
Declaration
public static IProducer<int> Min(this IProducer<int> source, int size, DeliveryPolicy<int> deliveryPolicy = null)
Parameters
Type | Name | Description |
---|---|---|
IProducer<System. |
source | The source stream. |
System. |
size | Window size. |
Delivery |
deliveryPolicy | An optional delivery policy. |
Returns
Type | Description |
---|---|
IProducer<System. |
Stream of minimum (int) values. |
Min(IProducer<Int32>, TimeSpan, DeliveryPolicy<Int32>)
Compute the minimum (int) within each window by time span.
Declaration
public static IProducer<int> Min(this IProducer<int> source, TimeSpan timeSpan, DeliveryPolicy<int> deliveryPolicy = null)
Parameters
Type | Name | Description |
---|---|---|
IProducer<System. |
source | The source stream. |
Time |
timeSpan | Window time span. |
Delivery |
deliveryPolicy | An optional delivery policy. |
Returns
Type | Description |
---|---|
IProducer<System. |
Stream of minimum (int) values. |
Min(IProducer<Int64[]>, DeliveryPolicy<Int64[]>)
Compute the minimum int within each window.
Declaration
public static IProducer<long> Min(this IProducer<long[]> source, DeliveryPolicy<long[]> deliveryPolicy = null)
Parameters
Type | Name | Description |
---|---|---|
IProducer<System. |
source | The source stream. |
Delivery |
deliveryPolicy | An optional delivery policy. |
Returns
Type | Description |
---|---|
IProducer<System. |
Stream of minimum (int) values. |
Min(IProducer<Int64>, Int32, DeliveryPolicy<Int64>)
Compute the minimum (long) within each window by size.
Declaration
public static IProducer<long> Min(this IProducer<long> source, int size, DeliveryPolicy<long> deliveryPolicy = null)
Parameters
Type | Name | Description |
---|---|---|
IProducer<System. |
source | The source stream. |
System. |
size | Window size. |
Delivery |
deliveryPolicy | An optional delivery policy. |
Returns
Type | Description |
---|---|
IProducer<System. |
Stream of minimum (long) values. |
Min(IProducer<Int64>, TimeSpan, DeliveryPolicy<Int64>)
Compute the minimum (long) within each window by time span.
Declaration
public static IProducer<long> Min(this IProducer<long> source, TimeSpan timeSpan, DeliveryPolicy<long> deliveryPolicy = null)
Parameters
Type | Name | Description |
---|---|---|
IProducer<System. |
source | The source stream. |
Time |
timeSpan | Window time span. |
Delivery |
deliveryPolicy | An optional delivery policy. |
Returns
Type | Description |
---|---|
IProducer<System. |
Stream of minimum (long) values. |
Min(IProducer<Nullable<Decimal>[]>, DeliveryPolicy<Nullable<Decimal>[]>)
Compute the minimum int within each window.
Declaration
public static IProducer<decimal?> Min(this IProducer<decimal? []> source, DeliveryPolicy<decimal? []> deliveryPolicy = null)
Parameters
Type | Name | Description |
---|---|---|
IProducer<System. |
source | The source stream. |
Delivery |
deliveryPolicy | An optional delivery policy. |
Returns
Type | Description |
---|---|
IProducer<System. |
Stream of minimum (int) values. |
Min(IProducer<Nullable<Decimal>>, Int32, DeliveryPolicy<Nullable<Decimal>>)
Compute the minimum (nullable decimal) within each window by size.
Declaration
public static IProducer<decimal?> Min(this IProducer<decimal?> source, int size, DeliveryPolicy<decimal?> deliveryPolicy = null)
Parameters
Type | Name | Description |
---|---|---|
IProducer<System. |
source | The source stream. |
System. |
size | Window size. |
Delivery |
deliveryPolicy | An optional delivery policy. |
Returns
Type | Description |
---|---|
IProducer<System. |
Stream of minimum (nullable decimal) values. |
Min(IProducer<Nullable<Decimal>>, TimeSpan, DeliveryPolicy<Nullable<Decimal>>)
Compute the minimum (nullable decimal) within each window by time span.
Declaration
public static IProducer<decimal?> Min(this IProducer<decimal?> source, TimeSpan timeSpan, DeliveryPolicy<decimal?> deliveryPolicy = null)
Parameters
Type | Name | Description |
---|---|---|
IProducer<System. |
source | The source stream. |
Time |
timeSpan | Window time span. |
Delivery |
deliveryPolicy | An optional delivery policy. |
Returns
Type | Description |
---|---|
IProducer<System. |
Stream of minimum (nullable decimal) values. |
Min(IProducer<Nullable<Double>[]>, DeliveryPolicy<Nullable<Double>[]>)
Compute the minimum int within each window.
Declaration
public static IProducer<double?> Min(this IProducer<double? []> source, DeliveryPolicy<double? []> deliveryPolicy = null)
Parameters
Type | Name | Description |
---|---|---|
IProducer<System. |
source | The source stream. |
Delivery |
deliveryPolicy | An optional delivery policy. |
Returns
Type | Description |
---|---|
IProducer<System. |
Stream of minimum (int) values. |
Min(IProducer<Nullable<Double>>, Int32, DeliveryPolicy<Nullable<Double>>)
Compute the minimum (nullable double) within each window by size.
Declaration
public static IProducer<double?> Min(this IProducer<double?> source, int size, DeliveryPolicy<double?> deliveryPolicy = null)
Parameters
Type | Name | Description |
---|---|---|
IProducer<System. |
source | The source stream. |
System. |
size | Window size. |
Delivery |
deliveryPolicy | An optional delivery policy. |
Returns
Type | Description |
---|---|
IProducer<System. |
Stream of minimum (nullable double) values. |
Min(IProducer<Nullable<Double>>, TimeSpan, DeliveryPolicy<Nullable<Double>>)
Compute the minimum (nullable double) within each window by time span.
Declaration
public static IProducer<double?> Min(this IProducer<double?> source, TimeSpan timeSpan, DeliveryPolicy<double?> deliveryPolicy = null)
Parameters
Type | Name | Description |
---|---|---|
IProducer<System. |
source | The source stream. |
Time |
timeSpan | Window time span. |
Delivery |
deliveryPolicy | An optional delivery policy. |
Returns
Type | Description |
---|---|
IProducer<System. |
Stream of minimum (nullable double) values. |
Min(IProducer<Nullable<Int32>[]>, DeliveryPolicy<Nullable<Int32>[]>)
Compute the minimum int within each window.
Declaration
public static IProducer<int?> Min(this IProducer<int? []> source, DeliveryPolicy<int? []> deliveryPolicy = null)
Parameters
Type | Name | Description |
---|---|---|
IProducer<System. |
source | The source stream. |
Delivery |
deliveryPolicy | An optional delivery policy. |
Returns
Type | Description |
---|---|
IProducer<System. |
Stream of minimum (int) values. |
Min(IProducer<Nullable<Int32>>, Int32, DeliveryPolicy<Nullable<Int32>>)
Compute the minimum (nullable int) within each window by size.
Declaration
public static IProducer<int?> Min(this IProducer<int?> source, int size, DeliveryPolicy<int?> deliveryPolicy = null)
Parameters
Type | Name | Description |
---|---|---|
IProducer<System. |
source | The source stream. |
System. |
size | Window size. |
Delivery |
deliveryPolicy | An optional delivery policy. |
Returns
Type | Description |
---|---|
IProducer<System. |
Stream of minimum (nullable int) values. |
Min(IProducer<Nullable<Int32>>, TimeSpan, DeliveryPolicy<Nullable<Int32>>)
Compute the minimum (nullable long) within each window by time span.
Declaration
public static IProducer<int?> Min(this IProducer<int?> source, TimeSpan timeSpan, DeliveryPolicy<int?> deliveryPolicy = null)
Parameters
Type | Name | Description |
---|---|---|
IProducer<System. |
source | The source stream. |
Time |
timeSpan | Window time span. |
Delivery |
deliveryPolicy | An optional delivery policy. |
Returns
Type | Description |
---|---|
IProducer<System. |
Stream of minimum (nullable long) values. |
Min(IProducer<Nullable<Int64>[]>, DeliveryPolicy<Nullable<Int64>[]>)
Compute the minimum int within each window.
Declaration
public static IProducer<long?> Min(this IProducer<long? []> source, DeliveryPolicy<long? []> deliveryPolicy = null)
Parameters
Type | Name | Description |
---|---|---|
IProducer<System. |
source | The source stream. |
Delivery |
deliveryPolicy | An optional delivery policy. |
Returns
Type | Description |
---|---|
IProducer<System. |
Stream of minimum (int) values. |
Min(IProducer<Nullable<Int64>>, Int32, DeliveryPolicy<Nullable<Int64>>)
Compute the minimum (nullable long) within each window by size.
Declaration
public static IProducer<long?> Min(this IProducer<long?> source, int size, DeliveryPolicy<long?> deliveryPolicy = null)
Parameters
Type | Name | Description |
---|---|---|
IProducer<System. |
source | The source stream. |
System. |
size | Window size. |
Delivery |
deliveryPolicy | An optional delivery policy. |
Returns
Type | Description |
---|---|
IProducer<System. |
Stream of minimum (nullable long) values. |
Min(IProducer<Nullable<Int64>>, TimeSpan, DeliveryPolicy<Nullable<Int64>>)
Compute the minimum (nullable long) within each window by time span.
Declaration
public static IProducer<long?> Min(this IProducer<long?> source, TimeSpan timeSpan, DeliveryPolicy<long?> deliveryPolicy = null)
Parameters
Type | Name | Description |
---|---|---|
IProducer<System. |
source | The source stream. |
Time |
timeSpan | Window time span. |
Delivery |
deliveryPolicy | An optional delivery policy. |
Returns
Type | Description |
---|---|
IProducer<System. |
Stream of minimum (nullable long) values. |
Min(IProducer<Nullable<Single>[]>, DeliveryPolicy<Nullable<Single>[]>)
Compute the minimum int within each window.
Declaration
public static IProducer<float?> Min(this IProducer<float? []> source, DeliveryPolicy<float? []> deliveryPolicy = null)
Parameters
Type | Name | Description |
---|---|---|
IProducer<System. |
source | The source stream. |
Delivery |
deliveryPolicy | An optional delivery policy. |
Returns
Type | Description |
---|---|
IProducer<System. |
Stream of minimum (int) values. |
Min(IProducer<Nullable<Single>>, Int32, DeliveryPolicy<Nullable<Single>>)
Compute the minimum (nullable float) within each window by size.
Declaration
public static IProducer<float?> Min(this IProducer<float?> source, int size, DeliveryPolicy<float?> deliveryPolicy = null)
Parameters
Type | Name | Description |
---|---|---|
IProducer<System. |
source | The source stream. |
System. |
size | Window size. |
Delivery |
deliveryPolicy | An optional delivery policy. |
Returns
Type | Description |
---|---|
IProducer<System. |
Stream of minimum (nullable float) values. |
Min(IProducer<Nullable<Single>>, TimeSpan, DeliveryPolicy<Nullable<Single>>)
Compute the minimum (nullable float) within each window by time span.
Declaration
public static IProducer<float?> Min(this IProducer<float?> source, TimeSpan timeSpan, DeliveryPolicy<float?> deliveryPolicy = null)
Parameters
Type | Name | Description |
---|---|---|
IProducer<System. |
source | The source stream. |
Time |
timeSpan | Window time span. |
Delivery |
deliveryPolicy | An optional delivery policy. |
Returns
Type | Description |
---|---|
IProducer<System. |
Stream of minimum (nullable float) values. |
Min(IProducer<Single[]>, DeliveryPolicy<Single[]>)
Compute the minimum int within each window.
Declaration
public static IProducer<float> Min(this IProducer<float[]> source, DeliveryPolicy<float[]> deliveryPolicy = null)
Parameters
Type | Name | Description |
---|---|---|
IProducer<System. |
source | The source stream. |
Delivery |
deliveryPolicy | An optional delivery policy. |
Returns
Type | Description |
---|---|
IProducer<System. |
Stream of minimum (int) values. |
Min(IProducer<Single>, DeliveryPolicy<Single>)
Compute the minimum of a stream of float values.
Declaration
public static IProducer<float> Min(this IProducer<float> source, DeliveryPolicy<float> deliveryPolicy = null)
Parameters
Type | Name | Description |
---|---|---|
IProducer<System. |
source | The source stream. |
Delivery |
deliveryPolicy | An optional delivery policy. |
Returns
Type | Description |
---|---|
IProducer<System. |
Stream of minimum values. |
Remarks
This operator considers the minimum of a number and NaN to be NaN. Consequently, once a value of NaN is encountered on the source stream, the corresponding output value and all subsequent output values will be NaN.
Min(IProducer<Single>, Int32, DeliveryPolicy<Single>)
Compute the minimum (float) within each window by size.
Declaration
public static IProducer<float> Min(this IProducer<float> source, int size, DeliveryPolicy<float> deliveryPolicy = null)
Parameters
Type | Name | Description |
---|---|---|
IProducer<System. |
source | The source stream. |
System. |
size | Window size. |
Delivery |
deliveryPolicy | An optional delivery policy. |
Returns
Type | Description |
---|---|
IProducer<System. |
Stream of minimum (float) values. |
Min(IProducer<Single>, TimeSpan, DeliveryPolicy<Single>)
Compute the minimum (float) within each window by time span.
Declaration
public static IProducer<float> Min(this IProducer<float> source, TimeSpan timeSpan, DeliveryPolicy<float> deliveryPolicy = null)
Parameters
Type | Name | Description |
---|---|---|
IProducer<System. |
source | The source stream. |
Time |
timeSpan | Window time span. |
Delivery |
deliveryPolicy | An optional delivery policy. |
Returns
Type | Description |
---|---|
IProducer<System. |
Stream of minimum (float) values. |
Min<TSource>(IProducer<TSource[]>, Func<TSource, Decimal>, DeliveryPolicy<TSource[]>)
Invoke a transform function on each element and compute the minimum decimal within each window.
Declaration
public static IProducer<decimal> Min<TSource>(this IProducer<TSource[]> source, Func<TSource, decimal> selector, DeliveryPolicy<TSource[]> deliveryPolicy = null)
Parameters
Type | Name | Description |
---|---|---|
IProducer<TSource[]> | source | The source stream. |
Func<TSource, System. |
selector | Transform function applied to each element. |
Delivery |
deliveryPolicy | An optional delivery policy. |
Returns
Type | Description |
---|---|
IProducer<System. |
Stream of minimum (decimal) values. |
Type Parameters
Name | Description |
---|---|
TSource | The source message type. |
Min<TSource>(IProducer<TSource[]>, Func<TSource, Double>, DeliveryPolicy<TSource[]>)
Invoke a transform function on each element and compute the minimum double within each window.
Declaration
public static IProducer<double> Min<TSource>(this IProducer<TSource[]> source, Func<TSource, double> selector, DeliveryPolicy<TSource[]> deliveryPolicy = null)
Parameters
Type | Name | Description |
---|---|---|
IProducer<TSource[]> | source | The source stream. |
Func<TSource, System. |
selector | Transform function applied to each element. |
Delivery |
deliveryPolicy | An optional delivery policy. |
Returns
Type | Description |
---|---|
IProducer<System. |
Stream of minimum (double) values. |
Type Parameters
Name | Description |
---|---|
TSource | The source message type. |
Min<TSource>(IProducer<TSource[]>, Func<TSource, Int32>, DeliveryPolicy<TSource[]>)
Invoke a transform function on each element and compute the minimum int within each window.
Declaration
public static IProducer<int> Min<TSource>(this IProducer<TSource[]> source, Func<TSource, int> selector, DeliveryPolicy<TSource[]> deliveryPolicy = null)
Parameters
Type | Name | Description |
---|---|---|
IProducer<TSource[]> | source | The source stream. |
Func<TSource, System. |
selector | Transform function applied to each element. |
Delivery |
deliveryPolicy | An optional delivery policy. |
Returns
Type | Description |
---|---|
IProducer<System. |
Stream of minimum (int) values. |
Type Parameters
Name | Description |
---|---|
TSource | The source message type. |
Min<TSource>(IProducer<TSource[]>, Func<TSource, Int64>, DeliveryPolicy<TSource[]>)
Invoke a transform function on each element and compute the minimum long within each window.
Declaration
public static IProducer<long> Min<TSource>(this IProducer<TSource[]> source, Func<TSource, long> selector, DeliveryPolicy<TSource[]> deliveryPolicy = null)
Parameters
Type | Name | Description |
---|---|---|
IProducer<TSource[]> | source | The source stream. |
Func<TSource, System. |
selector | Transform function applied to each element. |
Delivery |
deliveryPolicy | An optional delivery policy. |
Returns
Type | Description |
---|---|
IProducer<System. |
Stream of minimum (long) values. |
Type Parameters
Name | Description |
---|---|
TSource | The source message type. |
Min<TSource>(IProducer<TSource[]>, Func<TSource, Nullable<Decimal>>, DeliveryPolicy<TSource[]>)
Invoke a transform function on each element and compute the minimum nullable decimal within each window.
Declaration
public static IProducer<decimal?> Min<TSource>(this IProducer<TSource[]> source, Func<TSource, decimal?> selector, DeliveryPolicy<TSource[]> deliveryPolicy = null)
Parameters
Type | Name | Description |
---|---|---|
IProducer<TSource[]> | source | The source stream. |
Func<TSource, System. |
selector | Transform function applied to each element. |
Delivery |
deliveryPolicy | An optional delivery policy. |
Returns
Type | Description |
---|---|
IProducer<System. |
Stream of minimum (nullable decimal) values. |
Type Parameters
Name | Description |
---|---|
TSource | The source message type. |
Min<TSource>(IProducer<TSource[]>, Func<TSource, Nullable<Double>>, DeliveryPolicy<TSource[]>)
Invoke a transform function on each element and compute the minimum nullable double within each window.
Declaration
public static IProducer<double?> Min<TSource>(this IProducer<TSource[]> source, Func<TSource, double?> selector, DeliveryPolicy<TSource[]> deliveryPolicy = null)
Parameters
Type | Name | Description |
---|---|---|
IProducer<TSource[]> | source | The source stream. |
Func<TSource, System. |
selector | Transform function applied to each element. |
Delivery |
deliveryPolicy | An optional delivery policy. |
Returns
Type | Description |
---|---|
IProducer<System. |
Stream of minimum (nullable double) values. |
Type Parameters
Name | Description |
---|---|
TSource | The source message type. |
Min<TSource>(IProducer<TSource[]>, Func<TSource, Nullable<Int32>>, DeliveryPolicy<TSource[]>)
Invoke a transform function on each element and compute the minimum nullable int within each window.
Declaration
public static IProducer<int?> Min<TSource>(this IProducer<TSource[]> source, Func<TSource, int?> selector, DeliveryPolicy<TSource[]> deliveryPolicy = null)
Parameters
Type | Name | Description |
---|---|---|
IProducer<TSource[]> | source | The source stream. |
Func<TSource, System. |
selector | Transform function applied to each element. |
Delivery |
deliveryPolicy | An optional delivery policy. |
Returns
Type | Description |
---|---|
IProducer<System. |
Stream of minimum (nullable int) values. |
Type Parameters
Name | Description |
---|---|
TSource | The source message type. |
Min<TSource>(IProducer<TSource[]>, Func<TSource, Nullable<Int64>>, DeliveryPolicy<TSource[]>)
Invoke a transform function on each element and compute the minimum nullable long within each window.
Declaration
public static IProducer<long?> Min<TSource>(this IProducer<TSource[]> source, Func<TSource, long?> selector, DeliveryPolicy<TSource[]> deliveryPolicy = null)
Parameters
Type | Name | Description |
---|---|---|
IProducer<TSource[]> | source | The source stream. |
Func<TSource, System. |
selector | Transform function applied to each element. |
Delivery |
deliveryPolicy | An optional delivery policy. |
Returns
Type | Description |
---|---|
IProducer<System. |
Stream of minimum (nullable long) values. |
Type Parameters
Name | Description |
---|---|
TSource | The source message type. |
Min<TSource>(IProducer<TSource[]>, Func<TSource, Nullable<Single>>, DeliveryPolicy<TSource[]>)
Invoke a transform function on each element and compute the minimum nullable float within each window.
Declaration
public static IProducer<float?> Min<TSource>(this IProducer<TSource[]> source, Func<TSource, float?> selector, DeliveryPolicy<TSource[]> deliveryPolicy = null)
Parameters
Type | Name | Description |
---|---|---|
IProducer<TSource[]> | source | The source stream. |
Func<TSource, System. |
selector | Transform function applied to each element. |
Delivery |
deliveryPolicy | An optional delivery policy. |
Returns
Type | Description |
---|---|
IProducer<System. |
Stream of minimum (nullable float) values. |
Type Parameters
Name | Description |
---|---|
TSource | The source message type. |
Min<TSource>(IProducer<TSource[]>, Func<TSource, Single>, DeliveryPolicy<TSource[]>)
Invoke a transform function on each element and compute the minimum float within each window.
Declaration
public static IProducer<float> Min<TSource>(this IProducer<TSource[]> source, Func<TSource, float> selector, DeliveryPolicy<TSource[]> deliveryPolicy = null)
Parameters
Type | Name | Description |
---|---|---|
IProducer<TSource[]> | source | The source stream. |
Func<TSource, System. |
selector | Transform function applied to each element. |
Delivery |
deliveryPolicy | An optional delivery policy. |
Returns
Type | Description |
---|---|
IProducer<System. |
Stream of minimum (float) values. |
Type Parameters
Name | Description |
---|---|
TSource | The source message type. |
Min<TSource>(IProducer<TSource[]>, DeliveryPolicy<TSource[]>)
Compute the minimum int within each window.
Declaration
public static IProducer<TSource> Min<TSource>(this IProducer<TSource[]> source, DeliveryPolicy<TSource[]> deliveryPolicy = null)
Parameters
Type | Name | Description |
---|---|---|
IProducer<TSource[]> | source | The source stream. |
Delivery |
deliveryPolicy | An optional delivery policy. |
Returns
Type | Description |
---|---|
IProducer<TSource> | Stream of minimum (int) values. |
Type Parameters
Name | Description |
---|---|
TSource | The source message type. |
Min<T>(IProducer<T>, IComparer<T>, DeliveryPolicy<T>)
Compute the minimum of a stream of numeric values.
Declaration
public static IProducer<T> Min<T>(this IProducer<T> source, IComparer<T> comparer, DeliveryPolicy<T> deliveryPolicy = null)
Parameters
Type | Name | Description |
---|---|---|
IProducer<T> | source | The source stream. |
IComparer<T> | comparer | Comparer used to compare values. |
Delivery |
deliveryPolicy | An optional delivery policy. |
Returns
Type | Description |
---|---|
IProducer<T> | Stream of minimum values. |
Type Parameters
Name | Description |
---|---|
T | The message type. |
Min<T>(IProducer<T>, DeliveryPolicy<T>)
Compute the minimum of a stream of numeric values.
Declaration
public static IProducer<T> Min<T>(this IProducer<T> source, DeliveryPolicy<T> deliveryPolicy = null)
Parameters
Type | Name | Description |
---|---|---|
IProducer<T> | source | The source stream. |
Delivery |
deliveryPolicy | An optional delivery policy. |
Returns
Type | Description |
---|---|
IProducer<T> | Stream of minimum values. |
Type Parameters
Name | Description |
---|---|
T | The message type. |
Min<T>(IProducer<T>, Predicate<T>, IComparer<T>, DeliveryPolicy<T>)
Compute the minimum of a stream of numeric values.
Declaration
public static IProducer<T> Min<T>(this IProducer<T> source, Predicate<T> condition, IComparer<T> comparer, DeliveryPolicy<T> deliveryPolicy = null)
Parameters
Type | Name | Description |
---|---|---|
IProducer<T> | source | The source stream. |
Predicate<T> | condition | A function to test each value for a condition. |
IComparer<T> | comparer | Comparer used to compare values. |
Delivery |
deliveryPolicy | An optional delivery policy. |
Returns
Type | Description |
---|---|
IProducer<T> | Stream of minimum values. |
Type Parameters
Name | Description |
---|---|
T | The message type. |
Min<T>(IProducer<T>, Predicate<T>, DeliveryPolicy<T>)
Compute the minimum of a stream of numeric values.
Declaration
public static IProducer<T> Min<T>(this IProducer<T> source, Predicate<T> condition, DeliveryPolicy<T> deliveryPolicy = null)
Parameters
Type | Name | Description |
---|---|---|
IProducer<T> | source | The source stream. |
Predicate<T> | condition | A function to test each value for a condition. |
Delivery |
deliveryPolicy | An optional delivery policy. |
Returns
Type | Description |
---|---|
IProducer<T> | Stream of minimum values. |
Type Parameters
Name | Description |
---|---|
T | The message type. |
Min<TSource, TResult>(IProducer<TSource[]>, Func<TSource, TResult>, DeliveryPolicy<TSource[]>)
Invoke a transform function on each element and compute the minimum value within each window.
Declaration
public static IProducer<TResult> Min<TSource, TResult>(this IProducer<TSource[]> source, Func<TSource, TResult> selector, DeliveryPolicy<TSource[]> deliveryPolicy = null)
Parameters
Type | Name | Description |
---|---|---|
IProducer<TSource[]> | source | The source stream. |
Func<TSource, TResult> | selector | Transform function applied to each element. |
Delivery |
deliveryPolicy | An optional delivery policy. |
Returns
Type | Description |
---|---|
IProducer<TResult> | Stream of minimum values. |
Type Parameters
Name | Description |
---|---|
TSource | The source message type. |
TResult | The resulting message type. |
Name<T>(IProducer<T>, String)
Assign name (meta) to the stream.
Declaration
public static IProducer<T> Name<T>(this IProducer<T> source, string name)
Parameters
Type | Name | Description |
---|---|---|
IProducer<T> | source | Source stream. |
System. |
name | Name to give stream. |
Returns
Type | Description |
---|---|
IProducer<T> | Output stream. |
Type Parameters
Name | Description |
---|---|
T | Type of stream messages. |
NullableSelect<TIn, TOut>(IProducer<Nullable<TIn>>, Func<TIn, TOut>, DeliveryPolicy<Nullable<TIn>>, String)
Executes a transform function for each non-null item in the input stream, generating a new stream with the values returned by the function, or null if the input was null.
Declaration
public static IProducer<TOut?> NullableSelect<TIn, TOut>(this IProducer<TIn?> source, Func<TIn, TOut> selector, DeliveryPolicy<TIn?> deliveryPolicy = null, string name = "NullableSelect")
where TIn : struct where TOut : struct
Parameters
Type | Name | Description |
---|---|---|
IProducer<System. |
source | The source stream to subscribe to. |
Func<TIn, TOut> | selector | The function to perform on every message in the source stream. |
Delivery |
deliveryPolicy | An optional delivery policy. |
System. |
name | An optional name for this stream operator. |
Returns
Type | Description |
---|---|
IProducer<System. |
A stream of type |
Type Parameters
Name | Description |
---|---|
TIn | The input message type. |
TOut | The output message type. |
NullableSelect<TIn, TOut>(IProducer<Nullable<TIn>>, Func<TIn, Envelope, TOut>, DeliveryPolicy<Nullable<TIn>>, String)
Executes a transform function for each non-null item in the input stream, generating a new stream with the values returned by the function, or null if the input was null. The function has access to the envelope of the input message.
Declaration
public static IProducer<TOut?> NullableSelect<TIn, TOut>(this IProducer<TIn?> source, Func<TIn, Envelope, TOut> selector, DeliveryPolicy<TIn?> deliveryPolicy = null, string name = "NullableSelect")
where TIn : struct where TOut : struct
Parameters
Type | Name | Description |
---|---|---|
IProducer<System. |
source | The source stream to subscribe to. |
Func<TIn, Envelope, TOut> | selector | The function to perform on every message in the source stream. The function takes two parameters, the input message and its envelope. |
Delivery |
deliveryPolicy | An optional delivery policy. |
System. |
name | An optional name for this stream operator. |
Returns
Type | Description |
---|---|
IProducer<System. |
A stream of type |
Type Parameters
Name | Description |
---|---|
TIn | The input message type. |
TOut | The output message type. |
Pair<TPrimary, TSecondary>(IProducer<TPrimary>, IProducer<TSecondary>, TSecondary, DeliveryPolicy<TPrimary>, DeliveryPolicy<TSecondary>, String)
Pair with currently available value from a secondary stream.
Declaration
public static IProducer<(TPrimary, TSecondary)> Pair<TPrimary, TSecondary>(this IProducer<TPrimary> primary, IProducer<TSecondary> secondary, TSecondary initialValue, DeliveryPolicy<TPrimary> primaryDeliveryPolicy = null, DeliveryPolicy<TSecondary> secondaryDeliveryPolicy = null, string name = "Pair")
Parameters
Type | Name | Description |
---|---|---|
IProducer<TPrimary> | primary | Primary stream. |
IProducer<TSecondary> | secondary | Secondary stream. |
TSecondary | initialValue | An initial value to be used until the first secondary message is received. |
Delivery |
primaryDeliveryPolicy | An optional delivery policy for the primary stream. |
Delivery |
secondaryDeliveryPolicy | An optional delivery policy for the secondary stream(s). |
System. |
name | An optional name for the stream operator. |
Returns
Type | Description |
---|---|
IProducer<System. |
Stream of output tuples. |
Type Parameters
Name | Description |
---|---|
TPrimary | Type of primary messages. |
TSecondary | Type of secondary messages. |
Pair<TPrimary, TSecondary>(IProducer<TPrimary>, IProducer<TSecondary>, DeliveryPolicy<TPrimary>, DeliveryPolicy<TSecondary>, String)
Pair with currently available value from a secondary stream.
Declaration
public static IProducer<(TPrimary, TSecondary)> Pair<TPrimary, TSecondary>(this IProducer<TPrimary> primary, IProducer<TSecondary> secondary, DeliveryPolicy<TPrimary> primaryDeliveryPolicy = null, DeliveryPolicy<TSecondary> secondaryDeliveryPolicy = null, string name = "Pair")
Parameters
Type | Name | Description |
---|---|---|
IProducer<TPrimary> | primary | Primary stream. |
IProducer<TSecondary> | secondary | Secondary stream. |
Delivery |
primaryDeliveryPolicy | An optional delivery policy for the primary stream. |
Delivery |
secondaryDeliveryPolicy | An optional delivery policy for the secondary stream(s). |
System. |
name | An optional name for the stream operator. |
Returns
Type | Description |
---|---|
IProducer<System. |
Stream of output tuples. |
Type Parameters
Name | Description |
---|---|
TPrimary | Type of primary messages. |
TSecondary | Type of secondary messages. |
Remarks
Primary messages will be dropped until the first secondary message is received (no initialValue
provided).
Pair<TPrimary, TSecondary, TOut>(IProducer<TPrimary>, IProducer<TSecondary>, Func<TPrimary, TSecondary, TOut>, TSecondary, DeliveryPolicy<TPrimary>, DeliveryPolicy<TSecondary>, String)
Pair with currently available value from a secondary stream.
Declaration
public static IProducer<TOut> Pair<TPrimary, TSecondary, TOut>(this IProducer<TPrimary> primary, IProducer<TSecondary> secondary, Func<TPrimary, TSecondary, TOut> outputCreator, TSecondary initialValue, DeliveryPolicy<TPrimary> primaryDeliveryPolicy = null, DeliveryPolicy<TSecondary> secondaryDeliveryPolicy = null, string name = "Pair")
Parameters
Type | Name | Description |
---|---|---|
IProducer<TPrimary> | primary | Primary stream. |
IProducer<TSecondary> | secondary | Secondary stream. |
Func<TPrimary, TSecondary, TOut> | outputCreator | Mapping function from primary/secondary pairs to output type. |
TSecondary | initialValue | An initial value to be used until the first secondary message is received. |
Delivery |
primaryDeliveryPolicy | An optional delivery policy for the primary stream. |
Delivery |
secondaryDeliveryPolicy | An optional delivery policy for the secondary stream(s). |
System. |
name | An optional name for the stream operator. |
Returns
Type | Description |
---|---|
IProducer<TOut> | Stream of output values. |
Type Parameters
Name | Description |
---|---|
TPrimary | Type of primary messages. |
TSecondary | Type of secondary messages. |
TOut | Type of output messages. |
Pair<TPrimary, TSecondary, TOut>(IProducer<TPrimary>, IProducer<TSecondary>, Func<TPrimary, TSecondary, TOut>, DeliveryPolicy<TPrimary>, DeliveryPolicy<TSecondary>, String)
Pair with currently available value from a secondary stream.
Declaration
public static IProducer<TOut> Pair<TPrimary, TSecondary, TOut>(this IProducer<TPrimary> primary, IProducer<TSecondary> secondary, Func<TPrimary, TSecondary, TOut> outputCreator, DeliveryPolicy<TPrimary> primaryDeliveryPolicy = null, DeliveryPolicy<TSecondary> secondaryDeliveryPolicy = null, string name = "Pair")
Parameters
Type | Name | Description |
---|---|---|
IProducer<TPrimary> | primary | Primary stream. |
IProducer<TSecondary> | secondary | Secondary stream. |
Func<TPrimary, TSecondary, TOut> | outputCreator | Mapping function from primary/secondary pairs to output type. |
Delivery |
primaryDeliveryPolicy | An optional delivery policy for the primary stream. |
Delivery |
secondaryDeliveryPolicy | An optional delivery policy for the secondary stream(s). |
System. |
name | An optional name for the stream operator. |
Returns
Type | Description |
---|---|
IProducer<TOut> | Stream of output values. |
Type Parameters
Name | Description |
---|---|
TPrimary | Type of primary messages. |
TSecondary | Type of secondary messages. |
TOut | Type of output messages. |
Remarks
Primary messages will be dropped until the first secondary message is received (no initialValue
provided).
Pair<TPrimary, TSecondaryItem1, TSecondaryItem2>(IProducer<TPrimary>, IProducer<(TSecondaryItem1, TSecondaryItem2)>, DeliveryPolicy<TPrimary>, DeliveryPolicy<(TSecondaryItem1, TSecondaryItem2)>, String)
Pair with currently available value from a secondary stream.
Declaration
public static IProducer<(TPrimary, TSecondaryItem1, TSecondaryItem2)> Pair<TPrimary, TSecondaryItem1, TSecondaryItem2>(this IProducer<TPrimary> primary, IProducer<(TSecondaryItem1, TSecondaryItem2)> secondary, DeliveryPolicy<TPrimary> primaryDeliveryPolicy = null, DeliveryPolicy<(TSecondaryItem1, TSecondaryItem2)> secondaryDeliveryPolicy = null, string name = "Pair")
Parameters
Type | Name | Description |
---|---|---|
IProducer<TPrimary> | primary | Primary stream. |
IProducer<System. |
secondary | Secondary stream of tuples (arity 2). |
Delivery |
primaryDeliveryPolicy | An optional delivery policy for the primary stream. |
Delivery |
secondaryDeliveryPolicy | An optional delivery policy for the secondary stream(s). |
System. |
name | An optional name for the stream operator. |
Returns
Type | Description |
---|---|
IProducer<System. |
Stream of output tuples flattened to arity 3. |
Type Parameters
Name | Description |
---|---|
TPrimary | Type of primary messages. |
TSecondaryItem1 | Type of item 1 of secondary messages. |
TSecondaryItem2 | Type of item 2 of secondary messages. |
Pair<TPrimary, TSecondaryItem1, TSecondaryItem2>(IProducer<TPrimary>, IProducer<(TSecondaryItem1, TSecondaryItem2)>, (TSecondaryItem1, TSecondaryItem2), DeliveryPolicy<TPrimary>, DeliveryPolicy<(TSecondaryItem1, TSecondaryItem2)>, String)
Pair with currently available value from a secondary stream.
Declaration
public static IProducer<(TPrimary, TSecondaryItem1, TSecondaryItem2)> Pair<TPrimary, TSecondaryItem1, TSecondaryItem2>(this IProducer<TPrimary> primary, IProducer<(TSecondaryItem1, TSecondaryItem2)> secondary, (TSecondaryItem1, TSecondaryItem2) initialValue, DeliveryPolicy<TPrimary> primaryDeliveryPolicy = null, DeliveryPolicy<(TSecondaryItem1, TSecondaryItem2)> secondaryDeliveryPolicy = null, string name = "Pair")
Parameters
Type | Name | Description |
---|---|---|
IProducer<TPrimary> | primary | Primary stream. |
IProducer<System. |
secondary | Secondary stream of tuples (arity 2). |
System. |
initialValue | An initial value to be used until the first secondary message is received. |
Delivery |
primaryDeliveryPolicy | An optional delivery policy for the primary stream. |
Delivery |
secondaryDeliveryPolicy | An optional delivery policy for the secondary stream(s). |
System. |
name | An optional name for the stream operator. |
Returns
Type | Description |
---|---|
IProducer<System. |
Stream of output tuples flattened to arity 3. |
Type Parameters
Name | Description |
---|---|
TPrimary | Type of primary messages. |
TSecondaryItem1 | Type of item 1 of secondary messages. |
TSecondaryItem2 | Type of item 2 of secondary messages. |
Pair<TPrimaryItem1, TPrimaryItem2, TSecondary>(IProducer<(TPrimaryItem1, TPrimaryItem2)>, IProducer<TSecondary>, TSecondary, DeliveryPolicy<(TPrimaryItem1, TPrimaryItem2)>, DeliveryPolicy<TSecondary>, String)
Pair with currently available value from a secondary stream.
Declaration
public static IProducer<(TPrimaryItem1, TPrimaryItem2, TSecondary)> Pair<TPrimaryItem1, TPrimaryItem2, TSecondary>(this IProducer<(TPrimaryItem1, TPrimaryItem2)> primary, IProducer<TSecondary> secondary, TSecondary initialValue, DeliveryPolicy<(TPrimaryItem1, TPrimaryItem2)> primaryDeliveryPolicy = null, DeliveryPolicy<TSecondary> secondaryDeliveryPolicy = null, string name = "Pair")
Parameters
Type | Name | Description |
---|---|---|
IProducer<System. |
primary | Primary stream of tuples (arity 2). |
IProducer<TSecondary> | secondary | Secondary stream. |
TSecondary | initialValue | An initial value to be used until the first secondary message is received. |
Delivery |
primaryDeliveryPolicy | An optional delivery policy for the primary stream. |
Delivery |
secondaryDeliveryPolicy | An optional delivery policy for the secondary stream(s). |
System. |
name | An optional name for the stream operator. |
Returns
Type | Description |
---|---|
IProducer<System. |
Stream of output tuples flattened to arity 3. |
Type Parameters
Name | Description |
---|---|
TPrimaryItem1 | Type of item 1 of primary messages. |
TPrimaryItem2 | Type of item 2 of primary messages. |
TSecondary | Type of secondary messages. |
Pair<TPrimaryItem1, TPrimaryItem2, TSecondary>(IProducer<(TPrimaryItem1, TPrimaryItem2)>, IProducer<TSecondary>, DeliveryPolicy<(TPrimaryItem1, TPrimaryItem2)>, DeliveryPolicy<TSecondary>, String)
Pair with currently available value from a secondary stream.
Declaration
public static IProducer<(TPrimaryItem1, TPrimaryItem2, TSecondary)> Pair<TPrimaryItem1, TPrimaryItem2, TSecondary>(this IProducer<(TPrimaryItem1, TPrimaryItem2)> primary, IProducer<TSecondary> secondary, DeliveryPolicy<(TPrimaryItem1, TPrimaryItem2)> primaryDeliveryPolicy = null, DeliveryPolicy<TSecondary> secondaryDeliveryPolicy = null, string name = "Pair")
Parameters
Type | Name | Description |
---|---|---|
IProducer<System. |
primary | Primary stream of tuples (arity 2). |
IProducer<TSecondary> | secondary | Secondary stream. |
Delivery |
primaryDeliveryPolicy | An optional delivery policy for the primary stream. |
Delivery |
secondaryDeliveryPolicy | An optional delivery policy for the secondary stream(s). |
System. |
name | An optional name for the stream operator. |
Returns
Type | Description |
---|---|
IProducer<System. |
Stream of output tuples flattened to arity 3. |
Type Parameters
Name | Description |
---|---|
TPrimaryItem1 | Type of item 1 of primary messages. |
TPrimaryItem2 | Type of item 2 of primary messages. |
TSecondary | Type of secondary messages. |
Pair<TPrimary, TSecondaryItem1, TSecondaryItem2, TSecondaryItem3>(IProducer<TPrimary>, IProducer<(TSecondaryItem1, TSecondaryItem2, TSecondaryItem3)>, DeliveryPolicy<TPrimary>, DeliveryPolicy<(TSecondaryItem1, TSecondaryItem2, TSecondaryItem3)>, String)
Pair with currently available value from a secondary stream.
Declaration
public static IProducer<(TPrimary, TSecondaryItem1, TSecondaryItem2, TSecondaryItem3)> Pair<TPrimary, TSecondaryItem1, TSecondaryItem2, TSecondaryItem3>(this IProducer<TPrimary> primary, IProducer<(TSecondaryItem1, TSecondaryItem2, TSecondaryItem3)> secondary, DeliveryPolicy<TPrimary> primaryDeliveryPolicy = null, DeliveryPolicy<(TSecondaryItem1, TSecondaryItem2, TSecondaryItem3)> secondaryDeliveryPolicy = null, string name = "Pair")
Parameters
Type | Name | Description |
---|---|---|
IProducer<TPrimary> | primary | Primary stream. |
IProducer<System. |
secondary | Secondary stream of tuples (arity 3). |
Delivery |
primaryDeliveryPolicy | An optional delivery policy for the primary stream. |
Delivery |
secondaryDeliveryPolicy | An optional delivery policy for the secondary stream(s). |
System. |
name | An optional name for the stream operator. |
Returns
Type | Description |
---|---|
IProducer<System. |
Stream of output tuples flattened to arity 4. |
Type Parameters
Name | Description |
---|---|
TPrimary | Type of primary messages. |
TSecondaryItem1 | Type of item 1 of secondary messages. |
TSecondaryItem2 | Type of item 2 of secondary messages. |
TSecondaryItem3 | Type of item 3 of secondary messages. |
Pair<TPrimary, TSecondaryItem1, TSecondaryItem2, TSecondaryItem3>(IProducer<TPrimary>, IProducer<(TSecondaryItem1, TSecondaryItem2, TSecondaryItem3)>, (TSecondaryItem1, TSecondaryItem2, TSecondaryItem3), DeliveryPolicy<TPrimary>, DeliveryPolicy<(TSecondaryItem1, TSecondaryItem2, TSecondaryItem3)>, String)
Pair with currently available value from a secondary stream.
Declaration
public static IProducer<(TPrimary, TSecondaryItem1, TSecondaryItem2, TSecondaryItem3)> Pair<TPrimary, TSecondaryItem1, TSecondaryItem2, TSecondaryItem3>(this IProducer<TPrimary> primary, IProducer<(TSecondaryItem1, TSecondaryItem2, TSecondaryItem3)> secondary, (TSecondaryItem1, TSecondaryItem2, TSecondaryItem3) initialValue, DeliveryPolicy<TPrimary> primaryDeliveryPolicy = null, DeliveryPolicy<(TSecondaryItem1, TSecondaryItem2, TSecondaryItem3)> secondaryDeliveryPolicy = null, string name = "Pair")
Parameters
Type | Name | Description |
---|---|---|
IProducer<TPrimary> | primary | Primary stream. |
IProducer<System. |
secondary | Secondary stream of tuples (arity 3). |
System. |
initialValue | An initial value to be used until the first secondary message is received. |
Delivery |
primaryDeliveryPolicy | An optional delivery policy for the primary stream. |
Delivery |
secondaryDeliveryPolicy | An optional delivery policy for the secondary stream(s). |
System. |
name | An optional name for the stream operator. |
Returns
Type | Description |
---|---|
IProducer<System. |
Stream of output tuples flattened to arity 4. |
Type Parameters
Name | Description |
---|---|
TPrimary | Type of primary messages. |
TSecondaryItem1 | Type of item 1 of secondary messages. |
TSecondaryItem2 | Type of item 2 of secondary messages. |
TSecondaryItem3 | Type of item 3 of secondary messages. |
Pair<TPrimaryItem1, TPrimaryItem2, TPrimaryItem3, TSecondary>(IProducer<(TPrimaryItem1, TPrimaryItem2, TPrimaryItem3)>, IProducer<TSecondary>, TSecondary, DeliveryPolicy<(TPrimaryItem1, TPrimaryItem2, TPrimaryItem3)>, DeliveryPolicy<TSecondary>, String)
Pair with currently available value from a secondary stream.
Declaration
public static IProducer<(TPrimaryItem1, TPrimaryItem2, TPrimaryItem3, TSecondary)> Pair<TPrimaryItem1, TPrimaryItem2, TPrimaryItem3, TSecondary>(this IProducer<(TPrimaryItem1, TPrimaryItem2, TPrimaryItem3)> primary, IProducer<TSecondary> secondary, TSecondary initialValue, DeliveryPolicy<(TPrimaryItem1, TPrimaryItem2, TPrimaryItem3)> primaryDeliveryPolicy = null, DeliveryPolicy<TSecondary> secondaryDeliveryPolicy = null, string name = "Pair")
Parameters
Type | Name | Description |
---|---|---|
IProducer<System. |
primary | Primary stream of tuples (arity 3). |
IProducer<TSecondary> | secondary | Secondary stream. |
TSecondary | initialValue | An initial value to be used until the first secondary message is received. |
Delivery |
primaryDeliveryPolicy | An optional delivery policy for the primary stream. |
Delivery |
secondaryDeliveryPolicy | An optional delivery policy for the secondary stream(s). |
System. |
name | An optional name for the stream operator. |
Returns
Type | Description |
---|---|
IProducer<System. |
Stream of output tuples flattened to arity 4. |
Type Parameters
Name | Description |
---|---|
TPrimaryItem1 | Type of item 1 of primary messages. |
TPrimaryItem2 | Type of item 2 of primary messages. |
TPrimaryItem3 | Type of item 3 of primary messages. |
TSecondary | Type of secondary messages. |
Pair<TPrimaryItem1, TPrimaryItem2, TPrimaryItem3, TSecondary>(IProducer<(TPrimaryItem1, TPrimaryItem2, TPrimaryItem3)>, IProducer<TSecondary>, DeliveryPolicy<(TPrimaryItem1, TPrimaryItem2, TPrimaryItem3)>, DeliveryPolicy<TSecondary>, String)
Pair with currently available value from a secondary stream.
Declaration
public static IProducer<(TPrimaryItem1, TPrimaryItem2, TPrimaryItem3, TSecondary)> Pair<TPrimaryItem1, TPrimaryItem2, TPrimaryItem3, TSecondary>(this IProducer<(TPrimaryItem1, TPrimaryItem2, TPrimaryItem3)> primary, IProducer<TSecondary> secondary, DeliveryPolicy<(TPrimaryItem1, TPrimaryItem2, TPrimaryItem3)> primaryDeliveryPolicy = null, DeliveryPolicy<TSecondary> secondaryDeliveryPolicy = null, string name = "Pair")
Parameters
Type | Name | Description |
---|---|---|
IProducer<System. |
primary | Primary stream of tuples (arity 3). |
IProducer<TSecondary> | secondary | Secondary stream. |
Delivery |
primaryDeliveryPolicy | An optional delivery policy for the primary stream. |
Delivery |
secondaryDeliveryPolicy | An optional delivery policy for the secondary stream(s). |
System. |
name | An optional name for the stream operator. |
Returns
Type | Description |
---|---|
IProducer<System. |
Stream of output tuples flattened to arity 4. |
Type Parameters
Name | Description |
---|---|
TPrimaryItem1 | Type of item 1 of primary messages. |
TPrimaryItem2 | Type of item 2 of primary messages. |
TPrimaryItem3 | Type of item 3 of primary messages. |
TSecondary | Type of secondary messages. |
Pair<TPrimary, TSecondaryItem1, TSecondaryItem2, TSecondaryItem3, TSecondaryItem4>(IProducer<TPrimary>, IProducer<(TSecondaryItem1, TSecondaryItem2, TSecondaryItem3, TSecondaryItem4)>, DeliveryPolicy<TPrimary>, DeliveryPolicy<(TSecondaryItem1, TSecondaryItem2, TSecondaryItem3, TSecondaryItem4)>, String)
Pair with currently available value from a secondary stream.
Declaration
public static IProducer<(TPrimary, TSecondaryItem1, TSecondaryItem2, TSecondaryItem3, TSecondaryItem4)> Pair<TPrimary, TSecondaryItem1, TSecondaryItem2, TSecondaryItem3, TSecondaryItem4>(this IProducer<TPrimary> primary, IProducer<(TSecondaryItem1, TSecondaryItem2, TSecondaryItem3, TSecondaryItem4)> secondary, DeliveryPolicy<TPrimary> primaryDeliveryPolicy = null, DeliveryPolicy<(TSecondaryItem1, TSecondaryItem2, TSecondaryItem3, TSecondaryItem4)> secondaryDeliveryPolicy = null, string name = "Pair")
Parameters
Type | Name | Description |
---|---|---|
IProducer<TPrimary> | primary | Primary stream. |
IProducer<System. |
secondary | Secondary stream of tuples (arity 4). |
Delivery |
primaryDeliveryPolicy | An optional delivery policy for the primary stream. |
Delivery |
secondaryDeliveryPolicy | An optional delivery policy for the secondary stream(s). |
System. |
name | An optional name for the stream operator. |
Returns
Type | Description |
---|---|
IProducer<System. |
Stream of output tuples flattened to arity 5. |
Type Parameters
Name | Description |
---|---|
TPrimary | Type of primary messages. |
TSecondaryItem1 | Type of item 1 of secondary messages. |
TSecondaryItem2 | Type of item 2 of secondary messages. |
TSecondaryItem3 | Type of item 3 of secondary messages. |
TSecondaryItem4 | Type of item 4 of secondary messages. |
Pair<TPrimary, TSecondaryItem1, TSecondaryItem2, TSecondaryItem3, TSecondaryItem4>(IProducer<TPrimary>, IProducer<(TSecondaryItem1, TSecondaryItem2, TSecondaryItem3, TSecondaryItem4)>, (TSecondaryItem1, TSecondaryItem2, TSecondaryItem3, TSecondaryItem4), DeliveryPolicy<TPrimary>, DeliveryPolicy<(TSecondaryItem1, TSecondaryItem2, TSecondaryItem3, TSecondaryItem4)>, String)
Pair with currently available value from a secondary stream.
Declaration
public static IProducer<(TPrimary, TSecondaryItem1, TSecondaryItem2, TSecondaryItem3, TSecondaryItem4)> Pair<TPrimary, TSecondaryItem1, TSecondaryItem2, TSecondaryItem3, TSecondaryItem4>(this IProducer<TPrimary> primary, IProducer<(TSecondaryItem1, TSecondaryItem2, TSecondaryItem3, TSecondaryItem4)> secondary, (TSecondaryItem1, TSecondaryItem2, TSecondaryItem3, TSecondaryItem4) initialValue, DeliveryPolicy<TPrimary> primaryDeliveryPolicy = null, DeliveryPolicy<(TSecondaryItem1, TSecondaryItem2, TSecondaryItem3, TSecondaryItem4)> secondaryDeliveryPolicy = null, string name = "Pair")
Parameters
Type | Name | Description |
---|---|---|
IProducer<TPrimary> | primary | Primary stream. |
IProducer<System. |
secondary | Secondary stream of tuples (arity 4). |
System. |
initialValue | An initial value to be used until the first secondary message is received. |
Delivery |
primaryDeliveryPolicy | An optional delivery policy for the primary stream. |
Delivery |
secondaryDeliveryPolicy | An optional delivery policy for the secondary stream(s). |
System. |
name | An optional name for the stream operator. |
Returns
Type | Description |
---|---|
IProducer<System. |
Stream of output tuples flattened to arity 5. |
Type Parameters
Name | Description |
---|---|
TPrimary | Type of primary messages. |
TSecondaryItem1 | Type of item 1 of secondary messages. |
TSecondaryItem2 | Type of item 2 of secondary messages. |
TSecondaryItem3 | Type of item 3 of secondary messages. |
TSecondaryItem4 | Type of item 4 of secondary messages. |
Pair<TPrimaryItem1, TPrimaryItem2, TPrimaryItem3, TPrimaryItem4, TSecondary>(IProducer<(TPrimaryItem1, TPrimaryItem2, TPrimaryItem3, TPrimaryItem4)>, IProducer<TSecondary>, TSecondary, DeliveryPolicy<(TPrimaryItem1, TPrimaryItem2, TPrimaryItem3, TPrimaryItem4)>, DeliveryPolicy<TSecondary>, String)
Pair with currently available value from a secondary stream.
Declaration
public static IProducer<(TPrimaryItem1, TPrimaryItem2, TPrimaryItem3, TPrimaryItem4, TSecondary)> Pair<TPrimaryItem1, TPrimaryItem2, TPrimaryItem3, TPrimaryItem4, TSecondary>(this IProducer<(TPrimaryItem1, TPrimaryItem2, TPrimaryItem3, TPrimaryItem4)> primary, IProducer<TSecondary> secondary, TSecondary initialValue, DeliveryPolicy<(TPrimaryItem1, TPrimaryItem2, TPrimaryItem3, TPrimaryItem4)> primaryDeliveryPolicy = null, DeliveryPolicy<TSecondary> secondaryDeliveryPolicy = null, string name = "Pair")
Parameters
Type | Name | Description |
---|---|---|
IProducer<System. |
primary | Primary stream of tuples (arity 4). |
IProducer<TSecondary> | secondary | Secondary stream. |
TSecondary | initialValue | An initial value to be used until the first secondary message is received. |
Delivery |
primaryDeliveryPolicy | An optional delivery policy for the primary stream. |
Delivery |
secondaryDeliveryPolicy | An optional delivery policy for the secondary stream(s). |
System. |
name | An optional name for the stream operator. |
Returns
Type | Description |
---|---|
IProducer<System. |
Stream of output tuples flattened to arity 5. |
Type Parameters
Name | Description |
---|---|
TPrimaryItem1 | Type of item 1 of primary messages. |
TPrimaryItem2 | Type of item 2 of primary messages. |
TPrimaryItem3 | Type of item 3 of primary messages. |
TPrimaryItem4 | Type of item 4 of primary messages. |
TSecondary | Type of secondary messages. |
Pair<TPrimaryItem1, TPrimaryItem2, TPrimaryItem3, TPrimaryItem4, TSecondary>(IProducer<(TPrimaryItem1, TPrimaryItem2, TPrimaryItem3, TPrimaryItem4)>, IProducer<TSecondary>, DeliveryPolicy<(TPrimaryItem1, TPrimaryItem2, TPrimaryItem3, TPrimaryItem4)>, DeliveryPolicy<TSecondary>, String)
Pair with currently available value from a secondary stream.
Declaration
public static IProducer<(TPrimaryItem1, TPrimaryItem2, TPrimaryItem3, TPrimaryItem4, TSecondary)> Pair<TPrimaryItem1, TPrimaryItem2, TPrimaryItem3, TPrimaryItem4, TSecondary>(this IProducer<(TPrimaryItem1, TPrimaryItem2, TPrimaryItem3, TPrimaryItem4)> primary, IProducer<TSecondary> secondary, DeliveryPolicy<(TPrimaryItem1, TPrimaryItem2, TPrimaryItem3, TPrimaryItem4)> primaryDeliveryPolicy = null, DeliveryPolicy<TSecondary> secondaryDeliveryPolicy = null, string name = "Pair")
Parameters
Type | Name | Description |
---|---|---|
IProducer<System. |
primary | Primary stream of tuples (arity 4). |
IProducer<TSecondary> | secondary | Secondary stream. |
Delivery |
primaryDeliveryPolicy | An optional delivery policy for the primary stream. |
Delivery |
secondaryDeliveryPolicy | An optional delivery policy for the secondary stream(s). |
System. |
name | An optional name for the stream operator. |
Returns
Type | Description |
---|---|
IProducer<System. |
Stream of output tuples flattened to arity 5. |
Type Parameters
Name | Description |
---|---|
TPrimaryItem1 | Type of item 1 of primary messages. |
TPrimaryItem2 | Type of item 2 of primary messages. |
TPrimaryItem3 | Type of item 3 of primary messages. |
TPrimaryItem4 | Type of item 4 of primary messages. |
TSecondary | Type of secondary messages. |
Pair<TPrimary, TSecondaryItem1, TSecondaryItem2, TSecondaryItem3, TSecondaryItem4, TSecondaryItem5>(IProducer<TPrimary>, IProducer<(TSecondaryItem1, TSecondaryItem2, TSecondaryItem3, TSecondaryItem4, TSecondaryItem5)>, DeliveryPolicy<TPrimary>, DeliveryPolicy<(TSecondaryItem1, TSecondaryItem2, TSecondaryItem3, TSecondaryItem4, TSecondaryItem5)>, String)
Pair with currently available value from a secondary stream.
Declaration
public static IProducer<(TPrimary, TSecondaryItem1, TSecondaryItem2, TSecondaryItem3, TSecondaryItem4, TSecondaryItem5)> Pair<TPrimary, TSecondaryItem1, TSecondaryItem2, TSecondaryItem3, TSecondaryItem4, TSecondaryItem5>(this IProducer<TPrimary> primary, IProducer<(TSecondaryItem1, TSecondaryItem2, TSecondaryItem3, TSecondaryItem4, TSecondaryItem5)> secondary, DeliveryPolicy<TPrimary> primaryDeliveryPolicy = null, DeliveryPolicy<(TSecondaryItem1, TSecondaryItem2, TSecondaryItem3, TSecondaryItem4, TSecondaryItem5)> secondaryDeliveryPolicy = null, string name = "Pair")
Parameters
Type | Name | Description |
---|---|---|
IProducer<TPrimary> | primary | Primary stream. |
IProducer<System. |
secondary | Secondary stream of tuples (arity 5). |
Delivery |
primaryDeliveryPolicy | An optional delivery policy for the primary stream. |
Delivery |
secondaryDeliveryPolicy | An optional delivery policy for the secondary stream(s). |
System. |
name | An optional name for the stream operator. |
Returns
Type | Description |
---|---|
IProducer<System. |
Stream of output tuples flattened to arity 6. |
Type Parameters
Name | Description |
---|---|
TPrimary | Type of primary messages. |
TSecondaryItem1 | Type of item 1 of secondary messages. |
TSecondaryItem2 | Type of item 2 of secondary messages. |
TSecondaryItem3 | Type of item 3 of secondary messages. |
TSecondaryItem4 | Type of item 4 of secondary messages. |
TSecondaryItem5 | Type of item 5 of secondary messages. |
Pair<TPrimary, TSecondaryItem1, TSecondaryItem2, TSecondaryItem3, TSecondaryItem4, TSecondaryItem5>(IProducer<TPrimary>, IProducer<(TSecondaryItem1, TSecondaryItem2, TSecondaryItem3, TSecondaryItem4, TSecondaryItem5)>, (TSecondaryItem1, TSecondaryItem2, TSecondaryItem3, TSecondaryItem4, TSecondaryItem5), DeliveryPolicy<TPrimary>, DeliveryPolicy<(TSecondaryItem1, TSecondaryItem2, TSecondaryItem3, TSecondaryItem4, TSecondaryItem5)>, String)
Pair with currently available value from a secondary stream.
Declaration
public static IProducer<(TPrimary, TSecondaryItem1, TSecondaryItem2, TSecondaryItem3, TSecondaryItem4, TSecondaryItem5)> Pair<TPrimary, TSecondaryItem1, TSecondaryItem2, TSecondaryItem3, TSecondaryItem4, TSecondaryItem5>(this IProducer<TPrimary> primary, IProducer<(TSecondaryItem1, TSecondaryItem2, TSecondaryItem3, TSecondaryItem4, TSecondaryItem5)> secondary, (TSecondaryItem1, TSecondaryItem2, TSecondaryItem3, TSecondaryItem4, TSecondaryItem5) initialValue, DeliveryPolicy<TPrimary> primaryDeliveryPolicy = null, DeliveryPolicy<(TSecondaryItem1, TSecondaryItem2, TSecondaryItem3, TSecondaryItem4, TSecondaryItem5)> secondaryDeliveryPolicy = null, string name = "Pair")
Parameters
Type | Name | Description |
---|---|---|
IProducer<TPrimary> | primary | Primary stream. |
IProducer<System. |
secondary | Secondary stream of tuples (arity 5). |
System. |
initialValue | An initial value to be used until the first secondary message is received. |
Delivery |
primaryDeliveryPolicy | An optional delivery policy for the primary stream. |
Delivery |
secondaryDeliveryPolicy | An optional delivery policy for the secondary stream(s). |
System. |
name | An optional name for the stream operator. |
Returns
Type | Description |
---|---|
IProducer<System. |
Stream of output tuples flattened to arity 6. |
Type Parameters
Name | Description |
---|---|
TPrimary | Type of primary messages. |
TSecondaryItem1 | Type of item 1 of secondary messages. |
TSecondaryItem2 | Type of item 2 of secondary messages. |
TSecondaryItem3 | Type of item 3 of secondary messages. |
TSecondaryItem4 | Type of item 4 of secondary messages. |
TSecondaryItem5 | Type of item 5 of secondary messages. |
Pair<TPrimaryItem1, TPrimaryItem2, TPrimaryItem3, TPrimaryItem4, TPrimaryItem5, TSecondary>(IProducer<(TPrimaryItem1, TPrimaryItem2, TPrimaryItem3, TPrimaryItem4, TPrimaryItem5)>, IProducer<TSecondary>, TSecondary, DeliveryPolicy<(TPrimaryItem1, TPrimaryItem2, TPrimaryItem3, TPrimaryItem4, TPrimaryItem5)>, DeliveryPolicy<TSecondary>, String)
Pair with currently available value from a secondary stream.
Declaration
public static IProducer<(TPrimaryItem1, TPrimaryItem2, TPrimaryItem3, TPrimaryItem4, TPrimaryItem5, TSecondary)> Pair<TPrimaryItem1, TPrimaryItem2, TPrimaryItem3, TPrimaryItem4, TPrimaryItem5, TSecondary>(this IProducer<(TPrimaryItem1, TPrimaryItem2, TPrimaryItem3, TPrimaryItem4, TPrimaryItem5)> primary, IProducer<TSecondary> secondary, TSecondary initialValue, DeliveryPolicy<(TPrimaryItem1, TPrimaryItem2, TPrimaryItem3, TPrimaryItem4, TPrimaryItem5)> primaryDeliveryPolicy = null, DeliveryPolicy<TSecondary> secondaryDeliveryPolicy = null, string name = "Pair")
Parameters
Type | Name | Description |
---|---|---|
IProducer<System. |
primary | Primary stream of tuples (arity 5). |
IProducer<TSecondary> | secondary | Secondary stream. |
TSecondary | initialValue | An initial value to be used until the first secondary message is received. |
Delivery |
primaryDeliveryPolicy | An optional delivery policy for the primary stream. |
Delivery |
secondaryDeliveryPolicy | An optional delivery policy for the secondary stream(s). |
System. |
name | An optional name for the stream operator. |
Returns
Type | Description |
---|---|
IProducer<System. |
Stream of output tuples flattened to arity 6. |
Type Parameters
Name | Description |
---|---|
TPrimaryItem1 | Type of item 1 of primary messages. |
TPrimaryItem2 | Type of item 2 of primary messages. |
TPrimaryItem3 | Type of item 3 of primary messages. |
TPrimaryItem4 | Type of item 4 of primary messages. |
TPrimaryItem5 | Type of item 5 of primary messages. |
TSecondary | Type of secondary messages. |
Pair<TPrimaryItem1, TPrimaryItem2, TPrimaryItem3, TPrimaryItem4, TPrimaryItem5, TSecondary>(IProducer<(TPrimaryItem1, TPrimaryItem2, TPrimaryItem3, TPrimaryItem4, TPrimaryItem5)>, IProducer<TSecondary>, DeliveryPolicy<(TPrimaryItem1, TPrimaryItem2, TPrimaryItem3, TPrimaryItem4, TPrimaryItem5)>, DeliveryPolicy<TSecondary>, String)
Pair with currently available value from a secondary stream.
Declaration
public static IProducer<(TPrimaryItem1, TPrimaryItem2, TPrimaryItem3, TPrimaryItem4, TPrimaryItem5, TSecondary)> Pair<TPrimaryItem1, TPrimaryItem2, TPrimaryItem3, TPrimaryItem4, TPrimaryItem5, TSecondary>(this IProducer<(TPrimaryItem1, TPrimaryItem2, TPrimaryItem3, TPrimaryItem4, TPrimaryItem5)> primary, IProducer<TSecondary> secondary, DeliveryPolicy<(TPrimaryItem1, TPrimaryItem2, TPrimaryItem3, TPrimaryItem4, TPrimaryItem5)> primaryDeliveryPolicy = null, DeliveryPolicy<TSecondary> secondaryDeliveryPolicy = null, string name = "Pair")
Parameters
Type | Name | Description |
---|---|---|
IProducer<System. |
primary | Primary stream of tuples (arity 5). |
IProducer<TSecondary> | secondary | Secondary stream. |
Delivery |
primaryDeliveryPolicy | An optional delivery policy for the primary stream. |
Delivery |
secondaryDeliveryPolicy | An optional delivery policy for the secondary stream(s). |
System. |
name | An optional name for the stream operator. |
Returns
Type | Description |
---|---|
IProducer<System. |
Stream of output tuples flattened to arity 6. |
Type Parameters
Name | Description |
---|---|
TPrimaryItem1 | Type of item 1 of primary messages. |
TPrimaryItem2 | Type of item 2 of primary messages. |
TPrimaryItem3 | Type of item 3 of primary messages. |
TPrimaryItem4 | Type of item 4 of primary messages. |
TPrimaryItem5 | Type of item 5 of primary messages. |
TSecondary | Type of secondary messages. |
Pair<TPrimary, TSecondaryItem1, TSecondaryItem2, TSecondaryItem3, TSecondaryItem4, TSecondaryItem5, TSecondaryItem6>(IProducer<TPrimary>, IProducer<(TSecondaryItem1, TSecondaryItem2, TSecondaryItem3, TSecondaryItem4, TSecondaryItem5, TSecondaryItem6)>, DeliveryPolicy<TPrimary>, DeliveryPolicy<(TSecondaryItem1, TSecondaryItem2, TSecondaryItem3, TSecondaryItem4, TSecondaryItem5, TSecondaryItem6)>, String)
Pair with currently available value from a secondary stream.
Declaration
public static IProducer<(TPrimary, TSecondaryItem1, TSecondaryItem2, TSecondaryItem3, TSecondaryItem4, TSecondaryItem5, TSecondaryItem6)> Pair<TPrimary, TSecondaryItem1, TSecondaryItem2, TSecondaryItem3, TSecondaryItem4, TSecondaryItem5, TSecondaryItem6>(this IProducer<TPrimary> primary, IProducer<(TSecondaryItem1, TSecondaryItem2, TSecondaryItem3, TSecondaryItem4, TSecondaryItem5, TSecondaryItem6)> secondary, DeliveryPolicy<TPrimary> primaryDeliveryPolicy = null, DeliveryPolicy<(TSecondaryItem1, TSecondaryItem2, TSecondaryItem3, TSecondaryItem4, TSecondaryItem5, TSecondaryItem6)> secondaryDeliveryPolicy = null, string name = "Pair")
Parameters
Type | Name | Description |
---|---|---|
IProducer<TPrimary> | primary | Primary stream. |
IProducer<System. |
secondary | Secondary stream of tuples (arity 6). |
Delivery |
primaryDeliveryPolicy | An optional delivery policy for the primary stream. |
Delivery |
secondaryDeliveryPolicy | An optional delivery policy for the secondary stream(s). |
System. |
name | An optional name for the stream operator. |
Returns
Type | Description |
---|---|
IProducer<System. |
Stream of output tuples flattened to arity 7. |
Type Parameters
Name | Description |
---|---|
TPrimary | Type of primary messages. |
TSecondaryItem1 | Type of item 1 of secondary messages. |
TSecondaryItem2 | Type of item 2 of secondary messages. |
TSecondaryItem3 | Type of item 3 of secondary messages. |
TSecondaryItem4 | Type of item 4 of secondary messages. |
TSecondaryItem5 | Type of item 5 of secondary messages. |
TSecondaryItem6 | Type of item 6 of secondary messages. |
Pair<TPrimary, TSecondaryItem1, TSecondaryItem2, TSecondaryItem3, TSecondaryItem4, TSecondaryItem5, TSecondaryItem6>(IProducer<TPrimary>, IProducer<(TSecondaryItem1, TSecondaryItem2, TSecondaryItem3, TSecondaryItem4, TSecondaryItem5, TSecondaryItem6)>, (TSecondaryItem1, TSecondaryItem2, TSecondaryItem3, TSecondaryItem4, TSecondaryItem5, TSecondaryItem6), DeliveryPolicy<TPrimary>, DeliveryPolicy<(TSecondaryItem1, TSecondaryItem2, TSecondaryItem3, TSecondaryItem4, TSecondaryItem5, TSecondaryItem6)>, String)
Pair with currently available value from a secondary stream.
Declaration
public static IProducer<(TPrimary, TSecondaryItem1, TSecondaryItem2, TSecondaryItem3, TSecondaryItem4, TSecondaryItem5, TSecondaryItem6)> Pair<TPrimary, TSecondaryItem1, TSecondaryItem2, TSecondaryItem3, TSecondaryItem4, TSecondaryItem5, TSecondaryItem6>(this IProducer<TPrimary> primary, IProducer<(TSecondaryItem1, TSecondaryItem2, TSecondaryItem3, TSecondaryItem4, TSecondaryItem5, TSecondaryItem6)> secondary, (TSecondaryItem1, TSecondaryItem2, TSecondaryItem3, TSecondaryItem4, TSecondaryItem5, TSecondaryItem6) initialValue, DeliveryPolicy<TPrimary> primaryDeliveryPolicy = null, DeliveryPolicy<(TSecondaryItem1, TSecondaryItem2, TSecondaryItem3, TSecondaryItem4, TSecondaryItem5, TSecondaryItem6)> secondaryDeliveryPolicy = null, string name = "Pair")
Parameters
Type | Name | Description |
---|---|---|
IProducer<TPrimary> | primary | Primary stream. |
IProducer<System. |
secondary | Secondary stream of tuples (arity 6). |
System. |
initialValue | An initial value to be used until the first secondary message is received. |
Delivery |
primaryDeliveryPolicy | An optional delivery policy for the primary stream. |
Delivery |
secondaryDeliveryPolicy | An optional delivery policy for the secondary stream(s). |
System. |
name | An optional name for the stream operator. |
Returns
Type | Description |
---|---|
IProducer<System. |
Stream of output tuples flattened to arity 7. |
Type Parameters
Name | Description |
---|---|
TPrimary | Type of primary messages. |
TSecondaryItem1 | Type of item 1 of secondary messages. |
TSecondaryItem2 | Type of item 2 of secondary messages. |
TSecondaryItem3 | Type of item 3 of secondary messages. |
TSecondaryItem4 | Type of item 4 of secondary messages. |
TSecondaryItem5 | Type of item 5 of secondary messages. |
TSecondaryItem6 | Type of item 6 of secondary messages. |
Pair<TPrimaryItem1, TPrimaryItem2, TPrimaryItem3, TPrimaryItem4, TPrimaryItem5, TPrimaryItem6, TSecondary>(IProducer<(TPrimaryItem1, TPrimaryItem2, TPrimaryItem3, TPrimaryItem4, TPrimaryItem5, TPrimaryItem6)>, IProducer<TSecondary>, TSecondary, DeliveryPolicy<(TPrimaryItem1, TPrimaryItem2, TPrimaryItem3, TPrimaryItem4, TPrimaryItem5, TPrimaryItem6)>, DeliveryPolicy<TSecondary>, String)
Pair with currently available value from a secondary stream.
Declaration
public static IProducer<(TPrimaryItem1, TPrimaryItem2, TPrimaryItem3, TPrimaryItem4, TPrimaryItem5, TPrimaryItem6, TSecondary)> Pair<TPrimaryItem1, TPrimaryItem2, TPrimaryItem3, TPrimaryItem4, TPrimaryItem5, TPrimaryItem6, TSecondary>(this IProducer<(TPrimaryItem1, TPrimaryItem2, TPrimaryItem3, TPrimaryItem4, TPrimaryItem5, TPrimaryItem6)> primary, IProducer<TSecondary> secondary, TSecondary initialValue, DeliveryPolicy<(TPrimaryItem1, TPrimaryItem2, TPrimaryItem3, TPrimaryItem4, TPrimaryItem5, TPrimaryItem6)> primaryDeliveryPolicy = null, DeliveryPolicy<TSecondary> secondaryDeliveryPolicy = null, string name = "Pair")
Parameters
Type | Name | Description |
---|---|---|
IProducer<System. |
primary | Primary stream of tuples (arity 6). |
IProducer<TSecondary> | secondary | Secondary stream. |
TSecondary | initialValue | An initial value to be used until the first secondary message is received. |
Delivery |
primaryDeliveryPolicy | An optional delivery policy for the primary stream. |
Delivery |
secondaryDeliveryPolicy | An optional delivery policy for the secondary stream(s). |
System. |
name | An optional name for the stream operator. |
Returns
Type | Description |
---|---|
IProducer<System. |
Stream of output tuples flattened to arity 7. |
Type Parameters
Name | Description |
---|---|
TPrimaryItem1 | Type of item 1 of primary messages. |
TPrimaryItem2 | Type of item 2 of primary messages. |
TPrimaryItem3 | Type of item 3 of primary messages. |
TPrimaryItem4 | Type of item 4 of primary messages. |
TPrimaryItem5 | Type of item 5 of primary messages. |
TPrimaryItem6 | Type of item 6 of primary messages. |
TSecondary | Type of secondary messages. |
Pair<TPrimaryItem1, TPrimaryItem2, TPrimaryItem3, TPrimaryItem4, TPrimaryItem5, TPrimaryItem6, TSecondary>(IProducer<(TPrimaryItem1, TPrimaryItem2, TPrimaryItem3, TPrimaryItem4, TPrimaryItem5, TPrimaryItem6)>, IProducer<TSecondary>, DeliveryPolicy<(TPrimaryItem1, TPrimaryItem2, TPrimaryItem3, TPrimaryItem4, TPrimaryItem5, TPrimaryItem6)>, DeliveryPolicy<TSecondary>, String)
Pair with currently available value from a secondary stream.
Declaration
public static IProducer<(TPrimaryItem1, TPrimaryItem2, TPrimaryItem3, TPrimaryItem4, TPrimaryItem5, TPrimaryItem6, TSecondary)> Pair<TPrimaryItem1, TPrimaryItem2, TPrimaryItem3, TPrimaryItem4, TPrimaryItem5, TPrimaryItem6, TSecondary>(this IProducer<(TPrimaryItem1, TPrimaryItem2, TPrimaryItem3, TPrimaryItem4, TPrimaryItem5, TPrimaryItem6)> primary, IProducer<TSecondary> secondary, DeliveryPolicy<(TPrimaryItem1, TPrimaryItem2, TPrimaryItem3, TPrimaryItem4, TPrimaryItem5, TPrimaryItem6)> primaryDeliveryPolicy = null, DeliveryPolicy<TSecondary> secondaryDeliveryPolicy = null, string name = "Pair")
Parameters
Type | Name | Description |
---|---|---|
IProducer<System. |
primary | Primary stream of tuples (arity 6). |
IProducer<TSecondary> | secondary | Secondary stream. |
Delivery |
primaryDeliveryPolicy | An optional delivery policy for the primary stream. |
Delivery |
secondaryDeliveryPolicy | An optional delivery policy for the secondary stream(s). |
System. |
name | An optional name for the stream operator. |
Returns
Type | Description |
---|---|
IProducer<System. |
Stream of output tuples flattened to arity 7. |
Type Parameters
Name | Description |
---|---|
TPrimaryItem1 | Type of item 1 of primary messages. |
TPrimaryItem2 | Type of item 2 of primary messages. |
TPrimaryItem3 | Type of item 3 of primary messages. |
TPrimaryItem4 | Type of item 4 of primary messages. |
TPrimaryItem5 | Type of item 5 of primary messages. |
TPrimaryItem6 | Type of item 6 of primary messages. |
TSecondary | Type of secondary messages. |
Parallel<TIn>(IProducer<TIn[]>, Action<IProducer<TIn>>, DeliveryPolicy<TIn[]>, String, DeliveryPolicy)
Processes a stream of variable-size array messages by creating a stream for each element in the array, and performing an action on each of these streams.
Declaration
public static IProducer<TIn[]> Parallel<TIn>(this IProducer<TIn[]> source, Action<IProducer<TIn>> streamAction, DeliveryPolicy<TIn[]> deliveryPolicy = null, string name = null, DeliveryPolicy defaultParallelDeliveryPolicy = null)
Parameters
Type | Name | Description |
---|---|---|
IProducer<TIn[]> | source | Source stream. |
Action<IProducer<TIn>> | streamAction | Action to apply to the individual element streams. |
Delivery |
deliveryPolicy | An optional delivery policy. |
System. |
name | Name for the parallel composite component (defaults to ParallelVariableLength). |
Delivery |
defaultParallelDeliveryPolicy | Pipeline-level default delivery policy to be used by the parallel composite component (defaults to Unlimited if unspecified). |
Returns
Type | Description |
---|---|
IProducer<TIn[]> | Stream of output arrays. |
Type Parameters
Name | Description |
---|---|
TIn | Type of input array element. |
Parallel<TIn>(IProducer<TIn[]>, Action<Int32, IProducer<TIn>>, DeliveryPolicy<TIn[]>, String, DeliveryPolicy)
Processes a stream of variable-size array messages by creating a stream for each element in the array, and performing an action on each of these streams.
Declaration
public static IProducer<TIn[]> Parallel<TIn>(this IProducer<TIn[]> source, Action<int, IProducer<TIn>> streamAction, DeliveryPolicy<TIn[]> deliveryPolicy = null, string name = "Parallel", DeliveryPolicy defaultParallelDeliveryPolicy = null)
Parameters
Type | Name | Description |
---|---|---|
IProducer<TIn[]> | source | Source stream. |
Action<System. |
streamAction | Action to apply to the individual element streams. |
Delivery |
deliveryPolicy | An optional delivery policy. |
System. |
name | Name for the parallel composite component (defaults to ParallelVariableLength). |
Delivery |
defaultParallelDeliveryPolicy | Pipeline-level default delivery policy to be used by the parallel composite component (defaults to Unlimited if unspecified). |
Returns
Type | Description |
---|---|
IProducer<TIn[]> | Stream of output arrays. |
Type Parameters
Name | Description |
---|---|
TIn | Type of input array element. |
Parallel<TIn>(IProducer<TIn[]>, Int32, Action<IProducer<TIn>>, DeliveryPolicy<TIn[]>, String, DeliveryPolicy)
Processes a stream of fixed-size array messages by creating a stream for each element in the array, and performing an action on each of these streams.
Declaration
public static IProducer<TIn[]> Parallel<TIn>(this IProducer<TIn[]> source, int vectorSize, Action<IProducer<TIn>> streamAction, DeliveryPolicy<TIn[]> deliveryPolicy = null, string name = null, DeliveryPolicy defaultParallelDeliveryPolicy = null)
Parameters
Type | Name | Description |
---|---|---|
IProducer<TIn[]> | source | Source stream. |
System. |
vectorSize | Vector arity. |
Action<IProducer<TIn>> | streamAction | Action to apply to the individual element streams. |
Delivery |
deliveryPolicy | An optional delivery policy. |
System. |
name | Name for the parallel composite component (defaults to ParallelFixedLength). |
Delivery |
defaultParallelDeliveryPolicy | Pipeline-level default delivery policy to be used by the parallel composite component (defaults to Unlimited if unspecified). |
Returns
Type | Description |
---|---|
IProducer<TIn[]> | Stream of output arrays. |
Type Parameters
Name | Description |
---|---|
TIn | Type of input array element. |
Parallel<TIn>(IProducer<TIn[]>, Int32, Action<Int32, IProducer<TIn>>, DeliveryPolicy<TIn[]>, String, DeliveryPolicy)
Processes a stream of fixed-size array messages by creating a stream for each element in the array, and performing an action on each of these streams.
Declaration
public static IProducer<TIn[]> Parallel<TIn>(this IProducer<TIn[]> source, int vectorSize, Action<int, IProducer<TIn>> streamAction, DeliveryPolicy<TIn[]> deliveryPolicy = null, string name = null, DeliveryPolicy defaultParallelDeliveryPolicy = null)
Parameters
Type | Name | Description |
---|---|---|
IProducer<TIn[]> | source | Source stream. |
System. |
vectorSize | Vector arity. |
Action<System. |
streamAction | Action to apply to the individual element streams. |
Delivery |
deliveryPolicy | An optional delivery policy. |
System. |
name | Name for the parallel composite component (defaults to ParallelFixedLength). |
Delivery |
defaultParallelDeliveryPolicy | Pipeline-level default delivery policy to be used by the parallel composite component (defaults to Unlimited if unspecified). |
Returns
Type | Description |
---|---|
IProducer<TIn[]> | Stream of output arrays. |
Type Parameters
Name | Description |
---|---|
TIn | Type of input array element. |
Parallel<TIn, TOut>(IProducer<TIn[]>, Func<IProducer<TIn>, IProducer<TOut>>, Boolean, TOut, DeliveryPolicy<TIn[]>, String, DeliveryPolicy)
Transforms a stream of variable-size array messages by creating a stream for each element in the array, applying a sub-pipeline to each of these streams, and assembling the results into a corresponding output array stream.
Declaration
public static IProducer<TOut[]> Parallel<TIn, TOut>(this IProducer<TIn[]> source, Func<IProducer<TIn>, IProducer<TOut>> streamTransform, bool outputDefaultIfDropped = false, TOut defaultValue = null, DeliveryPolicy<TIn[]> deliveryPolicy = null, string name = null, DeliveryPolicy defaultParallelDeliveryPolicy = null)
Parameters
Type | Name | Description |
---|---|---|
IProducer<TIn[]> | source | Source stream. |
Func<IProducer<TIn>, IProducer<TOut>> | streamTransform | Function mapping from an input element stream to an output element stream. |
System. |
outputDefaultIfDropped | When true, a result is produced even if a message is dropped in processing one of the input elements. In this case the corresponding output element is set to a default value. |
TOut | defaultValue | Default value to use when messages are dropped in processing one of the input elements. |
Delivery |
deliveryPolicy | An optional delivery policy. |
System. |
name | Name for the parallel composite component (defaults to ParallelVariableLength). |
Delivery |
defaultParallelDeliveryPolicy | Pipeline-level default delivery policy to be used by the parallel composite component (defaults to Unlimited if unspecified). |
Returns
Type | Description |
---|---|
IProducer<TOut[]> | Stream of output arrays. |
Type Parameters
Name | Description |
---|---|
TIn | Type of input array element. |
TOut | Type of output array element. |
Parallel<TIn, TOut>(IProducer<TIn[]>, Func<Int32, IProducer<TIn>, IProducer<TOut>>, Boolean, TOut, DeliveryPolicy<TIn[]>, String, DeliveryPolicy)
Transforms a stream of variable-size array messages by creating a stream for each element in the array, applying a sub-pipeline to each of these streams, and assembling the results into a corresponding output array stream.
Declaration
public static IProducer<TOut[]> Parallel<TIn, TOut>(this IProducer<TIn[]> source, Func<int, IProducer<TIn>, IProducer<TOut>> streamTransform, bool outputDefaultIfDropped = false, TOut defaultValue = null, DeliveryPolicy<TIn[]> deliveryPolicy = null, string name = "Parallel", DeliveryPolicy defaultParallelDeliveryPolicy = null)
Parameters
Type | Name | Description |
---|---|---|
IProducer<TIn[]> | source | Source stream. |
Func<System. |
streamTransform | Function mapping from an input element stream to an output element stream. |
System. |
outputDefaultIfDropped | When true, a result is produced even if a message is dropped in processing one of the input elements. In this case the corresponding output element is set to a default value. |
TOut | defaultValue | Default value to use when messages are dropped in processing one of the input elements. |
Delivery |
deliveryPolicy | An optional delivery policy. |
System. |
name | Name for the parallel composite component (defaults to ParallelVariableLength). |
Delivery |
defaultParallelDeliveryPolicy | Pipeline-level default delivery policy to be used by the parallel composite component (defaults to Unlimited if unspecified). |
Returns
Type | Description |
---|---|
IProducer<TOut[]> | Stream of output arrays. |
Type Parameters
Name | Description |
---|---|
TIn | Type of input array element. |
TOut | Type of output array element. |
Parallel<TIn, TOut>(IProducer<TIn[]>, Int32, Func<IProducer<TIn>, IProducer<TOut>>, Boolean, TOut, DeliveryPolicy<TIn[]>, String, DeliveryPolicy)
Transforms a stream of fixed-size array messages by creating a stream for each element in the array, applying a sub-pipeline to each of these streams, and assembling the results into a corresponding output array stream.
Declaration
public static IProducer<TOut[]> Parallel<TIn, TOut>(this IProducer<TIn[]> source, int vectorSize, Func<IProducer<TIn>, IProducer<TOut>> streamTransform, bool outputDefaultIfDropped = false, TOut defaultValue = null, DeliveryPolicy<TIn[]> deliveryPolicy = null, string name = null, DeliveryPolicy defaultParallelDeliveryPolicy = null)
Parameters
Type | Name | Description |
---|---|---|
IProducer<TIn[]> | source | Source stream. |
System. |
vectorSize | Vector arity. |
Func<IProducer<TIn>, IProducer<TOut>> | streamTransform | Function mapping from an input element stream to an output element stream. |
System. |
outputDefaultIfDropped | When true, a result is produced even if a message is dropped in processing one of the input elements. In this case the corresponding output element is set to a default value. |
TOut | defaultValue | Default value to use when messages are dropped in processing one of the input elements. |
Delivery |
deliveryPolicy | An optional delivery policy. |
System. |
name | Name for the parallel composite component (defaults to ParallelFixedLength). |
Delivery |
defaultParallelDeliveryPolicy | Pipeline-level default delivery policy to be used by the parallel composite component (defaults to Unlimited if unspecified). |
Returns
Type | Description |
---|---|
IProducer<TOut[]> | Stream of output arrays. |
Type Parameters
Name | Description |
---|---|
TIn | Type of input array element. |
TOut | Type of output array element. |
Parallel<TIn, TOut>(IProducer<TIn[]>, Int32, Func<Int32, IProducer<TIn>, IProducer<TOut>>, Boolean, TOut, DeliveryPolicy<TIn[]>, String, DeliveryPolicy)
Transforms a stream of fixed-size array messages by creating a stream for each element in the array, applying a sub-pipeline to each of these streams, and assembling the results into a corresponding output array stream.
Declaration
public static IProducer<TOut[]> Parallel<TIn, TOut>(this IProducer<TIn[]> source, int vectorSize, Func<int, IProducer<TIn>, IProducer<TOut>> streamTransform, bool outputDefaultIfDropped = false, TOut defaultValue = null, DeliveryPolicy<TIn[]> deliveryPolicy = null, string name = null, DeliveryPolicy defaultParallelDeliveryPolicy = null)
Parameters
Type | Name | Description |
---|---|---|
IProducer<TIn[]> | source | Source stream. |
System. |
vectorSize | Vector arity. |
Func<System. |
streamTransform | Function mapping from an index and stream of input element to a stream of output element. |
System. |
outputDefaultIfDropped | When true, a result is produced even if a message is dropped in processing one of the input elements. In this case the corresponding output element is set to a default value. |
TOut | defaultValue | Default value to use when messages are dropped in processing one of the input elements. |
Delivery |
deliveryPolicy | An optional delivery policy. |
System. |
name | Name for the parallel composite component (defaults to ParallelFixedLength). |
Delivery |
defaultParallelDeliveryPolicy | Pipeline-level default delivery policy to be used by the parallel composite component (defaults to Unlimited if unspecified). |
Returns
Type | Description |
---|---|
IProducer<TOut[]> | Stream of output arrays. |
Type Parameters
Name | Description |
---|---|
TIn | Type of input array element. |
TOut | Type of output array element. |
Parallel<TBranchKey, TBranchIn>(IProducer<Dictionary<TBranchKey, TBranchIn>>, Action<TBranchKey, IProducer<TBranchIn>>, DeliveryPolicy<Dictionary<TBranchKey, TBranchIn>>, Func<TBranchKey, Dictionary<TBranchKey, TBranchIn>, DateTime, (Boolean, DateTime)>, String, DeliveryPolicy)
Processes a stream of dictionary messages by creating a stream for each key in the dictionary, applying a sub-pipeline to each of these streams.
Declaration
public static IProducer<Dictionary<TBranchKey, TBranchIn>> Parallel<TBranchKey, TBranchIn>(this IProducer<Dictionary<TBranchKey, TBranchIn>> source, Action<TBranchKey, IProducer<TBranchIn>> streamAction, DeliveryPolicy<Dictionary<TBranchKey, TBranchIn>> deliveryPolicy = null, Func<TBranchKey, Dictionary<TBranchKey, TBranchIn>, DateTime, (bool, DateTime)> branchTerminationPolicy = null, string name = "Parallel", DeliveryPolicy defaultParallelDeliveryPolicy = null)
Parameters
Type | Name | Description |
---|---|---|
IProducer<Dictionary<TBranchKey, TBranchIn>> | source | Source stream. |
Action<TBranchKey, IProducer<TBranchIn>> | streamAction | The action to apply to each element stream. |
Delivery |
deliveryPolicy | An optional delivery policy. |
Func<TBranchKey, Dictionary<TBranchKey, TBranchIn>, Date |
branchTerminationPolicy | Predicate function determining whether and when (originating time) to terminate branches (defaults to when key no longer present), given the current key, message payload (dictionary) and originating time. |
System. |
name | Name for the parallel composite component (defaults to ParallelSparse). |
Delivery |
defaultParallelDeliveryPolicy | Pipeline-level default delivery policy to be used by the parallel composite component (defaults to Unlimited if unspecified). |
Returns
Type | Description |
---|---|
IProducer<Dictionary<TBranchKey, TBranchIn>> | Stream of output dictionaries. |
Type Parameters
Name | Description |
---|---|
TBranchKey | Type of the substream key. |
TBranchIn | Type of the substream messages. |
Parallel<TBranchKey, TBranchIn>(IProducer<Dictionary<TBranchKey, TBranchIn>>, Action<IProducer<TBranchIn>>, DeliveryPolicy<Dictionary<TBranchKey, TBranchIn>>, Func<TBranchKey, Dictionary<TBranchKey, TBranchIn>, DateTime, (Boolean, DateTime)>, String, DeliveryPolicy)
Processes a stream of dictionary messages by creating a stream for each key in the dictionary, applying a sub-pipeline to each of these streams.
Declaration
public static IProducer<Dictionary<TBranchKey, TBranchIn>> Parallel<TBranchKey, TBranchIn>(this IProducer<Dictionary<TBranchKey, TBranchIn>> source, Action<IProducer<TBranchIn>> streamAction, DeliveryPolicy<Dictionary<TBranchKey, TBranchIn>> deliveryPolicy = null, Func<TBranchKey, Dictionary<TBranchKey, TBranchIn>, DateTime, (bool, DateTime)> branchTerminationPolicy = null, string name = "Parallel", DeliveryPolicy defaultParallelDeliveryPolicy = null)
Parameters
Type | Name | Description |
---|---|---|
IProducer<Dictionary<TBranchKey, TBranchIn>> | source | Source stream. |
Action<IProducer<TBranchIn>> | streamAction | The action to apply to each element stream. |
Delivery |
deliveryPolicy | An optional delivery policy. |
Func<TBranchKey, Dictionary<TBranchKey, TBranchIn>, Date |
branchTerminationPolicy | Predicate function determining whether and when (originating time) to terminate branches (defaults to when key no longer present), given the current key, message payload (dictionary) and originating time. |
System. |
name | Name for the parallel composite component (defaults to ParallelSparse). |
Delivery |
defaultParallelDeliveryPolicy | Pipeline-level default delivery policy to be used by the parallel composite component (defaults to Unlimited if unspecified). |
Returns
Type | Description |
---|---|
IProducer<Dictionary<TBranchKey, TBranchIn>> | Stream of output dictionaries. |
Type Parameters
Name | Description |
---|---|
TBranchKey | Type of input dictionary keys. |
TBranchIn | Type of input dictionary values. |
Parallel<TIn, TBranchKey, TBranchIn>(IProducer<TIn>, Func<TIn, Dictionary<TBranchKey, TBranchIn>>, Action<TBranchKey, IProducer<TBranchIn>>, DeliveryPolicy<TIn>, Func<TBranchKey, Dictionary<TBranchKey, TBranchIn>, DateTime, (Boolean, DateTime)>, String, DeliveryPolicy)
Processes a stream of messages by splitting it into a set of substreams (indexed by a key), applying a sub-pipeline to each of these streams.
Declaration
public static IProducer<TIn> Parallel<TIn, TBranchKey, TBranchIn>(this IProducer<TIn> source, Func<TIn, Dictionary<TBranchKey, TBranchIn>> splitter, Action<TBranchKey, IProducer<TBranchIn>> streamAction, DeliveryPolicy<TIn> deliveryPolicy = null, Func<TBranchKey, Dictionary<TBranchKey, TBranchIn>, DateTime, (bool, DateTime)> branchTerminationPolicy = null, string name = "Parallel", DeliveryPolicy defaultParallelDeliveryPolicy = null)
Parameters
Type | Name | Description |
---|---|---|
IProducer<TIn> | source | Source stream. |
Func<TIn, Dictionary<TBranchKey, TBranchIn>> | splitter | A function that splits the input by generating a dictionary of key-value pairs for each given input message. |
Action<TBranchKey, IProducer<TBranchIn>> | streamAction | The action to apply to each element stream. |
Delivery |
deliveryPolicy | An optional delivery policy. |
Func<TBranchKey, Dictionary<TBranchKey, TBranchIn>, Date |
branchTerminationPolicy | Predicate function determining whether and when (originating time) to terminate branches (defaults to when key no longer present), given the current key, message payload (dictionary) and originating time. |
System. |
name | Name for the parallel composite component (defaults to ParallelSparse). |
Delivery |
defaultParallelDeliveryPolicy | Pipeline-level default delivery policy to be used by the parallel composite component (defaults to Unlimited if unspecified). |
Returns
Type | Description |
---|---|
IProducer<TIn> | Stream of output dictionaries. |
Type Parameters
Name | Description |
---|---|
TIn | The type of input messages. |
TBranchKey | Type of the substream key. |
TBranchIn | Type of the substream messages. |
Parallel<TIn, TBranchKey, TBranchIn>(IProducer<TIn>, Func<TIn, Dictionary<TBranchKey, TBranchIn>>, Action<IProducer<TBranchIn>>, DeliveryPolicy<TIn>, Func<TBranchKey, Dictionary<TBranchKey, TBranchIn>, DateTime, (Boolean, DateTime)>, String, DeliveryPolicy)
Processes a stream of dictionary messages by creating a stream for each key in the dictionary, applying a sub-pipeline to each of these streams.
Declaration
public static IProducer<TIn> Parallel<TIn, TBranchKey, TBranchIn>(this IProducer<TIn> source, Func<TIn, Dictionary<TBranchKey, TBranchIn>> splitter, Action<IProducer<TBranchIn>> streamAction, DeliveryPolicy<TIn> deliveryPolicy = null, Func<TBranchKey, Dictionary<TBranchKey, TBranchIn>, DateTime, (bool, DateTime)> branchTerminationPolicy = null, string name = "Parallel", DeliveryPolicy defaultParallelDeliveryPolicy = null)
Parameters
Type | Name | Description |
---|---|---|
IProducer<TIn> | source | Source stream. |
Func<TIn, Dictionary<TBranchKey, TBranchIn>> | splitter | A function that splits the input by generating a dictionary of key-value pairs for each given input message. |
Action<IProducer<TBranchIn>> | streamAction | The action to apply to each element stream. |
Delivery |
deliveryPolicy | An optional delivery policy. |
Func<TBranchKey, Dictionary<TBranchKey, TBranchIn>, Date |
branchTerminationPolicy | Predicate function determining whether and when (originating time) to terminate branches (defaults to when key no longer present), given the current key, message payload (dictionary) and originating time. |
System. |
name | Name for the parallel composite component (defaults to ParallelSparse). |
Delivery |
defaultParallelDeliveryPolicy | Pipeline-level default delivery policy to be used by the parallel composite component (defaults to Unlimited if unspecified). |
Returns
Type | Description |
---|---|
IProducer<TIn> | Stream of output dictionaries. |
Type Parameters
Name | Description |
---|---|
TIn | The type of input messages. |
TBranchKey | Type of the substream key. |
TBranchIn | Type of the substream messages. |
Parallel<TBranchKey, TBranchIn, TBranchOut>(IProducer<Dictionary<TBranchKey, TBranchIn>>, Func<TBranchKey, IProducer<TBranchIn>, IProducer<TBranchOut>>, Boolean, TBranchOut, DeliveryPolicy<Dictionary<TBranchKey, TBranchIn>>, Func<TBranchKey, Dictionary<TBranchKey, TBranchIn>, DateTime, (Boolean, DateTime)>, String, DeliveryPolicy)
Transforms a stream of dictionary messages by creating a stream for each key in the dictionary, applying a sub-pipeline to each of these streams, and assembling the results into a corresponding output dictionary stream.
Declaration
public static IProducer<Dictionary<TBranchKey, TBranchOut>> Parallel<TBranchKey, TBranchIn, TBranchOut>(this IProducer<Dictionary<TBranchKey, TBranchIn>> source, Func<TBranchKey, IProducer<TBranchIn>, IProducer<TBranchOut>> streamTransform, bool outputDefaultIfDropped = false, TBranchOut defaultValue = null, DeliveryPolicy<Dictionary<TBranchKey, TBranchIn>> deliveryPolicy = null, Func<TBranchKey, Dictionary<TBranchKey, TBranchIn>, DateTime, (bool, DateTime)> branchTerminationPolicy = null, string name = "Parallel", DeliveryPolicy defaultParallelDeliveryPolicy = null)
Parameters
Type | Name | Description |
---|---|---|
IProducer<Dictionary<TBranchKey, TBranchIn>> | source | Source stream. |
Func<TBranchKey, IProducer<TBranchIn>, IProducer<TBranchOut>> | streamTransform | Function mapping from an input element stream to an output element stream. |
System. |
outputDefaultIfDropped | When true, a result is produced even if a message is dropped in processing one of the input elements. In this case the corresponding output element is set to a default value. |
TBranch |
defaultValue | Default value to use when messages are dropped in processing one of the input elements. |
Delivery |
deliveryPolicy | An optional delivery policy. |
Func<TBranchKey, Dictionary<TBranchKey, TBranchIn>, Date |
branchTerminationPolicy | Predicate function determining whether and when (originating time) to terminate branches (defaults to when key no longer present), given the current key, message payload (dictionary) and originating time. |
System. |
name | Name for the parallel composite component (defaults to ParallelSparse). |
Delivery |
defaultParallelDeliveryPolicy | Pipeline-level default delivery policy to be used by the parallel composite component (defaults to Unlimited if unspecified). |
Returns
Type | Description |
---|---|
IProducer<Dictionary<TBranchKey, TBranchOut>> | Stream of output dictionaries. |
Type Parameters
Name | Description |
---|---|
TBranchKey | Type of input dictionary keys. |
TBranchIn | Type of input dictionary values. |
TBranchOut | Type of output dictionary values. |
Parallel<TBranchKey, TBranchIn, TBranchOut>(IProducer<Dictionary<TBranchKey, TBranchIn>>, Func<IProducer<TBranchIn>, IProducer<TBranchOut>>, Boolean, TBranchOut, DeliveryPolicy<Dictionary<TBranchKey, TBranchIn>>, Func<TBranchKey, Dictionary<TBranchKey, TBranchIn>, DateTime, (Boolean, DateTime)>, String, DeliveryPolicy)
Transforms a stream of dictionary messages by creating a stream for each key in the dictionary, applying a sub-pipeline to each of these streams, and assembling the results into a corresponding output dictionary stream.
Declaration
public static IProducer<Dictionary<TBranchKey, TBranchOut>> Parallel<TBranchKey, TBranchIn, TBranchOut>(this IProducer<Dictionary<TBranchKey, TBranchIn>> source, Func<IProducer<TBranchIn>, IProducer<TBranchOut>> streamTransform, bool outputDefaultIfDropped = false, TBranchOut defaultValue = null, DeliveryPolicy<Dictionary<TBranchKey, TBranchIn>> deliveryPolicy = null, Func<TBranchKey, Dictionary<TBranchKey, TBranchIn>, DateTime, (bool, DateTime)> branchTerminationPolicy = null, string name = "Parallel", DeliveryPolicy defaultParallelDeliveryPolicy = null)
Parameters
Type | Name | Description |
---|---|---|
IProducer<Dictionary<TBranchKey, TBranchIn>> | source | Source stream. |
Func<IProducer<TBranchIn>, IProducer<TBranchOut>> | streamTransform | Function mapping from an input element stream to an output element stream. |
System. |
outputDefaultIfDropped | When true, a result is produced even if a message is dropped in processing one of the input elements. In this case the corresponding output element is set to default. |
TBranch |
defaultValue | Default value to use when messages are dropped in processing one of the input elements. |
Delivery |
deliveryPolicy | An optional delivery policy. |
Func<TBranchKey, Dictionary<TBranchKey, TBranchIn>, Date |
branchTerminationPolicy | Predicate function determining whether and when (originating time) to terminate branches (defaults to when key no longer present), given the current key, dictionary of values and the originating time of the last message containing the key. |
System. |
name | Name for the parallel composite component (defaults to ParallelSparse). |
Delivery |
defaultParallelDeliveryPolicy | Pipeline-level default delivery policy to be used by the parallel composite component (defaults to Unlimited if unspecified). |
Returns
Type | Description |
---|---|
IProducer<Dictionary<TBranchKey, TBranchOut>> | Stream of output dictionaries. |
Type Parameters
Name | Description |
---|---|
TBranchKey | Type of input dictionary keys. |
TBranchIn | Type of input dictionary values. |
TBranchOut | Type of output dictionary values. |
Parallel<TIn, TBranchKey, TBranchIn, TBranchOut>(IProducer<TIn>, Func<TIn, Dictionary<TBranchKey, TBranchIn>>, Func<IProducer<TBranchIn>, IProducer<TBranchOut>>, Boolean, TBranchOut, DeliveryPolicy<TIn>, Func<TBranchKey, Dictionary<TBranchKey, TBranchIn>, DateTime, (Boolean, DateTime)>, String, DeliveryPolicy)
Transforms a stream of messages by splitting it into a set of substreams (indexed by a key), applying a sub-pipeline to each of these streams, and assembling the results into a corresponding output stream.
Declaration
public static IProducer<Dictionary<TBranchKey, TBranchOut>> Parallel<TIn, TBranchKey, TBranchIn, TBranchOut>(this IProducer<TIn> source, Func<TIn, Dictionary<TBranchKey, TBranchIn>> splitter, Func<IProducer<TBranchIn>, IProducer<TBranchOut>> streamTransform, bool outputDefaultIfDropped = false, TBranchOut defaultValue = null, DeliveryPolicy<TIn> deliveryPolicy = null, Func<TBranchKey, Dictionary<TBranchKey, TBranchIn>, DateTime, (bool, DateTime)> branchTerminationPolicy = null, string name = "Parallel", DeliveryPolicy defaultParallelDeliveryPolicy = null)
Parameters
Type | Name | Description |
---|---|---|
IProducer<TIn> | source | Source stream. |
Func<TIn, Dictionary<TBranchKey, TBranchIn>> | splitter | A function that splits the input by generating a dictionary of key-value pairs for each given input message. |
Func<IProducer<TBranchIn>, IProducer<TBranchOut>> | streamTransform | Stream transform to be applied to each substream. |
System. |
outputDefaultIfDropped | When true, a result is produced even if a message is dropped in processing one of the input elements. In this case the corresponding output element is set to default. |
TBranch |
defaultValue | Default value to use when messages are dropped in processing one of the input elements. |
Delivery |
deliveryPolicy | An optional delivery policy. |
Func<TBranchKey, Dictionary<TBranchKey, TBranchIn>, Date |
branchTerminationPolicy | Predicate function determining whether and when (originating time) to terminate branches (defaults to when key no longer present), given the current key, dictionary of values and the originating time of the last message containing the key. |
System. |
name | Name for the parallel composite component (defaults to ParallelSparse). |
Delivery |
defaultParallelDeliveryPolicy | Pipeline-level default delivery policy to be used by the parallel composite component (defaults to Unlimited if unspecified). |
Returns
Type | Description |
---|---|
IProducer<Dictionary<TBranchKey, TBranchOut>> | Stream of output dictionaries. |
Type Parameters
Name | Description |
---|---|
TIn | The type of input messages. |
TBranchKey | Type of the substream key. |
TBranchIn | Type of the substream messages. |
TBranchOut | Type of the subpipeline output for each substream. |
Parallel<TIn, TBranchKey, TBranchIn, TBranchOut, TOut>(IProducer<TIn>, Func<TIn, Dictionary<TBranchKey, TBranchIn>>, Func<TBranchKey, IProducer<TBranchIn>, IProducer<TBranchOut>>, Func<Dictionary<TBranchKey, TBranchOut>, TOut>, Boolean, TBranchOut, DeliveryPolicy<TIn>, Func<TBranchKey, Dictionary<TBranchKey, TBranchIn>, DateTime, (Boolean, DateTime)>, String, DeliveryPolicy)
Transforms a stream of messages by splitting it into a set of sub-streams (indexed by a branch key), applying a sub-pipeline to each of these streams, and assembling the results into a corresponding output stream.
Declaration
public static IProducer<TOut> Parallel<TIn, TBranchKey, TBranchIn, TBranchOut, TOut>(this IProducer<TIn> source, Func<TIn, Dictionary<TBranchKey, TBranchIn>> splitter, Func<TBranchKey, IProducer<TBranchIn>, IProducer<TBranchOut>> streamTransform, Func<Dictionary<TBranchKey, TBranchOut>, TOut> outputCreator, bool outputDefaultIfDropped = false, TBranchOut defaultValue = null, DeliveryPolicy<TIn> deliveryPolicy = null, Func<TBranchKey, Dictionary<TBranchKey, TBranchIn>, DateTime, (bool, DateTime)> branchTerminationPolicy = null, string name = "Parallel", DeliveryPolicy defaultParallelDeliveryPolicy = null)
Parameters
Type | Name | Description |
---|---|---|
IProducer<TIn> | source | Source stream. |
Func<TIn, Dictionary<TBranchKey, TBranchIn>> | splitter | A function that splits the input by generating a dictionary of key-value pairs for each given input message. |
Func<TBranchKey, IProducer<TBranchIn>, IProducer<TBranchOut>> | streamTransform | Stream transform to be applied to each substream. |
Func<Dictionary<TBranchKey, TBranchOut>, TOut> | outputCreator | A function that creates the output message based on a dictionary containing the branch outputs. |
System. |
outputDefaultIfDropped | When true, a result is produced even if a message is dropped in processing one of the input elements. In this case the corresponding output element is set to a default value. |
TBranch |
defaultValue | Default value to use when messages are dropped in processing one of the input elements. |
Delivery |
deliveryPolicy | An optional delivery policy. |
Func<TBranchKey, Dictionary<TBranchKey, TBranchIn>, Date |
branchTerminationPolicy | Predicate function determining whether and when (originating time) to terminate branches (defaults to when key no longer present), given the current key, message payload (dictionary) and originating time. |
System. |
name | Name for the parallel composite component (defaults to ParallelSparse). |
Delivery |
defaultParallelDeliveryPolicy | Pipeline-level default delivery policy to be used by the parallel composite component (defaults to Unlimited if unspecified). |
Returns
Type | Description |
---|---|
IProducer<TOut> | Stream of output dictionaries. |
Type Parameters
Name | Description |
---|---|
TIn | The type of input messages. |
TBranchKey | Type of the substream key. |
TBranchIn | Type of the substream messages. |
TBranchOut | Type of the subpipeline output for each substream. |
TOut | The type of output messages. |
Parallel<TIn, TBranchKey, TBranchIn, TBranchOut, TOut>(IProducer<TIn>, Func<TIn, Dictionary<TBranchKey, TBranchIn>>, Func<IProducer<TBranchIn>, IProducer<TBranchOut>>, Func<Dictionary<TBranchKey, TBranchOut>, TOut>, Boolean, TBranchOut, DeliveryPolicy<TIn>, Func<TBranchKey, Dictionary<TBranchKey, TBranchIn>, DateTime, (Boolean, DateTime)>, String, DeliveryPolicy)
Transforms a stream of messages by splitting it into a set of substreams (indexed by a key), applying a sub-pipeline to each of these streams, and assembling the results into a corresponding output stream.
Declaration
public static IProducer<TOut> Parallel<TIn, TBranchKey, TBranchIn, TBranchOut, TOut>(this IProducer<TIn> source, Func<TIn, Dictionary<TBranchKey, TBranchIn>> splitter, Func<IProducer<TBranchIn>, IProducer<TBranchOut>> streamTransform, Func<Dictionary<TBranchKey, TBranchOut>, TOut> outputCreator, bool outputDefaultIfDropped = false, TBranchOut defaultValue = null, DeliveryPolicy<TIn> deliveryPolicy = null, Func<TBranchKey, Dictionary<TBranchKey, TBranchIn>, DateTime, (bool, DateTime)> branchTerminationPolicy = null, string name = "Parallel", DeliveryPolicy defaultParallelDeliveryPolicy = null)
Parameters
Type | Name | Description |
---|---|---|
IProducer<TIn> | source | Source stream. |
Func<TIn, Dictionary<TBranchKey, TBranchIn>> | splitter | A function that splits the input by generating a dictionary of key-value pairs for each given input message. |
Func<IProducer<TBranchIn>, IProducer<TBranchOut>> | streamTransform | Stream transform to be applied to each substream. |
Func<Dictionary<TBranchKey, TBranchOut>, TOut> | outputCreator | A function that creates the output message based on a dictionary containing the branch outputs. |
System. |
outputDefaultIfDropped | When true, a result is produced even if a message is dropped in processing one of the input elements. In this case the corresponding output element is set to default. |
TBranch |
defaultValue | Default value to use when messages are dropped in processing one of the input elements. |
Delivery |
deliveryPolicy | An optional delivery policy. |
Func<TBranchKey, Dictionary<TBranchKey, TBranchIn>, Date |
branchTerminationPolicy | Predicate function determining whether and when (originating time) to terminate branches (defaults to when key no longer present), given the current key, dictionary of values and the originating time of the last message containing the key. |
System. |
name | Name for the parallel composite component (defaults to ParallelSparse). |
Delivery |
defaultParallelDeliveryPolicy | Pipeline-level default delivery policy to be used by the parallel composite component (defaults to Unlimited if unspecified). |
Returns
Type | Description |
---|---|
IProducer<TOut> | Stream of output dictionaries. |
Type Parameters
Name | Description |
---|---|
TIn | The type of input messages. |
TBranchKey | Type of the substream key. |
TBranchIn | Type of the substream messages. |
TBranchOut | Type of the subpipeline output for each substream. |
TOut | The type of output messages. |
PipeTo<TIn, TConsumer>(IProducer<TIn>, TConsumer, DeliveryPolicy<TIn>)
Connects a stream producer to a stream consumer.
Declaration
public static TConsumer PipeTo<TIn, TConsumer>(this IProducer<TIn> source, TConsumer consumer, DeliveryPolicy<TIn> deliveryPolicy = null)
where TConsumer : IConsumer<TIn>
Parameters
Type | Name | Description |
---|---|---|
IProducer<TIn> | source | The source stream to subscribe to. |
TConsumer | consumer | The consumer (subscriber). |
Delivery |
deliveryPolicy | An optional delivery policy. |
Returns
Type | Description |
---|---|
TConsumer | The consumer that was passed as input. |
Type Parameters
Name | Description |
---|---|
TIn | The type of messages in the stream. |
TConsumer | The type of the consumer. |
Process<TIn, TOut>(IProducer<TIn>, Action<TIn, Envelope, Emitter<TOut>>, DeliveryPolicy<TIn>, String)
Executes a transform action for each item in the input stream. The action can output zero or more results by posting them to the emitter provided as an argument.
Declaration
public static IProducer<TOut> Process<TIn, TOut>(this IProducer<TIn> source, Action<TIn, Envelope, Emitter<TOut>> transform, DeliveryPolicy<TIn> deliveryPolicy = null, string name = "Process")
Parameters
Type | Name | Description |
---|---|---|
IProducer<TIn> | source | The source stream to subscribe to. |
Action<TIn, Envelope, Emitter<TOut>> | transform | The action to perform on every message in the source stream. The action parameters are the message, the envelope and an emitter to post results to. |
Delivery |
deliveryPolicy | An optional delivery policy. |
System. |
name | An optional name for this stream operator. |
Returns
Type | Description |
---|---|
IProducer<TOut> | A stream of type |
Type Parameters
Name | Description |
---|---|
TIn | The input message type. |
TOut | The output message type. |
Sample<T>(IProducer<T>, TimeSpan, RelativeTimeInterval, Nullable<DateTime>, DeliveryPolicy<T>, String)
Sample a stream at a given sampling interval, by selecting the nearest message within a relative time interval to the interpolation point.
Declaration
public static IProducer<T> Sample<T>(this IProducer<T> source, TimeSpan samplingInterval, RelativeTimeInterval relativeTimeInterval = null, DateTime? alignmentDateTime = null, DeliveryPolicy<T> deliveryPolicy = null, string name = "Sample")
Parameters
Type | Name | Description |
---|---|---|
IProducer<T> | source | Source stream. |
Time |
samplingInterval | Interval at which to apply the interpolator. |
Relative |
relativeTimeInterval | The relative time interval within which to search for the nearest message. If the parameter is not specified the Infiniterelative time interval is used,resulting in sampling the nearest point to the clock signal on the source stream. |
System. |
alignmentDateTime | If non-null, this parameter specifies a time to align the sampling messages with. If the parameter is non-null, the messages will have originating times that align with (i.e., are an integral number of intervals away from) the specified alignment time. |
Delivery |
deliveryPolicy | An optional delivery policy. |
System. |
name | An optional name for the stream operator. |
Returns
Type | Description |
---|---|
IProducer<T> | Sampled stream. |
Type Parameters
Name | Description |
---|---|
T | Type of source (and output) messages. |
Sample<T>(IProducer<T>, TimeSpan, TimeSpan, Nullable<DateTime>, DeliveryPolicy<T>, String)
Sample a stream at a given sampling interval, by selecting the nearest message within a given tolerance to the interpolation point.
Declaration
public static IProducer<T> Sample<T>(this IProducer<T> source, TimeSpan samplingInterval, TimeSpan tolerance, DateTime? alignmentDateTime = null, DeliveryPolicy<T> sourceDeliveryPolicy = null, string name = "Sample")
Parameters
Type | Name | Description |
---|---|---|
IProducer<T> | source | Source stream. |
Time |
samplingInterval | Interval at which to apply the interpolator. |
Time |
tolerance | The tolerance within which to search for the nearest message. |
System. |
alignmentDateTime | If non-null, this parameter specifies a time to align the sampling messages with. If the parameter is non-null, the messages will have originating times that align with (i.e., are an integral number of intervals away from) the specified alignment time. |
Delivery |
sourceDeliveryPolicy | An optional delivery policy. |
System. |
name | An optional name for the stream operator. |
Returns
Type | Description |
---|---|
IProducer<T> | Sampled stream. |
Type Parameters
Name | Description |
---|---|
T | Type of source (and output) messages. |
Sample<T, TClock>(IProducer<T>, IProducer<TClock>, RelativeTimeInterval, DeliveryPolicy<T>, DeliveryPolicy<TClock>, String)
Samples a stream at interpolation points given by a clock stream, by selecting the nearest message within a relative time interval to the interpolation point.
Declaration
public static IProducer<T> Sample<T, TClock>(this IProducer<T> source, IProducer<TClock> clock, RelativeTimeInterval relativeTimeInterval = null, DeliveryPolicy<T> sourceDeliveryPolicy = null, DeliveryPolicy<TClock> clockDeliveryPolicy = null, string name = "Sample")
Parameters
Type | Name | Description |
---|---|---|
IProducer<T> | source | Source stream. |
IProducer<TClock> | clock | Clock stream that dictates the interpolation points. |
Relative |
relativeTimeInterval | The relative time interval within which to search for the nearest message. If the parameter is not specified the Infiniterelative time interval is used,resulting in sampling the nearest point to the clock signal on the source stream. |
Delivery |
sourceDeliveryPolicy | An optional delivery policy for the source stream. |
Delivery |
clockDeliveryPolicy | An optional delivery policy for the clock stream. |
System. |
name | An optional name for the stream operator. |
Returns
Type | Description |
---|---|
IProducer<T> | Sampled stream. |
Type Parameters
Name | Description |
---|---|
T | Type of source and output messages. |
TClock | Type of messages on the clock stream. |
Sample<T, TClock>(IProducer<T>, IProducer<TClock>, TimeSpan, DeliveryPolicy<T>, DeliveryPolicy<TClock>, String)
Sample a stream at interpolation points given by a clock stream, by selecting the nearest message within a given tolerance to the interpolation point.
Declaration
public static IProducer<T> Sample<T, TClock>(this IProducer<T> source, IProducer<TClock> clock, TimeSpan tolerance, DeliveryPolicy<T> sourceDeliveryPolicy = null, DeliveryPolicy<TClock> clockDeliveryPolicy = null, string name = "Sample")
Parameters
Type | Name | Description |
---|---|---|
IProducer<T> | source | Source stream. |
IProducer<TClock> | clock | Clock stream that dictates the interpolation points. |
Time |
tolerance | The tolerance within which to search for the nearest message. |
Delivery |
sourceDeliveryPolicy | An optional delivery policy for the source stream. |
Delivery |
clockDeliveryPolicy | An optional delivery policy for the clock stream. |
System. |
name | An optional name for the stream operator. |
Returns
Type | Description |
---|---|
IProducer<T> | Sampled stream. |
Type Parameters
Name | Description |
---|---|
T | Type of source and output messages. |
TClock | Type of messages on the clock stream. |
Select<TIn, TOut>(IProducer<TIn>, Func<TIn, TOut>, DeliveryPolicy<TIn>, String)
Executes a transform function for each item in the input stream, generating a new stream with the values returned by the function.
Declaration
public static IProducer<TOut> Select<TIn, TOut>(this IProducer<TIn> source, Func<TIn, TOut> selector, DeliveryPolicy<TIn> deliveryPolicy = null, string name = "Select")
Parameters
Type | Name | Description |
---|---|---|
IProducer<TIn> | source | The source stream to subscribe to. |
Func<TIn, TOut> | selector | The function to perform on every message in the source stream. |
Delivery |
deliveryPolicy | An optional delivery policy. |
System. |
name | An optional name for this stream operator. |
Returns
Type | Description |
---|---|
IProducer<TOut> | A stream of type |
Type Parameters
Name | Description |
---|---|
TIn | The input message type. |
TOut | The output message type. |
Select<TIn, TOut>(IProducer<TIn>, Func<TIn, Envelope, TOut>, DeliveryPolicy<TIn>, String)
Executes a transform function for each item in the input stream, generating a new stream with the values returned by the function. The function has access to the envelope of the input message.
Declaration
public static IProducer<TOut> Select<TIn, TOut>(this IProducer<TIn> source, Func<TIn, Envelope, TOut> selector, DeliveryPolicy<TIn> deliveryPolicy = null, string name = "Select")
Parameters
Type | Name | Description |
---|---|---|
IProducer<TIn> | source | The source stream to subscribe to. |
Func<TIn, Envelope, TOut> | selector | The function to perform on every message in the source stream. The function takes two parameters, the input message and its envelope. |
Delivery |
deliveryPolicy | An optional delivery policy. |
System. |
name | An optional name for this stream operator. |
Returns
Type | Description |
---|---|
IProducer<TOut> | A stream of type |
Type Parameters
Name | Description |
---|---|
TIn | The input message type. |
TOut | The output message type. |
Std(IEnumerable<Decimal>)
Compute standard deviation of (decimal) values.
Declaration
public static decimal Std(this IEnumerable<decimal> source)
Parameters
Type | Name | Description |
---|---|---|
IEnumerable<System. |
source | Source stream. |
Returns
Type | Description |
---|---|
System. |
Stream of standard deviation (decimal) values. |
Std(IEnumerable<Double>)
Compute standard deviation of (double) values.
Declaration
public static double Std(this IEnumerable<double> source)
Parameters
Type | Name | Description |
---|---|---|
IEnumerable<System. |
source | Source stream. |
Returns
Type | Description |
---|---|
System. |
Stream of standard deviation (double) values. |
Std(IEnumerable<Int32>)
Compute standard deviation of (int) values.
Declaration
public static double Std(this IEnumerable<int> source)
Parameters
Type | Name | Description |
---|---|---|
IEnumerable<System. |
source | Source stream. |
Returns
Type | Description |
---|---|
System. |
Stream of standard deviation (double) values. |
Std(IEnumerable<Int64>)
Compute standard deviation of (long) values.
Declaration
public static double Std(this IEnumerable<long> source)
Parameters
Type | Name | Description |
---|---|---|
IEnumerable<System. |
source | Source stream. |
Returns
Type | Description |
---|---|
System. |
Stream of standard deviation (double) values. |
Std(IEnumerable<Nullable<Decimal>>)
Compute standard deviation of (decimal?) values.
Declaration
public static decimal? Std(this IEnumerable<decimal?> source)
Parameters
Type | Name | Description |
---|---|---|
IEnumerable<System. |
source | Source stream. |
Returns
Type | Description |
---|---|
System. |
Stream of standard deviation (decimal?) values. |
Std(IEnumerable<Nullable<Double>>)
Compute standard deviation of (double?) values.
Declaration
public static double? Std(this IEnumerable<double?> source)
Parameters
Type | Name | Description |
---|---|---|
IEnumerable<System. |
source | Source stream. |
Returns
Type | Description |
---|---|
System. |
Stream of standard deviation (double?) values. |
Std(IEnumerable<Nullable<Int32>>)
Compute standard deviation of (int?) values.
Declaration
public static double? Std(this IEnumerable<int?> source)
Parameters
Type | Name | Description |
---|---|---|
IEnumerable<System. |
source | Source stream. |
Returns
Type | Description |
---|---|
System. |
Stream of standard deviation (double?) values. |
Std(IEnumerable<Nullable<Int64>>)
Compute standard deviation of (long?) values.
Declaration
public static double? Std(this IEnumerable<long?> source)
Parameters
Type | Name | Description |
---|---|---|
IEnumerable<System. |
source | Source stream. |
Returns
Type | Description |
---|---|
System. |
Stream of standard deviation (double?) values. |
Std(IEnumerable<Nullable<Single>>)
Compute standard deviation of (float?) values.
Declaration
public static float? Std(this IEnumerable<float?> source)
Parameters
Type | Name | Description |
---|---|---|
IEnumerable<System. |
source | Source stream. |
Returns
Type | Description |
---|---|
System. |
Stream of standard deviation (float?) values. |
Std(IEnumerable<Single>)
Compute standard deviation of (float) values.
Declaration
public static float Std(this IEnumerable<float> source)
Parameters
Type | Name | Description |
---|---|---|
IEnumerable<System. |
source | Source stream. |
Returns
Type | Description |
---|---|
System. |
Stream of standard deviation (float) values. |
Std(IProducer<Decimal[]>, DeliveryPolicy<Decimal[]>)
Compute the average (decimal) within each window.
Declaration
public static IProducer<decimal> Std(this IProducer<decimal[]> source, DeliveryPolicy<decimal[]> deliveryPolicy = null)
Parameters
Type | Name | Description |
---|---|---|
IProducer<System. |
source | The source stream. |
Delivery |
deliveryPolicy | An optional delivery policy. |
Returns
Type | Description |
---|---|
IProducer<System. |
Stream of average (decimal) values. |
Std(IProducer<Decimal>, DeliveryPolicy<Decimal>)
Compute standard deviation of (decimal) values.
Declaration
public static IProducer<decimal> Std(this IProducer<decimal> source, DeliveryPolicy<decimal> deliveryPolicy = null)
Parameters
Type | Name | Description |
---|---|---|
IProducer<System. |
source | Source stream. |
Delivery |
deliveryPolicy | An optional delivery policy. |
Returns
Type | Description |
---|---|
IProducer<System. |
Stream of standard deviation (decimal) values (0m for single first value). |
Std(IProducer<Decimal>, Predicate<Decimal>, DeliveryPolicy<Decimal>)
Compute standard deviation of (decimal) values.
Declaration
public static IProducer<decimal> Std(this IProducer<decimal> source, Predicate<decimal> condition, DeliveryPolicy<decimal> deliveryPolicy = null)
Parameters
Type | Name | Description |
---|---|---|
IProducer<System. |
source | Source stream. |
Predicate<System. |
condition | A function to test each value for a condition. |
Delivery |
deliveryPolicy | An optional delivery policy. |
Returns
Type | Description |
---|---|
IProducer<System. |
Stream of standard deviation (decimal) values. |
Remarks
This operator considers the standard deviation of a sequence of values containing NaN to be NaN. Consequently, once a value of NaN is encountered on the source stream, the corresponding output value and all subsequent output values will be NaN.
Std(IProducer<Decimal>, Int32, DeliveryPolicy<Decimal>)
Compute the standard deviation within each window by size.
Declaration
public static IProducer<decimal> Std(this IProducer<decimal> source, int size, DeliveryPolicy<decimal> deliveryPolicy = null)
Parameters
Type | Name | Description |
---|---|---|
IProducer<System. |
source | The source stream. |
System. |
size | Window size. |
Delivery |
deliveryPolicy | An optional delivery policy. |
Returns
Type | Description |
---|---|
IProducer<System. |
Stream of standard deviation values. |
Std(IProducer<Decimal>, TimeSpan, DeliveryPolicy<Decimal>)
Compute the standard deviation within each window by time span.
Declaration
public static IProducer<decimal> Std(this IProducer<decimal> source, TimeSpan timeSpan, DeliveryPolicy<decimal> deliveryPolicy = null)
Parameters
Type | Name | Description |
---|---|---|
IProducer<System. |
source | The source stream. |
Time |
timeSpan | Window time span. |
Delivery |
deliveryPolicy | An optional delivery policy. |
Returns
Type | Description |
---|---|
IProducer<System. |
Stream of standard deviation values. |
Std(IProducer<Double[]>, DeliveryPolicy<Double[]>)
Compute the average (double) within each window.
Declaration
public static IProducer<double> Std(this IProducer<double[]> source, DeliveryPolicy<double[]> deliveryPolicy = null)
Parameters
Type | Name | Description |
---|---|---|
IProducer<System. |
source | The source stream. |
Delivery |
deliveryPolicy | An optional delivery policy. |
Returns
Type | Description |
---|---|
IProducer<System. |
Stream of average (double) values. |
Std(IProducer<Double>, DeliveryPolicy<Double>)
Compute standard deviation of (double) values.
Declaration
public static IProducer<double> Std(this IProducer<double> source, DeliveryPolicy<double> deliveryPolicy = null)
Parameters
Type | Name | Description |
---|---|---|
IProducer<System. |
source | Source stream. |
Delivery |
deliveryPolicy | An optional delivery policy. |
Returns
Type | Description |
---|---|
IProducer<System. |
Stream of standard deviation (double) values. |
Remarks
This operator considers the standard deviation of a sequence of values containing NaN to be NaN. Consequently, once a value of NaN is encountered on the source stream, the corresponding output value and all subsequent output values will be NaN.
Std(IProducer<Double>, Predicate<Double>, DeliveryPolicy<Double>)
Compute standard deviation of (double) values.
Declaration
public static IProducer<double> Std(this IProducer<double> source, Predicate<double> condition, DeliveryPolicy<double> deliveryPolicy = null)
Parameters
Type | Name | Description |
---|---|---|
IProducer<System. |
source | Source stream. |
Predicate<System. |
condition | A function to test each value for a condition. |
Delivery |
deliveryPolicy | An optional delivery policy. |
Returns
Type | Description |
---|---|
IProducer<System. |
Stream of standard deviation (double) values. |
Remarks
This operator considers the standard deviation of a sequence of values containing NaN to be NaN. Consequently, once a value of NaN is encountered on the source stream, the corresponding output value and all subsequent output values will be NaN.
Std(IProducer<Double>, Int32, DeliveryPolicy<Double>)
Compute the standard deviation within each window by size.
Declaration
public static IProducer<double> Std(this IProducer<double> source, int size, DeliveryPolicy<double> deliveryPolicy = null)
Parameters
Type | Name | Description |
---|---|---|
IProducer<System. |
source | The source stream. |
System. |
size | Window size. |
Delivery |
deliveryPolicy | An optional delivery policy. |
Returns
Type | Description |
---|---|
IProducer<System. |
Stream of standard deviation values. |
Std(IProducer<Double>, TimeSpan, DeliveryPolicy<Double>)
Compute the standard deviation within each window by time span.
Declaration
public static IProducer<double> Std(this IProducer<double> source, TimeSpan timeSpan, DeliveryPolicy<double> deliveryPolicy = null)
Parameters
Type | Name | Description |
---|---|---|
IProducer<System. |
source | The source stream. |
Time |
timeSpan | Window time span. |
Delivery |
deliveryPolicy | An optional delivery policy. |
Returns
Type | Description |
---|---|
IProducer<System. |
Stream of standard deviation values. |
Std(IProducer<Int32[]>, DeliveryPolicy<Int32[]>)
Compute the average (int) within each window.
Declaration
public static IProducer<double> Std(this IProducer<int[]> source, DeliveryPolicy<int[]> deliveryPolicy = null)
Parameters
Type | Name | Description |
---|---|---|
IProducer<System. |
source | The source stream. |
Delivery |
deliveryPolicy | An optional delivery policy. |
Returns
Type | Description |
---|---|
IProducer<System. |
Stream of average (double) values. |
Std(IProducer<Int32>, DeliveryPolicy<Int32>)
Compute standard deviation of (int) values.
Declaration
public static IProducer<double> Std(this IProducer<int> source, DeliveryPolicy<int> deliveryPolicy = null)
Parameters
Type | Name | Description |
---|---|---|
IProducer<System. |
source | Source stream. |
Delivery |
deliveryPolicy | An optional delivery policy. |
Returns
Type | Description |
---|---|
IProducer<System. |
Stream of standard deviation (double) values. |
Std(IProducer<Int32>, Predicate<Int32>, DeliveryPolicy<Int32>)
Compute standard deviation of (int) values.
Declaration
public static IProducer<double> Std(this IProducer<int> source, Predicate<int> condition, DeliveryPolicy<int> deliveryPolicy = null)
Parameters
Type | Name | Description |
---|---|---|
IProducer<System. |
source | Source stream. |
Predicate<System. |
condition | A function to test each value for a condition. |
Delivery |
deliveryPolicy | An optional delivery policy. |
Returns
Type | Description |
---|---|
IProducer<System. |
Stream of standard deviation (double) values. |
Std(IProducer<Int32>, Int32, DeliveryPolicy<Int32>)
Compute the standard deviation within each window by size.
Declaration
public static IProducer<double> Std(this IProducer<int> source, int size, DeliveryPolicy<int> deliveryPolicy = null)
Parameters
Type | Name | Description |
---|---|---|
IProducer<System. |
source | The source stream. |
System. |
size | Window size. |
Delivery |
deliveryPolicy | An optional delivery policy. |
Returns
Type | Description |
---|---|
IProducer<System. |
Stream of standard deviation values. |
Std(IProducer<Int32>, TimeSpan, DeliveryPolicy<Int32>)
Compute the standard deviation within each window by time span.
Declaration
public static IProducer<double> Std(this IProducer<int> source, TimeSpan timeSpan, DeliveryPolicy<int> deliveryPolicy = null)
Parameters
Type | Name | Description |
---|---|---|
IProducer<System. |
source | The source stream. |
Time |
timeSpan | Window time span. |
Delivery |
deliveryPolicy | An optional delivery policy. |
Returns
Type | Description |
---|---|
IProducer<System. |
Stream of standard deviation values. |
Std(IProducer<Int64[]>, DeliveryPolicy<Int64[]>)
Compute the average (long) within each window.
Declaration
public static IProducer<double> Std(this IProducer<long[]> source, DeliveryPolicy<long[]> deliveryPolicy = null)
Parameters
Type | Name | Description |
---|---|---|
IProducer<System. |
source | The source stream. |
Delivery |
deliveryPolicy | An optional delivery policy. |
Returns
Type | Description |
---|---|
IProducer<System. |
Stream of average (double) values. |
Std(IProducer<Int64>, DeliveryPolicy<Int64>)
Compute standard deviation of (long) values.
Declaration
public static IProducer<double> Std(this IProducer<long> source, DeliveryPolicy<long> deliveryPolicy = null)
Parameters
Type | Name | Description |
---|---|---|
IProducer<System. |
source | Source stream. |
Delivery |
deliveryPolicy | An optional delivery policy. |
Returns
Type | Description |
---|---|
IProducer<System. |
Stream of standard deviation (double) values. |
Std(IProducer<Int64>, Predicate<Int64>, DeliveryPolicy<Int64>)
Compute standard deviation of (long) values.
Declaration
public static IProducer<double> Std(this IProducer<long> source, Predicate<long> condition, DeliveryPolicy<long> deliveryPolicy = null)
Parameters
Type | Name | Description |
---|---|---|
IProducer<System. |
source | Source stream. |
Predicate<System. |
condition | A function to test each value for a condition. |
Delivery |
deliveryPolicy | An optional delivery policy. |
Returns
Type | Description |
---|---|
IProducer<System. |
Stream of standard deviation (double) values. |
Std(IProducer<Int64>, Int32, DeliveryPolicy<Int64>)
Compute the standard deviation within each window by size.
Declaration
public static IProducer<double> Std(this IProducer<long> source, int size, DeliveryPolicy<long> deliveryPolicy = null)
Parameters
Type | Name | Description |
---|---|---|
IProducer<System. |
source | The source stream. |
System. |
size | Window size. |
Delivery |
deliveryPolicy | An optional delivery policy. |
Returns
Type | Description |
---|---|
IProducer<System. |
Stream of standard deviation values. |
Std(IProducer<Int64>, TimeSpan, DeliveryPolicy<Int64>)
Compute the standard deviation within each window by time span.
Declaration
public static IProducer<double> Std(this IProducer<long> source, TimeSpan timeSpan, DeliveryPolicy<long> deliveryPolicy = null)
Parameters
Type | Name | Description |
---|---|---|
IProducer<System. |
source | The source stream. |
Time |
timeSpan | Window time span. |
Delivery |
deliveryPolicy | An optional delivery policy. |
Returns
Type | Description |
---|---|
IProducer<System. |
Stream of standard deviation values. |
Std(IProducer<Nullable<Decimal>[]>, DeliveryPolicy<Nullable<Decimal>[]>)
Compute the average (decimal?) within each window.
Declaration
public static IProducer<decimal?> Std(this IProducer<decimal? []> source, DeliveryPolicy<decimal? []> deliveryPolicy = null)
Parameters
Type | Name | Description |
---|---|---|
IProducer<System. |
source | The source stream. |
Delivery |
deliveryPolicy | An optional delivery policy. |
Returns
Type | Description |
---|---|
IProducer<System. |
Stream of average (decimal?) values. |
Std(IProducer<Nullable<Decimal>>, Int32, DeliveryPolicy<Nullable<Decimal>>)
Compute the standard deviation within each window by size.
Declaration
public static IProducer<decimal?> Std(this IProducer<decimal?> source, int size, DeliveryPolicy<decimal?> deliveryPolicy = null)
Parameters
Type | Name | Description |
---|---|---|
IProducer<System. |
source | The source stream. |
System. |
size | Window size. |
Delivery |
deliveryPolicy | An optional delivery policy. |
Returns
Type | Description |
---|---|
IProducer<System. |
Stream of standard deviation values. |
Std(IProducer<Nullable<Decimal>>, TimeSpan, DeliveryPolicy<Nullable<Decimal>>)
Compute the standard deviation within each window by time span.
Declaration
public static IProducer<decimal?> Std(this IProducer<decimal?> source, TimeSpan timeSpan, DeliveryPolicy<decimal?> deliveryPolicy = null)
Parameters
Type | Name | Description |
---|---|---|
IProducer<System. |
source | The source stream. |
Time |
timeSpan | Window time span. |
Delivery |
deliveryPolicy | An optional delivery policy. |
Returns
Type | Description |
---|---|
IProducer<System. |
Stream of standard deviation values. |
Std(IProducer<Nullable<Double>[]>, DeliveryPolicy<Nullable<Double>[]>)
Compute the average (double?) within each window.
Declaration
public static IProducer<double?> Std(this IProducer<double? []> source, DeliveryPolicy<double? []> deliveryPolicy = null)
Parameters
Type | Name | Description |
---|---|---|
IProducer<System. |
source | The source stream. |
Delivery |
deliveryPolicy | An optional delivery policy. |
Returns
Type | Description |
---|---|
IProducer<System. |
Stream of average (double?) values. |
Std(IProducer<Nullable<Double>>, Int32, DeliveryPolicy<Nullable<Double>>)
Compute the standard deviation within each window by size.
Declaration
public static IProducer<double?> Std(this IProducer<double?> source, int size, DeliveryPolicy<double?> deliveryPolicy = null)
Parameters
Type | Name | Description |
---|---|---|
IProducer<System. |
source | The source stream. |
System. |
size | Window size. |
Delivery |
deliveryPolicy | An optional delivery policy. |
Returns
Type | Description |
---|---|
IProducer<System. |
Stream of standard deviation values. |
Std(IProducer<Nullable<Double>>, TimeSpan, DeliveryPolicy<Nullable<Double>>)
Compute the standard deviation within each window by time span.
Declaration
public static IProducer<double?> Std(this IProducer<double?> source, TimeSpan timeSpan, DeliveryPolicy<double?> deliveryPolicy = null)
Parameters
Type | Name | Description |
---|---|---|
IProducer<System. |
source | The source stream. |
Time |
timeSpan | Window time span. |
Delivery |
deliveryPolicy | An optional delivery policy. |
Returns
Type | Description |
---|---|
IProducer<System. |
Stream of standard deviation values. |
Std(IProducer<Nullable<Int32>[]>, DeliveryPolicy<Nullable<Int32>[]>)
Compute the average (int?) within each window.
Declaration
public static IProducer<double?> Std(this IProducer<int? []> source, DeliveryPolicy<int? []> deliveryPolicy = null)
Parameters
Type | Name | Description |
---|---|---|
IProducer<System. |
source | The source stream. |
Delivery |
deliveryPolicy | An optional delivery policy. |
Returns
Type | Description |
---|---|
IProducer<System. |
Stream of average (double?) values. |
Std(IProducer<Nullable<Int32>>, Int32, DeliveryPolicy<Nullable<Int32>>)
Compute the standard deviation within each window by size.
Declaration
public static IProducer<double?> Std(this IProducer<int?> source, int size, DeliveryPolicy<int?> deliveryPolicy = null)
Parameters
Type | Name | Description |
---|---|---|
IProducer<System. |
source | The source stream. |
System. |
size | Window size. |
Delivery |
deliveryPolicy | An optional delivery policy. |
Returns
Type | Description |
---|---|
IProducer<System. |
Stream of standard deviation values. |
Std(IProducer<Nullable<Int32>>, TimeSpan, DeliveryPolicy<Nullable<Int32>>)
Compute the standard deviation within each window by time span.
Declaration
public static IProducer<double?> Std(this IProducer<int?> source, TimeSpan timeSpan, DeliveryPolicy<int?> deliveryPolicy = null)
Parameters
Type | Name | Description |
---|---|---|
IProducer<System. |
source | The source stream. |
Time |
timeSpan | Window time span. |
Delivery |
deliveryPolicy | An optional delivery policy. |
Returns
Type | Description |
---|---|
IProducer<System. |
Stream of standard deviation values. |
Std(IProducer<Nullable<Int64>[]>, DeliveryPolicy<Nullable<Int64>[]>)
Compute the average (long?) within each window.
Declaration
public static IProducer<double?> Std(this IProducer<long? []> source, DeliveryPolicy<long? []> deliveryPolicy = null)
Parameters
Type | Name | Description |
---|---|---|
IProducer<System. |
source | The source stream. |
Delivery |
deliveryPolicy | An optional delivery policy. |
Returns
Type | Description |
---|---|
IProducer<System. |
Stream of average (double?) values. |
Std(IProducer<Nullable<Int64>>, Int32, DeliveryPolicy<Nullable<Int64>>)
Compute the standard deviation within each window by size.
Declaration
public static IProducer<double?> Std(this IProducer<long?> source, int size, DeliveryPolicy<long?> deliveryPolicy = null)
Parameters
Type | Name | Description |
---|---|---|
IProducer<System. |
source | The source stream. |
System. |
size | Window size. |
Delivery |
deliveryPolicy | An optional delivery policy. |
Returns
Type | Description |
---|---|
IProducer<System. |
Stream of standard deviation values. |
Std(IProducer<Nullable<Int64>>, TimeSpan, DeliveryPolicy<Nullable<Int64>>)
Compute the standard deviation within each window by time span.
Declaration
public static IProducer<double?> Std(this IProducer<long?> source, TimeSpan timeSpan, DeliveryPolicy<long?> deliveryPolicy = null)
Parameters
Type | Name | Description |
---|---|---|
IProducer<System. |
source | The source stream. |
Time |
timeSpan | Window time span. |
Delivery |
deliveryPolicy | An optional delivery policy. |
Returns
Type | Description |
---|---|
IProducer<System. |
Stream of standard deviation values. |
Std(IProducer<Nullable<Single>[]>, DeliveryPolicy<Nullable<Single>[]>)
Compute the average (float?) within each window.
Declaration
public static IProducer<float?> Std(this IProducer<float? []> source, DeliveryPolicy<float? []> deliveryPolicy = null)
Parameters
Type | Name | Description |
---|---|---|
IProducer<System. |
source | The source stream. |
Delivery |
deliveryPolicy | An optional delivery policy. |
Returns
Type | Description |
---|---|
IProducer<System. |
Stream of average (float?) values. |
Std(IProducer<Nullable<Single>>, Int32, DeliveryPolicy<Nullable<Single>>)
Compute the standard deviation within each window by size.
Declaration
public static IProducer<float?> Std(this IProducer<float?> source, int size, DeliveryPolicy<float?> deliveryPolicy = null)
Parameters
Type | Name | Description |
---|---|---|
IProducer<System. |
source | The source stream. |
System. |
size | Window size. |
Delivery |
deliveryPolicy | An optional delivery policy. |
Returns
Type | Description |
---|---|
IProducer<System. |
Stream of standard deviation values. |
Std(IProducer<Nullable<Single>>, TimeSpan, DeliveryPolicy<Nullable<Single>>)
Compute the standard deviation within each window by time span.
Declaration
public static IProducer<float?> Std(this IProducer<float?> source, TimeSpan timeSpan, DeliveryPolicy<float?> deliveryPolicy = null)
Parameters
Type | Name | Description |
---|---|---|
IProducer<System. |
source | The source stream. |
Time |
timeSpan | Window time span. |
Delivery |
deliveryPolicy | An optional delivery policy. |
Returns
Type | Description |
---|---|
IProducer<System. |
Stream of standard deviation values. |
Std(IProducer<Single[]>, DeliveryPolicy<Single[]>)
Compute the average (float) within each window.
Declaration
public static IProducer<float> Std(this IProducer<float[]> source, DeliveryPolicy<float[]> deliveryPolicy = null)
Parameters
Type | Name | Description |
---|---|---|
IProducer<System. |
source | The source stream. |
Delivery |
deliveryPolicy | An optional delivery policy. |
Returns
Type | Description |
---|---|
IProducer<System. |
Stream of average (float) values. |
Std(IProducer<Single>, DeliveryPolicy<Single>)
Compute standard deviation of (float) values.
Declaration
public static IProducer<float> Std(this IProducer<float> source, DeliveryPolicy<float> deliveryPolicy = null)
Parameters
Type | Name | Description |
---|---|---|
IProducer<System. |
source | Source stream. |
Delivery |
deliveryPolicy | An optional delivery policy. |
Returns
Type | Description |
---|---|
IProducer<System. |
Stream of standard deviation (double) values. |
Remarks
This operator considers the standard deviation of a sequence of values containing NaN to be NaN. Consequently, once a value of NaN is encountered on the source stream, the corresponding output value and all subsequent output values will be NaN.
Std(IProducer<Single>, Predicate<Single>, DeliveryPolicy<Single>)
Compute standard deviation of (float) values.
Declaration
public static IProducer<float> Std(this IProducer<float> source, Predicate<float> condition, DeliveryPolicy<float> deliveryPolicy = null)
Parameters
Type | Name | Description |
---|---|---|
IProducer<System. |
source | Source stream. |
Predicate<System. |
condition | A function to test each value for a condition. |
Delivery |
deliveryPolicy | An optional delivery policy. |
Returns
Type | Description |
---|---|
IProducer<System. |
Stream of standard deviation (float) values. |
Remarks
This operator considers the standard deviation of a sequence of values containing NaN to be NaN. Consequently, once a value of NaN is encountered on the source stream, the corresponding output value and all subsequent output values will be NaN.
Std(IProducer<Single>, Int32, DeliveryPolicy<Single>)
Compute the standard deviation within each window by size.
Declaration
public static IProducer<float> Std(this IProducer<float> source, int size, DeliveryPolicy<float> deliveryPolicy = null)
Parameters
Type | Name | Description |
---|---|---|
IProducer<System. |
source | The source stream. |
System. |
size | Window size. |
Delivery |
deliveryPolicy | An optional delivery policy. |
Returns
Type | Description |
---|---|
IProducer<System. |
Stream of standard deviation values. |
Std(IProducer<Single>, TimeSpan, DeliveryPolicy<Single>)
Compute the standard deviation within each window by time span.
Declaration
public static IProducer<float> Std(this IProducer<float> source, TimeSpan timeSpan, DeliveryPolicy<float> deliveryPolicy = null)
Parameters
Type | Name | Description |
---|---|---|
IProducer<System. |
source | The source stream. |
Time |
timeSpan | Window time span. |
Delivery |
deliveryPolicy | An optional delivery policy. |
Returns
Type | Description |
---|---|
IProducer<System. |
Stream of standard deviation values. |
Std<TSource>(IEnumerable<TSource>, Func<TSource, Decimal>)
Compute standard deviation of (decimal) values.
Declaration
public static decimal Std<TSource>(this IEnumerable<TSource> source, Func<TSource, decimal> selector)
Parameters
Type | Name | Description |
---|---|---|
IEnumerable<TSource> | source | Source stream. |
Func<TSource, System. |
selector | Transform function applied to each element. |
Returns
Type | Description |
---|---|
System. |
Stream of standard deviation (decimal) values. |
Type Parameters
Name | Description |
---|---|
TSource | The source message type. |
Std<TSource>(IEnumerable<TSource>, Func<TSource, Double>)
Compute standard deviation of (double) values.
Declaration
public static double Std<TSource>(this IEnumerable<TSource> source, Func<TSource, double> selector)
Parameters
Type | Name | Description |
---|---|---|
IEnumerable<TSource> | source | Source stream. |
Func<TSource, System. |
selector | Transform function applied to each element. |
Returns
Type | Description |
---|---|
System. |
Stream of standard deviation (double) values. |
Type Parameters
Name | Description |
---|---|
TSource | The source message type. |
Std<TSource>(IEnumerable<TSource>, Func<TSource, Int32>)
Compute standard deviation of (int) values.
Declaration
public static double Std<TSource>(this IEnumerable<TSource> source, Func<TSource, int> selector)
Parameters
Type | Name | Description |
---|---|---|
IEnumerable<TSource> | source | Source stream. |
Func<TSource, System. |
selector | Transform function applied to each element. |
Returns
Type | Description |
---|---|
System. |
Stream of standard deviation (double) values. |
Type Parameters
Name | Description |
---|---|
TSource | The source message type. |
Std<TSource>(IEnumerable<TSource>, Func<TSource, Int64>)
Compute standard deviation of (long) values.
Declaration
public static double Std<TSource>(this IEnumerable<TSource> source, Func<TSource, long> selector)
Parameters
Type | Name | Description |
---|---|---|
IEnumerable<TSource> | source | Source stream. |
Func<TSource, System. |
selector | Transform function applied to each element. |
Returns
Type | Description |
---|---|
System. |
Stream of standard deviation (double) values. |
Type Parameters
Name | Description |
---|---|
TSource | The source message type. |
Std<TSource>(IEnumerable<TSource>, Func<TSource, Nullable<Decimal>>)
Compute standard deviation of (decimal?) values.
Declaration
public static decimal? Std<TSource>(this IEnumerable<TSource> source, Func<TSource, decimal?> selector)
Parameters
Type | Name | Description |
---|---|---|
IEnumerable<TSource> | source | Source stream. |
Func<TSource, System. |
selector | Transform function applied to each element. |
Returns
Type | Description |
---|---|
System. |
Stream of standard deviation (decimal?) values. |
Type Parameters
Name | Description |
---|---|
TSource | The source message type. |
Std<TSource>(IEnumerable<TSource>, Func<TSource, Nullable<Double>>)
Compute standard deviation of (double?) values.
Declaration
public static double? Std<TSource>(this IEnumerable<TSource> source, Func<TSource, double?> selector)
Parameters
Type | Name | Description |
---|---|---|
IEnumerable<TSource> | source | Source stream. |
Func<TSource, System. |
selector | Transform function applied to each element. |
Returns
Type | Description |
---|---|
System. |
Stream of standard deviation (double?) values. |
Type Parameters
Name | Description |
---|---|
TSource | The source message type. |
Std<TSource>(IEnumerable<TSource>, Func<TSource, Nullable<Int32>>)
Compute standard deviation of (int?) values.
Declaration
public static double? Std<TSource>(this IEnumerable<TSource> source, Func<TSource, int?> selector)
Parameters
Type | Name | Description |
---|---|---|
IEnumerable<TSource> | source | Source stream. |
Func<TSource, System. |
selector | Transform function applied to each element. |
Returns
Type | Description |
---|---|
System. |
Stream of standard deviation (double?) values. |
Type Parameters
Name | Description |
---|---|
TSource | The source message type. |
Std<TSource>(IEnumerable<TSource>, Func<TSource, Nullable<Int64>>)
Compute standard deviation of (long?) values.
Declaration
public static double? Std<TSource>(this IEnumerable<TSource> source, Func<TSource, long?> selector)
Parameters
Type | Name | Description |
---|---|---|
IEnumerable<TSource> | source | Source stream. |
Func<TSource, System. |
selector | Transform function applied to each element. |
Returns
Type | Description |
---|---|
System. |
Stream of standard deviation (double?) values. |
Type Parameters
Name | Description |
---|---|
TSource | The source message type. |
Std<TSource>(IEnumerable<TSource>, Func<TSource, Nullable<Single>>)
Compute standard deviation of (float?) values.
Declaration
public static float? Std<TSource>(this IEnumerable<TSource> source, Func<TSource, float?> selector)
Parameters
Type | Name | Description |
---|---|---|
IEnumerable<TSource> | source | Source stream. |
Func<TSource, System. |
selector | Transform function applied to each element. |
Returns
Type | Description |
---|---|
System. |
Stream of standard deviation (float?) values. |
Type Parameters
Name | Description |
---|---|
TSource | The source message type. |
Std<TSource>(IEnumerable<TSource>, Func<TSource, Single>)
Compute standard deviation of (float) values.
Declaration
public static float Std<TSource>(this IEnumerable<TSource> source, Func<TSource, float> selector)
Parameters
Type | Name | Description |
---|---|---|
IEnumerable<TSource> | source | Source stream. |
Func<TSource, System. |
selector | Transform function applied to each element. |
Returns
Type | Description |
---|---|
System. |
Stream of standard deviation (float) values. |
Type Parameters
Name | Description |
---|---|
TSource | The source message type. |
Std<TSource>(IProducer<TSource[]>, Func<TSource, Decimal>, DeliveryPolicy<TSource[]>)
Invoke a transform function on each element and compute the average (decimal) within each window.
Declaration
public static IProducer<decimal> Std<TSource>(this IProducer<TSource[]> source, Func<TSource, decimal> selector, DeliveryPolicy<TSource[]> deliveryPolicy = null)
Parameters
Type | Name | Description |
---|---|---|
IProducer<TSource[]> | source | The source stream. |
Func<TSource, System. |
selector | Transform function applied to each element. |
Delivery |
deliveryPolicy | An optional delivery policy. |
Returns
Type | Description |
---|---|
IProducer<System. |
Stream of average (decimal) values. |
Type Parameters
Name | Description |
---|---|
TSource | The source message type. |
Std<TSource>(IProducer<TSource[]>, Func<TSource, Double>, DeliveryPolicy<TSource[]>)
Invoke a transform function on each element and compute the average (double) within each window.
Declaration
public static IProducer<double> Std<TSource>(this IProducer<TSource[]> source, Func<TSource, double> selector, DeliveryPolicy<TSource[]> deliveryPolicy = null)
Parameters
Type | Name | Description |
---|---|---|
IProducer<TSource[]> | source | The source stream. |
Func<TSource, System. |
selector | Transform function applied to each element. |
Delivery |
deliveryPolicy | An optional delivery policy. |
Returns
Type | Description |
---|---|
IProducer<System. |
Stream of average (double) values. |
Type Parameters
Name | Description |
---|---|
TSource | The source message type. |
Std<TSource>(IProducer<TSource[]>, Func<TSource, Int32>, DeliveryPolicy<TSource[]>)
Invoke a transform function on each element and compute the average (int) within each window.
Declaration
public static IProducer<double> Std<TSource>(this IProducer<TSource[]> source, Func<TSource, int> selector, DeliveryPolicy<TSource[]> deliveryPolicy = null)
Parameters
Type | Name | Description |
---|---|---|
IProducer<TSource[]> | source | The source stream. |
Func<TSource, System. |
selector | Transform function applied to each element. |
Delivery |
deliveryPolicy | An optional delivery policy. |
Returns
Type | Description |
---|---|
IProducer<System. |
Stream of average (double) values. |
Type Parameters
Name | Description |
---|---|
TSource | The source message type. |
Std<TSource>(IProducer<TSource[]>, Func<TSource, Int64>, DeliveryPolicy<TSource[]>)
Invoke a transform function on each element and compute the average (long) within each window.
Declaration
public static IProducer<double> Std<TSource>(this IProducer<TSource[]> source, Func<TSource, long> selector, DeliveryPolicy<TSource[]> deliveryPolicy = null)
Parameters
Type | Name | Description |
---|---|---|
IProducer<TSource[]> | source | The source stream. |
Func<TSource, System. |
selector | Transform function applied to each element. |
Delivery |
deliveryPolicy | An optional delivery policy. |
Returns
Type | Description |
---|---|
IProducer<System. |
Stream of average (double) values. |
Type Parameters
Name | Description |
---|---|
TSource | The source message type. |
Std<TSource>(IProducer<TSource[]>, Func<TSource, Nullable<Decimal>>, DeliveryPolicy<TSource[]>)
Invoke a transform function on each element and compute the average (decimal) within each window.
Declaration
public static IProducer<decimal?> Std<TSource>(this IProducer<TSource[]> source, Func<TSource, decimal?> selector, DeliveryPolicy<TSource[]> deliveryPolicy = null)
Parameters
Type | Name | Description |
---|---|---|
IProducer<TSource[]> | source | The source stream. |
Func<TSource, System. |
selector | Transform function applied to each element. |
Delivery |
deliveryPolicy | An optional delivery policy. |
Returns
Type | Description |
---|---|
IProducer<System. |
Stream of average (decimal) values. |
Type Parameters
Name | Description |
---|---|
TSource | The source message type. |
Std<TSource>(IProducer<TSource[]>, Func<TSource, Nullable<Double>>, DeliveryPolicy<TSource[]>)
Invoke a transform function on each element and compute the average (double?) within each window.
Declaration
public static IProducer<double?> Std<TSource>(this IProducer<TSource[]> source, Func<TSource, double?> selector, DeliveryPolicy<TSource[]> deliveryPolicy = null)
Parameters
Type | Name | Description |
---|---|---|
IProducer<TSource[]> | source | The source stream. |
Func<TSource, System. |
selector | Transform function applied to each element. |
Delivery |
deliveryPolicy | An optional delivery policy. |
Returns
Type | Description |
---|---|
IProducer<System. |
Stream of average (double?) values. |
Type Parameters
Name | Description |
---|---|
TSource | The source message type. |
Std<TSource>(IProducer<TSource[]>, Func<TSource, Nullable<Int32>>, DeliveryPolicy<TSource[]>)
Invoke a transform function on each element and compute the average (int?) within each window.
Declaration
public static IProducer<double?> Std<TSource>(this IProducer<TSource[]> source, Func<TSource, int?> selector, DeliveryPolicy<TSource[]> deliveryPolicy = null)
Parameters
Type | Name | Description |
---|---|---|
IProducer<TSource[]> | source | The source stream. |
Func<TSource, System. |
selector | Transform function applied to each element. |
Delivery |
deliveryPolicy | An optional delivery policy. |
Returns
Type | Description |
---|---|
IProducer<System. |
Stream of average (double?) values. |
Type Parameters
Name | Description |
---|---|
TSource | The source message type. |
Std<TSource>(IProducer<TSource[]>, Func<TSource, Nullable<Int64>>, DeliveryPolicy<TSource[]>)
Invoke a transform function on each element and compute the average (long?) within each window.
Declaration
public static IProducer<double?> Std<TSource>(this IProducer<TSource[]> source, Func<TSource, long?> selector, DeliveryPolicy<TSource[]> deliveryPolicy = null)
Parameters
Type | Name | Description |
---|---|---|
IProducer<TSource[]> | source | The source stream. |
Func<TSource, System. |
selector | Transform function applied to each element. |
Delivery |
deliveryPolicy | An optional delivery policy. |
Returns
Type | Description |
---|---|
IProducer<System. |
Stream of average (double?) values. |
Type Parameters
Name | Description |
---|---|
TSource | The source message type. |
Std<TSource>(IProducer<TSource[]>, Func<TSource, Nullable<Single>>, DeliveryPolicy<TSource[]>)
Invoke a transform function on each element and compute the average (float?) within each window.
Declaration
public static IProducer<float?> Std<TSource>(this IProducer<TSource[]> source, Func<TSource, float?> selector, DeliveryPolicy<TSource[]> deliveryPolicy = null)
Parameters
Type | Name | Description |
---|---|---|
IProducer<TSource[]> | source | The source stream. |
Func<TSource, System. |
selector | Transform function applied to each element. |
Delivery |
deliveryPolicy | An optional delivery policy. |
Returns
Type | Description |
---|---|
IProducer<System. |
Stream of average (float?) values. |
Type Parameters
Name | Description |
---|---|
TSource | The source message type. |
Std<TSource>(IProducer<TSource[]>, Func<TSource, Single>, DeliveryPolicy<TSource[]>)
Invoke a transform function on each element and compute the average (float) within each window.
Declaration
public static IProducer<float> Std<TSource>(this IProducer<TSource[]> source, Func<TSource, float> selector, DeliveryPolicy<TSource[]> deliveryPolicy = null)
Parameters
Type | Name | Description |
---|---|---|
IProducer<TSource[]> | source | The source stream. |
Func<TSource, System. |
selector | Transform function applied to each element. |
Delivery |
deliveryPolicy | An optional delivery policy. |
Returns
Type | Description |
---|---|
IProducer<System. |
Stream of average (float) values. |
Type Parameters
Name | Description |
---|---|
TSource | The source message type. |
Sum(IProducer<Decimal[]>, DeliveryPolicy<Decimal[]>)
Compute the sum of a stream of decimal values.
Declaration
public static IProducer<decimal> Sum(this IProducer<decimal[]> source, DeliveryPolicy<decimal[]> deliveryPolicy = null)
Parameters
Type | Name | Description |
---|---|---|
IProducer<System. |
source | The source stream. |
Delivery |
deliveryPolicy | An optional delivery policy. |
Returns
Type | Description |
---|---|
IProducer<System. |
Stream of sum values. |
Sum(IProducer<Decimal>, DeliveryPolicy<Decimal>)
Compute the sum of a stream of decimal values.
Declaration
public static IProducer<decimal> Sum(this IProducer<decimal> source, DeliveryPolicy<decimal> deliveryPolicy = null)
Parameters
Type | Name | Description |
---|---|---|
IProducer<System. |
source | The source stream. |
Delivery |
deliveryPolicy | An optional delivery policy. |
Returns
Type | Description |
---|---|
IProducer<System. |
Stream of sums. |
Sum(IProducer<Decimal>, Predicate<Decimal>, DeliveryPolicy<Decimal>)
Compute the sum of a stream of decimal values satisfying a condition.
Declaration
public static IProducer<decimal> Sum(this IProducer<decimal> source, Predicate<decimal> condition, DeliveryPolicy<decimal> deliveryPolicy = null)
Parameters
Type | Name | Description |
---|---|---|
IProducer<System. |
source | The source stream. |
Predicate<System. |
condition | A function to test each value for a condition. |
Delivery |
deliveryPolicy | An optional delivery policy. |
Returns
Type | Description |
---|---|
IProducer<System. |
Stream of sums. |
Sum(IProducer<Decimal>, Int32, DeliveryPolicy<Decimal>)
Compute the sum (decimal) within each window by size.
Declaration
public static IProducer<decimal> Sum(this IProducer<decimal> source, int size, DeliveryPolicy<decimal> deliveryPolicy = null)
Parameters
Type | Name | Description |
---|---|---|
IProducer<System. |
source | The source stream. |
System. |
size | Window size. |
Delivery |
deliveryPolicy | An optional delivery policy. |
Returns
Type | Description |
---|---|
IProducer<System. |
Stream of sum (decimal) values. |
Sum(IProducer<Decimal>, TimeSpan, DeliveryPolicy<Decimal>)
Compute the sum (decimal) within each window by time span.
Declaration
public static IProducer<decimal> Sum(this IProducer<decimal> source, TimeSpan timeSpan, DeliveryPolicy<decimal> deliveryPolicy = null)
Parameters
Type | Name | Description |
---|---|---|
IProducer<System. |
source | The source stream. |
Time |
timeSpan | Window time span. |
Delivery |
deliveryPolicy | An optional delivery policy. |
Returns
Type | Description |
---|---|
IProducer<System. |
Stream of sum (decimal) values. |
Sum(IProducer<Double[]>, DeliveryPolicy<Double[]>)
Compute the sum of a stream of double values.
Declaration
public static IProducer<double> Sum(this IProducer<double[]> source, DeliveryPolicy<double[]> deliveryPolicy = null)
Parameters
Type | Name | Description |
---|---|---|
IProducer<System. |
source | The source stream. |
Delivery |
deliveryPolicy | An optional delivery policy. |
Returns
Type | Description |
---|---|
IProducer<System. |
Stream of sum values. |
Sum(IProducer<Double>, DeliveryPolicy<Double>)
Compute the sum of a stream of double values.
Declaration
public static IProducer<double> Sum(this IProducer<double> source, DeliveryPolicy<double> deliveryPolicy = null)
Parameters
Type | Name | Description |
---|---|---|
IProducer<System. |
source | The source stream. |
Delivery |
deliveryPolicy | An optional delivery policy. |
Returns
Type | Description |
---|---|
IProducer<System. |
Stream of sums. |
Remarks
This operator considers the sum of a number and NaN as NaN. Consequently, once a value of NaN is encountered on the source stream, the corresponding output value and all subsequent output values will be NaN.
Sum(IProducer<Double>, Predicate<Double>, DeliveryPolicy<Double>)
Compute the sum of a stream of double values satisfying a condition.
Declaration
public static IProducer<double> Sum(this IProducer<double> source, Predicate<double> condition, DeliveryPolicy<double> deliveryPolicy = null)
Parameters
Type | Name | Description |
---|---|---|
IProducer<System. |
source | The source stream. |
Predicate<System. |
condition | A function to test each value for a condition. |
Delivery |
deliveryPolicy | An optional delivery policy. |
Returns
Type | Description |
---|---|
IProducer<System. |
Stream of sums. |
Sum(IProducer<Double>, Int32, DeliveryPolicy<Double>)
Compute the sum (double) within each window by size.
Declaration
public static IProducer<double> Sum(this IProducer<double> source, int size, DeliveryPolicy<double> deliveryPolicy = null)
Parameters
Type | Name | Description |
---|---|---|
IProducer<System. |
source | The source stream. |
System. |
size | Window size. |
Delivery |
deliveryPolicy | An optional delivery policy. |
Returns
Type | Description |
---|---|
IProducer<System. |
Stream of sum (double) values. |
Sum(IProducer<Double>, TimeSpan, DeliveryPolicy<Double>)
Compute the sum (double) within each window by time span.
Declaration
public static IProducer<double> Sum(this IProducer<double> source, TimeSpan timeSpan, DeliveryPolicy<double> deliveryPolicy = null)
Parameters
Type | Name | Description |
---|---|---|
IProducer<System. |
source | The source stream. |
Time |
timeSpan | Window time span. |
Delivery |
deliveryPolicy | An optional delivery policy. |
Returns
Type | Description |
---|---|
IProducer<System. |
Stream of sum (double) values. |
Sum(IProducer<Int32[]>, DeliveryPolicy<Int32[]>)
Compute the sum of a stream of int values.
Declaration
public static IProducer<int> Sum(this IProducer<int[]> source, DeliveryPolicy<int[]> deliveryPolicy = null)
Parameters
Type | Name | Description |
---|---|---|
IProducer<System. |
source | The source stream. |
Delivery |
deliveryPolicy | An optional delivery policy. |
Returns
Type | Description |
---|---|
IProducer<System. |
Stream of sum values. |
Sum(IProducer<Int32>, DeliveryPolicy<Int32>)
Compute the sum of a stream of int values.
Declaration
public static IProducer<int> Sum(this IProducer<int> source, DeliveryPolicy<int> deliveryPolicy = null)
Parameters
Type | Name | Description |
---|---|---|
IProducer<System. |
source | The source stream. |
Delivery |
deliveryPolicy | An optional delivery policy. |
Returns
Type | Description |
---|---|
IProducer<System. |
Stream of sums. |
Sum(IProducer<Int32>, Predicate<Int32>, DeliveryPolicy<Int32>)
Compute the sum of a stream of int values satisfying a condition.
Declaration
public static IProducer<int> Sum(this IProducer<int> source, Predicate<int> condition, DeliveryPolicy<int> deliveryPolicy = null)
Parameters
Type | Name | Description |
---|---|---|
IProducer<System. |
source | The source stream. |
Predicate<System. |
condition | A function to test each value for a condition. |
Delivery |
deliveryPolicy | An optional delivery policy. |
Returns
Type | Description |
---|---|
IProducer<System. |
Stream of sums. |
Sum(IProducer<Int32>, Int32, DeliveryPolicy<Int32>)
Compute the sum (int) within each window by size.
Declaration
public static IProducer<int> Sum(this IProducer<int> source, int size, DeliveryPolicy<int> deliveryPolicy = null)
Parameters
Type | Name | Description |
---|---|---|
IProducer<System. |
source | The source stream. |
System. |
size | Window size. |
Delivery |
deliveryPolicy | An optional delivery policy. |
Returns
Type | Description |
---|---|
IProducer<System. |
Stream of sum (int) values. |
Sum(IProducer<Int32>, TimeSpan, DeliveryPolicy<Int32>)
Compute the sum (int) within each window by time span.
Declaration
public static IProducer<int> Sum(this IProducer<int> source, TimeSpan timeSpan, DeliveryPolicy<int> deliveryPolicy = null)
Parameters
Type | Name | Description |
---|---|---|
IProducer<System. |
source | The source stream. |
Time |
timeSpan | Window time span. |
Delivery |
deliveryPolicy | An optional delivery policy. |
Returns
Type | Description |
---|---|
IProducer<System. |
Stream of sum (int) values. |
Sum(IProducer<Int64[]>, DeliveryPolicy<Int64[]>)
Compute the sum of a stream of long values.
Declaration
public static IProducer<long> Sum(this IProducer<long[]> source, DeliveryPolicy<long[]> deliveryPolicy = null)
Parameters
Type | Name | Description |
---|---|---|
IProducer<System. |
source | The source stream. |
Delivery |
deliveryPolicy | An optional delivery policy. |
Returns
Type | Description |
---|---|
IProducer<System. |
Stream of sum values. |
Sum(IProducer<Int64>, DeliveryPolicy<Int64>)
Compute the sum of a stream of long values.
Declaration
public static IProducer<long> Sum(this IProducer<long> source, DeliveryPolicy<long> deliveryPolicy = null)
Parameters
Type | Name | Description |
---|---|---|
IProducer<System. |
source | The source stream. |
Delivery |
deliveryPolicy | An optional delivery policy. |
Returns
Type | Description |
---|---|
IProducer<System. |
Stream of sums. |
Sum(IProducer<Int64>, Predicate<Int64>, DeliveryPolicy<Int64>)
Compute the sum of a stream of long values satisfying a condition.
Declaration
public static IProducer<long> Sum(this IProducer<long> source, Predicate<long> condition, DeliveryPolicy<long> deliveryPolicy = null)
Parameters
Type | Name | Description |
---|---|---|
IProducer<System. |
source | The source stream. |
Predicate<System. |
condition | A function to test each value for a condition. |
Delivery |
deliveryPolicy | An optional delivery policy. |
Returns
Type | Description |
---|---|
IProducer<System. |
Stream of sums. |
Sum(IProducer<Int64>, Int32, DeliveryPolicy<Int64>)
Compute the sum (long) within each window by size.
Declaration
public static IProducer<long> Sum(this IProducer<long> source, int size, DeliveryPolicy<long> deliveryPolicy = null)
Parameters
Type | Name | Description |
---|---|---|
IProducer<System. |
source | The source stream. |
System. |
size | Window size. |
Delivery |
deliveryPolicy | An optional delivery policy. |
Returns
Type | Description |
---|---|
IProducer<System. |
Stream of sum (long) values. |
Sum(IProducer<Int64>, TimeSpan, DeliveryPolicy<Int64>)
Compute the sum (long) within each window by time span.
Declaration
public static IProducer<long> Sum(this IProducer<long> source, TimeSpan timeSpan, DeliveryPolicy<long> deliveryPolicy = null)
Parameters
Type | Name | Description |
---|---|---|
IProducer<System. |
source | The source stream. |
Time |
timeSpan | Window time span. |
Delivery |
deliveryPolicy | An optional delivery policy. |
Returns
Type | Description |
---|---|
IProducer<System. |
Stream of sum (long) values. |
Sum(IProducer<Nullable<Decimal>[]>, DeliveryPolicy<Nullable<Decimal>[]>)
Compute the sum of a stream of nullable decimal values.
Declaration
public static IProducer<decimal?> Sum(this IProducer<decimal? []> source, DeliveryPolicy<decimal? []> deliveryPolicy = null)
Parameters
Type | Name | Description |
---|---|---|
IProducer<System. |
source | The source stream. |
Delivery |
deliveryPolicy | An optional delivery policy. |
Returns
Type | Description |
---|---|
IProducer<System. |
Stream of sum values. |
Sum(IProducer<Nullable<Decimal>>, Int32, DeliveryPolicy<Nullable<Decimal>>)
Compute the sum (nullable decimal) within each window by size.
Declaration
public static IProducer<decimal?> Sum(this IProducer<decimal?> source, int size, DeliveryPolicy<decimal?> deliveryPolicy = null)
Parameters
Type | Name | Description |
---|---|---|
IProducer<System. |
source | The source stream. |
System. |
size | Window size. |
Delivery |
deliveryPolicy | An optional delivery policy. |
Returns
Type | Description |
---|---|
IProducer<System. |
Stream of sum (nullable decimal) values. |
Sum(IProducer<Nullable<Decimal>>, TimeSpan, DeliveryPolicy<Nullable<Decimal>>)
Compute the sum (nullable decimal) within each window by time span.
Declaration
public static IProducer<decimal?> Sum(this IProducer<decimal?> source, TimeSpan timeSpan, DeliveryPolicy<decimal?> deliveryPolicy = null)
Parameters
Type | Name | Description |
---|---|---|
IProducer<System. |
source | The source stream. |
Time |
timeSpan | Window time span. |
Delivery |
deliveryPolicy | An optional delivery policy. |
Returns
Type | Description |
---|---|
IProducer<System. |
Stream of sum (nullable decimal) values. |
Sum(IProducer<Nullable<Double>[]>, DeliveryPolicy<Nullable<Double>[]>)
Compute the sum of a stream of nullable double values.
Declaration
public static IProducer<double?> Sum(this IProducer<double? []> source, DeliveryPolicy<double? []> deliveryPolicy = null)
Parameters
Type | Name | Description |
---|---|---|
IProducer<System. |
source | The source stream. |
Delivery |
deliveryPolicy | An optional delivery policy. |
Returns
Type | Description |
---|---|
IProducer<System. |
Stream of sum values. |
Sum(IProducer<Nullable<Double>>, Int32, DeliveryPolicy<Nullable<Double>>)
Compute the sum (nullable double) within each window by size.
Declaration
public static IProducer<double?> Sum(this IProducer<double?> source, int size, DeliveryPolicy<double?> deliveryPolicy = null)
Parameters
Type | Name | Description |
---|---|---|
IProducer<System. |
source | The source stream. |
System. |
size | Window size. |
Delivery |
deliveryPolicy | An optional delivery policy. |
Returns
Type | Description |
---|---|
IProducer<System. |
Stream of sum (nullable double) values. |
Sum(IProducer<Nullable<Double>>, TimeSpan, DeliveryPolicy<Nullable<Double>>)
Compute the sum (nullable double) within each window by time span.
Declaration
public static IProducer<double?> Sum(this IProducer<double?> source, TimeSpan timeSpan, DeliveryPolicy<double?> deliveryPolicy = null)
Parameters
Type | Name | Description |
---|---|---|
IProducer<System. |
source | The source stream. |
Time |
timeSpan | Window time span. |
Delivery |
deliveryPolicy | An optional delivery policy. |
Returns
Type | Description |
---|---|
IProducer<System. |
Stream of sum (nullable double) values. |
Sum(IProducer<Nullable<Int32>[]>, DeliveryPolicy<Nullable<Int32>[]>)
Compute the sum of a stream of nullable int values.
Declaration
public static IProducer<int?> Sum(this IProducer<int? []> source, DeliveryPolicy<int? []> deliveryPolicy = null)
Parameters
Type | Name | Description |
---|---|---|
IProducer<System. |
source | The source stream. |
Delivery |
deliveryPolicy | An optional delivery policy. |
Returns
Type | Description |
---|---|
IProducer<System. |
Stream of sum values. |
Sum(IProducer<Nullable<Int32>>, Int32, DeliveryPolicy<Nullable<Int32>>)
Compute the sum (nullable int) within each window by size.
Declaration
public static IProducer<int?> Sum(this IProducer<int?> source, int size, DeliveryPolicy<int?> deliveryPolicy = null)
Parameters
Type | Name | Description |
---|---|---|
IProducer<System. |
source | The source stream. |
System. |
size | Window size. |
Delivery |
deliveryPolicy | An optional delivery policy. |
Returns
Type | Description |
---|---|
IProducer<System. |
Stream of sum (nullable int) values. |
Sum(IProducer<Nullable<Int32>>, TimeSpan, DeliveryPolicy<Nullable<Int32>>)
Compute the sum (nullable int) within each window by time span.
Declaration
public static IProducer<int?> Sum(this IProducer<int?> source, TimeSpan timeSpan, DeliveryPolicy<int?> deliveryPolicy = null)
Parameters
Type | Name | Description |
---|---|---|
IProducer<System. |
source | The source stream. |
Time |
timeSpan | Window time span. |
Delivery |
deliveryPolicy | An optional delivery policy. |
Returns
Type | Description |
---|---|
IProducer<System. |
Stream of sum (nullable int) values. |
Sum(IProducer<Nullable<Int64>[]>, DeliveryPolicy<Nullable<Int64>[]>)
Compute the sum of a stream of nullable long values.
Declaration
public static IProducer<long?> Sum(this IProducer<long? []> source, DeliveryPolicy<long? []> deliveryPolicy = null)
Parameters
Type | Name | Description |
---|---|---|
IProducer<System. |
source | The source stream. |
Delivery |
deliveryPolicy | An optional delivery policy. |
Returns
Type | Description |
---|---|
IProducer<System. |
Stream of sum values. |
Sum(IProducer<Nullable<Int64>>, Int32, DeliveryPolicy<Nullable<Int64>>)
Compute the sum (nullable long) within each window by size.
Declaration
public static IProducer<long?> Sum(this IProducer<long?> source, int size, DeliveryPolicy<long?> deliveryPolicy = null)
Parameters
Type | Name | Description |
---|---|---|
IProducer<System. |
source | The source stream. |
System. |
size | Window size. |
Delivery |
deliveryPolicy | An optional delivery policy. |
Returns
Type | Description |
---|---|
IProducer<System. |
Stream of sum (nullable long) values. |
Sum(IProducer<Nullable<Int64>>, TimeSpan, DeliveryPolicy<Nullable<Int64>>)
Compute the sum (nullable long) within each window by time span.
Declaration
public static IProducer<long?> Sum(this IProducer<long?> source, TimeSpan timeSpan, DeliveryPolicy<long?> deliveryPolicy = null)
Parameters
Type | Name | Description |
---|---|---|
IProducer<System. |
source | The source stream. |
Time |
timeSpan | Window time span. |
Delivery |
deliveryPolicy | An optional delivery policy. |
Returns
Type | Description |
---|---|
IProducer<System. |
Stream of sum (nullable long) values. |
Sum(IProducer<Nullable<Single>[]>, DeliveryPolicy<Nullable<Single>[]>)
Compute the sum of a stream of nullable float values.
Declaration
public static IProducer<float?> Sum(this IProducer<float? []> source, DeliveryPolicy<float? []> deliveryPolicy = null)
Parameters
Type | Name | Description |
---|---|---|
IProducer<System. |
source | The source stream. |
Delivery |
deliveryPolicy | An optional delivery policy. |
Returns
Type | Description |
---|---|
IProducer<System. |
Stream of sum values. |
Sum(IProducer<Nullable<Single>>, Int32, DeliveryPolicy<Nullable<Single>>)
Compute the sum (nullable float) within each window by size.
Declaration
public static IProducer<float?> Sum(this IProducer<float?> source, int size, DeliveryPolicy<float?> deliveryPolicy = null)
Parameters
Type | Name | Description |
---|---|---|
IProducer<System. |
source | The source stream. |
System. |
size | Window size. |
Delivery |
deliveryPolicy | An optional delivery policy. |
Returns
Type | Description |
---|---|
IProducer<System. |
Stream of sum (nullable float) values. |
Sum(IProducer<Nullable<Single>>, TimeSpan, DeliveryPolicy<Nullable<Single>>)
Compute the sum (nullable float) within each window by time span.
Declaration
public static IProducer<float?> Sum(this IProducer<float?> source, TimeSpan timeSpan, DeliveryPolicy<float?> deliveryPolicy = null)
Parameters
Type | Name | Description |
---|---|---|
IProducer<System. |
source | The source stream. |
Time |
timeSpan | Window time span. |
Delivery |
deliveryPolicy | An optional delivery policy. |
Returns
Type | Description |
---|---|
IProducer<System. |
Stream of sum (nullable float) values. |
Sum(IProducer<Single[]>, DeliveryPolicy<Single[]>)
Compute the sum of a stream of float values.
Declaration
public static IProducer<float> Sum(this IProducer<float[]> source, DeliveryPolicy<float[]> deliveryPolicy = null)
Parameters
Type | Name | Description |
---|---|---|
IProducer<System. |
source | The source stream. |
Delivery |
deliveryPolicy | An optional delivery policy. |
Returns
Type | Description |
---|---|
IProducer<System. |
Stream of sum values. |
Sum(IProducer<Single>, DeliveryPolicy<Single>)
Compute the sum of a stream of float values.
Declaration
public static IProducer<float> Sum(this IProducer<float> source, DeliveryPolicy<float> deliveryPolicy = null)
Parameters
Type | Name | Description |
---|---|---|
IProducer<System. |
source | The source stream. |
Delivery |
deliveryPolicy | An optional delivery policy. |
Returns
Type | Description |
---|---|
IProducer<System. |
Stream of sums. |
Remarks
This operator considers the sum of a number and NaN as NaN. Consequently, once a value of NaN is encountered on the source stream, the corresponding output value and all subsequent output values will be NaN.
Sum(IProducer<Single>, Predicate<Single>, DeliveryPolicy<Single>)
Compute the sum of a stream of float values satisfying a condition.
Declaration
public static IProducer<float> Sum(this IProducer<float> source, Predicate<float> condition, DeliveryPolicy<float> deliveryPolicy = null)
Parameters
Type | Name | Description |
---|---|---|
IProducer<System. |
source | The source stream. |
Predicate<System. |
condition | A function to test each value for a condition. |
Delivery |
deliveryPolicy | An optional delivery policy. |
Returns
Type | Description |
---|---|
IProducer<System. |
Stream of sums. |
Sum(IProducer<Single>, Int32, DeliveryPolicy<Single>)
Compute the sum (float) within each window by size.
Declaration
public static IProducer<float> Sum(this IProducer<float> source, int size, DeliveryPolicy<float> deliveryPolicy = null)
Parameters
Type | Name | Description |
---|---|---|
IProducer<System. |
source | The source stream. |
System. |
size | Window size. |
Delivery |
deliveryPolicy | An optional delivery policy. |
Returns
Type | Description |
---|---|
IProducer<System. |
Stream of sum (float) values. |
Sum(IProducer<Single>, TimeSpan, DeliveryPolicy<Single>)
Compute the sum (float) within each window by time span.
Declaration
public static IProducer<float> Sum(this IProducer<float> source, TimeSpan timeSpan, DeliveryPolicy<float> deliveryPolicy = null)
Parameters
Type | Name | Description |
---|---|---|
IProducer<System. |
source | The source stream. |
Time |
timeSpan | Window time span. |
Delivery |
deliveryPolicy | An optional delivery policy. |
Returns
Type | Description |
---|---|
IProducer<System. |
Stream of sum (float) values. |
Sum<TSource>(IProducer<TSource[]>, Func<TSource, Decimal>, DeliveryPolicy<TSource[]>)
Compute the sum of a stream of decimal values.
Declaration
public static IProducer<decimal> Sum<TSource>(this IProducer<TSource[]> source, Func<TSource, decimal> selector, DeliveryPolicy<TSource[]> deliveryPolicy = null)
Parameters
Type | Name | Description |
---|---|---|
IProducer<TSource[]> | source | The source stream. |
Func<TSource, System. |
selector | Transform function applied to each element. |
Delivery |
deliveryPolicy | An optional delivery policy. |
Returns
Type | Description |
---|---|
IProducer<System. |
Stream of sum (decimal) values. |
Type Parameters
Name | Description |
---|---|
TSource | The source message type. |
Sum<TSource>(IProducer<TSource[]>, Func<TSource, Double>, DeliveryPolicy<TSource[]>)
Compute the sum of a stream of decimal values.
Declaration
public static IProducer<double> Sum<TSource>(this IProducer<TSource[]> source, Func<TSource, double> selector, DeliveryPolicy<TSource[]> deliveryPolicy = null)
Parameters
Type | Name | Description |
---|---|---|
IProducer<TSource[]> | source | The source stream. |
Func<TSource, System. |
selector | Transform function applied to each element. |
Delivery |
deliveryPolicy | An optional delivery policy. |
Returns
Type | Description |
---|---|
IProducer<System. |
Stream of sum (double) values. |
Type Parameters
Name | Description |
---|---|
TSource | The source message type. |
Sum<TSource>(IProducer<TSource[]>, Func<TSource, Int32>, DeliveryPolicy<TSource[]>)
Compute the sum of a stream of values obtained by invoking a transform function.
Declaration
public static IProducer<int> Sum<TSource>(this IProducer<TSource[]> source, Func<TSource, int> selector, DeliveryPolicy<TSource[]> deliveryPolicy = null)
Parameters
Type | Name | Description |
---|---|---|
IProducer<TSource[]> | source | The source stream. |
Func<TSource, System. |
selector | Transform function applied to each element. |
Delivery |
deliveryPolicy | An optional delivery policy. |
Returns
Type | Description |
---|---|
IProducer<System. |
Stream of sum (int) values. |
Type Parameters
Name | Description |
---|---|
TSource | The source message type. |
Sum<TSource>(IProducer<TSource[]>, Func<TSource, Int64>, DeliveryPolicy<TSource[]>)
Compute the sum of a stream of int values obtained by invoking a transform function.
Declaration
public static IProducer<long> Sum<TSource>(this IProducer<TSource[]> source, Func<TSource, long> selector, DeliveryPolicy<TSource[]> deliveryPolicy = null)
Parameters
Type | Name | Description |
---|---|---|
IProducer<TSource[]> | source | The source stream. |
Func<TSource, System. |
selector | Transform function applied to each element. |
Delivery |
deliveryPolicy | An optional delivery policy. |
Returns
Type | Description |
---|---|
IProducer<System. |
Stream of sum (long) values. |
Type Parameters
Name | Description |
---|---|
TSource | The source message type. |
Sum<TSource>(IProducer<TSource[]>, Func<TSource, Nullable<Decimal>>, DeliveryPolicy<TSource[]>)
Compute the sum of a stream of nullable decimal values.
Declaration
public static IProducer<decimal?> Sum<TSource>(this IProducer<TSource[]> source, Func<TSource, decimal?> selector, DeliveryPolicy<TSource[]> deliveryPolicy = null)
Parameters
Type | Name | Description |
---|---|---|
IProducer<TSource[]> | source | The source stream. |
Func<TSource, System. |
selector | Transform function applied to each element. |
Delivery |
deliveryPolicy | An optional delivery policy. |
Returns
Type | Description |
---|---|
IProducer<System. |
Stream of sum (nullable decimal) values. |
Type Parameters
Name | Description |
---|---|
TSource | The source message type. |
Sum<TSource>(IProducer<TSource[]>, Func<TSource, Nullable<Double>>, DeliveryPolicy<TSource[]>)
Compute the sum of a stream of nullable decimal values.
Declaration
public static IProducer<double?> Sum<TSource>(this IProducer<TSource[]> source, Func<TSource, double?> selector, DeliveryPolicy<TSource[]> deliveryPolicy = null)
Parameters
Type | Name | Description |
---|---|---|
IProducer<TSource[]> | source | The source stream. |
Func<TSource, System. |
selector | Transform function applied to each element. |
Delivery |
deliveryPolicy | An optional delivery policy. |
Returns
Type | Description |
---|---|
IProducer<System. |
Stream of sum (nullable double) values. |
Type Parameters
Name | Description |
---|---|
TSource | The source message type. |
Sum<TSource>(IProducer<TSource[]>, Func<TSource, Nullable<Int32>>, DeliveryPolicy<TSource[]>)
Compute the sum of a stream of int values obtained by invoking a transform function.
Declaration
public static IProducer<int?> Sum<TSource>(this IProducer<TSource[]> source, Func<TSource, int?> selector, DeliveryPolicy<TSource[]> deliveryPolicy = null)
Parameters
Type | Name | Description |
---|---|---|
IProducer<TSource[]> | source | The source stream. |
Func<TSource, System. |
selector | Transform function applied to each element. |
Delivery |
deliveryPolicy | An optional delivery policy. |
Returns
Type | Description |
---|---|
IProducer<System. |
Stream of sum (nullable int) values. |
Type Parameters
Name | Description |
---|---|
TSource | The source message type. |
Sum<TSource>(IProducer<TSource[]>, Func<TSource, Nullable<Int64>>, DeliveryPolicy<TSource[]>)
Compute the sum of a stream of int values obtained by invoking a transform function.
Declaration
public static IProducer<long?> Sum<TSource>(this IProducer<TSource[]> source, Func<TSource, long?> selector, DeliveryPolicy<TSource[]> deliveryPolicy = null)
Parameters
Type | Name | Description |
---|---|---|
IProducer<TSource[]> | source | The source stream. |
Func<TSource, System. |
selector | Transform function applied to each element. |
Delivery |
deliveryPolicy | An optional delivery policy. |
Returns
Type | Description |
---|---|
IProducer<System. |
Stream of sum (nullable long) values. |
Type Parameters
Name | Description |
---|---|
TSource | The source message type. |
Sum<TSource>(IProducer<TSource[]>, Func<TSource, Nullable<Single>>, DeliveryPolicy<TSource[]>)
Compute the sum of a stream of int values obtained by invoking a transform function.
Declaration
public static IProducer<float?> Sum<TSource>(this IProducer<TSource[]> source, Func<TSource, float?> selector, DeliveryPolicy<TSource[]> deliveryPolicy = null)
Parameters
Type | Name | Description |
---|---|---|
IProducer<TSource[]> | source | The source stream. |
Func<TSource, System. |
selector | Transform function applied to each element. |
Delivery |
deliveryPolicy | An optional delivery policy. |
Returns
Type | Description |
---|---|
IProducer<System. |
Stream of sum (nullable float) values. |
Type Parameters
Name | Description |
---|---|
TSource | The source message type. |
Sum<TSource>(IProducer<TSource[]>, Func<TSource, Single>, DeliveryPolicy<TSource[]>)
Compute the sum of a stream of int values obtained by invoking a transform function.
Declaration
public static IProducer<float> Sum<TSource>(this IProducer<TSource[]> source, Func<TSource, float> selector, DeliveryPolicy<TSource[]> deliveryPolicy = null)
Parameters
Type | Name | Description |
---|---|---|
IProducer<TSource[]> | source | The source stream. |
Func<TSource, System. |
selector | Transform function applied to each element. |
Delivery |
deliveryPolicy | An optional delivery policy. |
Returns
Type | Description |
---|---|
IProducer<System. |
Stream of sum (float) values. |
Type Parameters
Name | Description |
---|---|
TSource | The source message type. |
TimeOf<T>(IProducer<T>, DeliveryPolicy<T>, String)
Map messages to their originating time.
Declaration
public static IProducer<DateTime> TimeOf<T>(this IProducer<T> source, DeliveryPolicy<T> deliveryPolicy = null, string name = "TimeOf")
Parameters
Type | Name | Description |
---|---|---|
IProducer<T> | source | Source stream. |
Delivery |
deliveryPolicy | An optional delivery policy. |
System. |
name | An optional name for this stream operator. |
Returns
Type | Description |
---|---|
IProducer<Date |
Stream of originating times. |
Type Parameters
Name | Description |
---|---|
T | Type of source stream messages. |
ToEnumerable<T>(IProducer<T>, Func<T, Boolean>, DeliveryPolicy<T>, String)
Convert a stream to an
Declaration
public static IEnumerable<T> ToEnumerable<T>(this IProducer<T> source, Func<T, bool> condition = null, DeliveryPolicy<T> deliveryPolicy = null, string name = "ToEnumerable")
Parameters
Type | Name | Description |
---|---|---|
IProducer<T> | source | The source stream. |
Func<T, System. |
condition | Predicate condition while which values will be enumerated (otherwise infinite). |
Delivery |
deliveryPolicy | An optional delivery policy. |
System. |
name | An optional name for this stream operator. |
Returns
Type | Description |
---|---|
IEnumerable<T> | Enumerable with elements from the source stream. |
Type Parameters
Name | Description |
---|---|
T | Type of messages for the source stream. |
Remarks
This may be traversed while the pipeline runs async, or may collect values to be consumed after pipeline disposal.
ToObservable<T>(IProducer<T>, DeliveryPolicy<T>, String)
Convert a stream to an
Declaration
public static IObservable<T> ToObservable<T>(this IProducer<T> stream, DeliveryPolicy<T> deliveryPolicy = null, string name = "ToObservable")
Parameters
Type | Name | Description |
---|---|---|
IProducer<T> | stream | The source stream. |
Delivery |
deliveryPolicy | An optional delivery policy. |
System. |
name | An optional name for this stream operator. |
Returns
Type | Description |
---|---|
IObservable<T> | Observable with elements from the source stream. |
Type Parameters
Name | Description |
---|---|
T | Type of messages for the source stream. |
Where<T>(IProducer<T>, Func<T, Envelope, Boolean>, DeliveryPolicy<T>, String)
Filter messages to those where a given condition is met.
Declaration
public static IProducer<T> Where<T>(this IProducer<T> source, Func<T, Envelope, bool> condition, DeliveryPolicy<T> deliveryPolicy = null, string name = "Where")
Parameters
Type | Name | Description |
---|---|---|
IProducer<T> | source | Source stream. |
Func<T, Envelope, System. |
condition | Predicate function by which to filter messages. |
Delivery |
deliveryPolicy | An optional delivery policy. |
System. |
name | An optional name for this stream operator. |
Returns
Type | Description |
---|---|
IProducer<T> | Output stream. |
Type Parameters
Name | Description |
---|---|
T | Type of source/output messages. |
Where<T>(IProducer<T>, Predicate<T>, DeliveryPolicy<T>, String)
Filter messages to those where a given condition is met.
Declaration
public static IProducer<T> Where<T>(this IProducer<T> source, Predicate<T> condition, DeliveryPolicy<T> deliveryPolicy = null, string name = "Where")
Parameters
Type | Name | Description |
---|---|---|
IProducer<T> | source | Source stream. |
Predicate<T> | condition | Predicate function by which to filter messages. |
Delivery |
deliveryPolicy | An optional delivery policy. |
System. |
name | An optional name for this stream operator. |
Returns
Type | Description |
---|---|
IProducer<T> | Output stream. |
Type Parameters
Name | Description |
---|---|
T | Type of source/output messages. |
Window<TSource>(IProducer<TSource>, IntInterval, DeliveryPolicy<TSource>, String)
Get windows of messages by relative index interval.
Declaration
public static IProducer<TSource[]> Window<TSource>(this IProducer<TSource> source, IntInterval indexInterval, DeliveryPolicy<TSource> deliveryPolicy = null, string name = "Window")
Parameters
Type | Name | Description |
---|---|---|
IProducer<TSource> | source | Source stream. |
Int |
indexInterval | The relative index interval over which to gather messages. |
Delivery |
deliveryPolicy | An optional delivery policy. |
System. |
name | An optional name for the stream operator. |
Returns
Type | Description |
---|---|
IProducer<TSource[]> | Output stream. |
Type Parameters
Name | Description |
---|---|
TSource | Type of source messages. |
Window<TSource>(IProducer<TSource>, RelativeTimeInterval, DeliveryPolicy<TSource>, String)
Get windows of messages by relative time interval.
Declaration
public static IProducer<TSource[]> Window<TSource>(this IProducer<TSource> source, RelativeTimeInterval relativeTimeInterval, DeliveryPolicy<TSource> deliveryPolicy = null, string name = "Window")
Parameters
Type | Name | Description |
---|---|---|
IProducer<TSource> | source | Source stream of messages. |
Relative |
relativeTimeInterval | The relative time interval over which to gather messages. |
Delivery |
deliveryPolicy | An optional delivery policy. |
System. |
name | An optional name for the stream operator. |
Returns
Type | Description |
---|---|
IProducer<TSource[]> | Output stream. |
Type Parameters
Name | Description |
---|---|
TSource | Type of source messages. |
Window<TSource>(IProducer<TSource>, Int32, Int32, DeliveryPolicy<TSource>, String)
Get windows of messages by relative index interval.
Declaration
public static IProducer<TSource[]> Window<TSource>(this IProducer<TSource> source, int fromIndex, int toIndex, DeliveryPolicy<TSource> deliveryPolicy = null, string name = "Window")
Parameters
Type | Name | Description |
---|---|---|
IProducer<TSource> | source | Source stream. |
System. |
fromIndex | The relative index from which to gather messages. |
System. |
toIndex | The relative index to which to gather messages. |
Delivery |
deliveryPolicy | An optional delivery policy. |
System. |
name | An optional name for the stream operator. |
Returns
Type | Description |
---|---|
IProducer<TSource[]> | Output stream. |
Type Parameters
Name | Description |
---|---|
TSource | Type of source messages. |
Window<TSource>(IProducer<TSource>, TimeSpan, TimeSpan, DeliveryPolicy<TSource>, String)
Get windows of messages by relative time interval.
Declaration
public static IProducer<TSource[]> Window<TSource>(this IProducer<TSource> source, TimeSpan fromTime, TimeSpan toTime, DeliveryPolicy<TSource> deliveryPolicy = null, string name = "Window")
Parameters
Type | Name | Description |
---|---|---|
IProducer<TSource> | source | Source stream of messages. |
Time |
fromTime | The relative timespan from which to gather messages. |
Time |
toTime | The relative timespan to which to gather messages. |
Delivery |
deliveryPolicy | An optional delivery policy. |
System. |
name | An optional name for the stream operator. |
Returns
Type | Description |
---|---|
IProducer<TSource[]> | Output stream. |
Type Parameters
Name | Description |
---|---|
TSource | Type of source messages. |
Window<TSource, TOutput>(IProducer<TSource>, IntInterval, Func<IEnumerable<Message<TSource>>, TOutput>, DeliveryPolicy<TSource>, String)
Process windows of messages by relative index interval.
Declaration
public static IProducer<TOutput> Window<TSource, TOutput>(this IProducer<TSource> source, IntInterval indexInterval, Func<IEnumerable<Message<TSource>>, TOutput> selector, DeliveryPolicy<TSource> deliveryPolicy = null, string name = "Window")
Parameters
Type | Name | Description |
---|---|---|
IProducer<TSource> | source | Source stream. |
Int |
indexInterval | The relative index interval over which to gather messages. |
Func<IEnumerable<Message<TSource>>, TOutput> | selector | Selector function. |
Delivery |
deliveryPolicy | An optional delivery policy. |
System. |
name | An optional name for the stream operator. |
Returns
Type | Description |
---|---|
IProducer<TOutput> | Output stream. |
Type Parameters
Name | Description |
---|---|
TSource | Type of source messages. |
TOutput | Type of output messages. |
Window<TSource, TWindow>(IProducer<TSource>, IProducer<TWindow>, Func<Message<TWindow>, (TimeInterval, DateTime)>, DeliveryPolicy<TSource>, DeliveryPolicy<TWindow>, String)
Get windows of messages specified via data from an additional window-defining stream.
Declaration
public static IProducer<Message<TSource>[]> Window<TSource, TWindow>(this IProducer<TSource> source, IProducer<TWindow> window, Func<Message<TWindow>, (TimeInterval, DateTime)> windowCreator, DeliveryPolicy<TSource> sourceDeliveryPolicy = null, DeliveryPolicy<TWindow> windowDeliveryPolicy = null, string name = "Window")
Parameters
Type | Name | Description |
---|---|---|
IProducer<TSource> | source | The source stream. |
IProducer<TWindow> | window | The window-defining stream. |
Func<Message<TWindow>, System. |
windowCreator | The function that creates the actual window to use at every point. |
Delivery |
sourceDeliveryPolicy | An optional delivery policy for the source stream. |
Delivery |
windowDeliveryPolicy | An optional delivery policy for the window-defining stream. |
System. |
name | An optional name for this operator. |
Returns
Type Parameters
Name | Description |
---|---|
TSource | Type of source messages. |
TWindow | Type of messages on the additional window stream. |
Remarks
The operator implements dynamic windowing over a stream of data. Messages on the incoming window stream are used to compute a relative time interval in the source stream. The output is created by a function that has access to the window message and the computed buffer of messages on the source stream.
Window<TSource, TOutput>(IProducer<TSource>, RelativeTimeInterval, Func<IEnumerable<Message<TSource>>, TOutput>, DeliveryPolicy<TSource>, String)
Process windows of messages by relative time interval.
Declaration
public static IProducer<TOutput> Window<TSource, TOutput>(this IProducer<TSource> source, RelativeTimeInterval relativeTimeInterval, Func<IEnumerable<Message<TSource>>, TOutput> selector, DeliveryPolicy<TSource> deliveryPolicy = null, string name = "Window")
Parameters
Type | Name | Description |
---|---|---|
IProducer<TSource> | source | Source stream of messages. |
Relative |
relativeTimeInterval | The relative time interval over which to gather messages. |
Func<IEnumerable<Message<TSource>>, TOutput> | selector | Selector function. |
Delivery |
deliveryPolicy | An optional delivery policy. |
System. |
name | An optional name for the stream operator. |
Returns
Type | Description |
---|---|
IProducer<TOutput> | Output stream. |
Type Parameters
Name | Description |
---|---|
TSource | Type of source messages. |
TOutput | Type of output messages. |
Window<TSource, TOutput>(IProducer<TSource>, Int32, Int32, Func<IEnumerable<Message<TSource>>, TOutput>, DeliveryPolicy<TSource>, String)
Process windows of messages by relative index interval.
Declaration
public static IProducer<TOutput> Window<TSource, TOutput>(this IProducer<TSource> source, int fromIndex, int toIndex, Func<IEnumerable<Message<TSource>>, TOutput> selector, DeliveryPolicy<TSource> deliveryPolicy = null, string name = "Window")
Parameters
Type | Name | Description |
---|---|---|
IProducer<TSource> | source | Source stream. |
System. |
fromIndex | The relative index from which to gather messages. |
System. |
toIndex | The relative index to which to gather messages. |
Func<IEnumerable<Message<TSource>>, TOutput> | selector | Selector function. |
Delivery |
deliveryPolicy | An optional delivery policy. |
System. |
name | An optional name for the stream operator. |
Returns
Type | Description |
---|---|
IProducer<TOutput> | Output stream. |
Type Parameters
Name | Description |
---|---|
TSource | Type of source messages. |
TOutput | Type of output messages. |
Window<TSource, TOutput>(IProducer<TSource>, TimeSpan, TimeSpan, Func<IEnumerable<Message<TSource>>, TOutput>, DeliveryPolicy<TSource>, String)
Process windows of messages by relative time interval.
Declaration
public static IProducer<TOutput> Window<TSource, TOutput>(this IProducer<TSource> source, TimeSpan fromTime, TimeSpan toTime, Func<IEnumerable<Message<TSource>>, TOutput> selector, DeliveryPolicy<TSource> deliveryPolicy = null, string name = "Window")
Parameters
Type | Name | Description |
---|---|---|
IProducer<TSource> | source | Source stream of messages. |
Time |
fromTime | The relative timespan from which to gather messages. |
Time |
toTime | The relative timespan to which to gather messages. |
Func<IEnumerable<Message<TSource>>, TOutput> | selector | Selector function. |
Delivery |
deliveryPolicy | An optional delivery policy. |
System. |
name | An optional name for the stream operator. |
Returns
Type | Description |
---|---|
IProducer<TOutput> | Output stream. |
Type Parameters
Name | Description |
---|---|
TSource | Type of source messages. |
TOutput | Type of output messages. |
Window<TSource, TWindow, TOutput>(IProducer<TSource>, IProducer<TWindow>, Func<Message<TWindow>, (TimeInterval, DateTime)>, Func<Message<TWindow>, IEnumerable<Message<TSource>>, TOutput>, DeliveryPolicy<TSource>, DeliveryPolicy<TWindow>, String)
Get windows of messages specified via data from an additional window-defining stream.
Declaration
public static IProducer<TOutput> Window<TSource, TWindow, TOutput>(this IProducer<TSource> source, IProducer<TWindow> window, Func<Message<TWindow>, (TimeInterval, DateTime)> windowCreator, Func<Message<TWindow>, IEnumerable<Message<TSource>>, TOutput> outputCreator, DeliveryPolicy<TSource> sourceDeliveryPolicy = null, DeliveryPolicy<TWindow> windowDeliveryPolicy = null, string name = "Window")
Parameters
Type | Name | Description |
---|---|---|
IProducer<TSource> | source | The source stream. |
IProducer<TWindow> | window | The window-defining stream. |
Func<Message<TWindow>, System. |
windowCreator | The function that creates the actual window to use at every point. |
Func<Message<TWindow>, IEnumerable<Message<TSource>>, TOutput> | outputCreator | A function that creates output messages given a message on the window-defining stream and a buffer of messages on the source stream. |
Delivery |
sourceDeliveryPolicy | An optional delivery policy for the source stream. |
Delivery |
windowDeliveryPolicy | An optional delivery policy for the window-defining stream. |
System. |
name | An optional name for this operator. |
Returns
Type | Description |
---|---|
IProducer<TOutput> | A stream of computed outputs. |
Type Parameters
Name | Description |
---|---|
TSource | Type of source messages. |
TWindow | Type of messages on the additional window stream. |
TOutput | Type of messages on the output stream. |
Remarks
The operator implements dynamic windowing over a stream of data. Messages on the incoming window stream are used to compute a relative time interval in the source stream. The output is created by a function that has access to the window message and the computed buffer of messages on the source stream.
Zip<T>(IEnumerable<IProducer<T>>, DeliveryPolicy<T>, String)
Zip one or more streams (T) into a single stream while ensuring delivery in originating time order.
Declaration
public static IProducer<T[]> Zip<T>(IEnumerable<IProducer<T>> inputs, DeliveryPolicy<T> deliveryPolicy = null, string name = "Zip")
Parameters
Type | Name | Description |
---|---|---|
IEnumerable<IProducer<T>> | inputs | Collection of input streams to zip. |
Delivery |
deliveryPolicy | An optional delivery policy. |
System. |
name | An optional name for this stream operator. |
Returns
Type | Description |
---|---|
IProducer<T[]> | Stream of zipped messages. |
Type Parameters
Name | Description |
---|---|
T | Type of messages. |
Remarks
Messages are produced in originating-time order; potentially delayed in wall-clock time. If multiple messages arrive with the same originating time, they are added in the output array in the order of stream ids.
Zip<T>(IProducer<T>, IProducer<T>, DeliveryPolicy<T>, String)
Zip two streams (T) into a single stream while ensuring delivery in originating time order.
Declaration
public static IProducer<T[]> Zip<T>(this IProducer<T> input1, IProducer<T> input2, DeliveryPolicy<T> deliveryPolicy = null, string name = "Zip")
Parameters
Type | Name | Description |
---|---|---|
IProducer<T> | input1 | First input stream. |
IProducer<T> | input2 | Second input stream with same message type. |
Delivery |
deliveryPolicy | An optional delivery policy. |
System. |
name | An optional name for this stream operator. |
Returns
Type | Description |
---|---|
IProducer<T[]> | Stream of zipped messages. |
Type Parameters
Name | Description |
---|---|
T | Type of messages. |
Remarks
Messages are produced in originating-time order; potentially delayed in wall-clock time. If multiple messages arrive with the same originating time, they are added in the output array in the order of stream ids.