FilteredWindow<TKey,TSource>.Average Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
Average(Expression<Func<TSource,Byte>>) |
Computes a time-sensitive average aggregate over bytes using "snapshot windows" (SI terminology). Note that the accumulator internally is a ulong datatype. |
Average(Expression<Func<TSource,UInt32>>) |
Computes a time-sensitive average aggregate over uints using "snapshot windows" (SI terminology). Note that the accumulator internally is a ulong datatype. |
Average(Expression<Func<TSource,UInt16>>) |
Computes a time-sensitive average aggregate over ushorts using "snapshot windows" (SI terminology). Note that the accumulator internally is a ulong datatype. |
Average(Expression<Func<TSource,Single>>) |
Computes a time-sensitive average aggregate over floats using "snapshot windows" (SI terminology). Note that the accumulator internally is a float datatype. |
Average(Expression<Func<TSource,SByte>>) |
Computes a time-sensitive average aggregate over sbytes using "snapshot windows" (SI terminology). Note that the accumulator internally is a long datatype. |
Average(Expression<Func<TSource,UInt64>>) |
Computes a time-sensitive average aggregate over ulongs using "snapshot windows" (SI terminology). Note that the accumulator internally is a ulong datatype. |
Average(Expression<Func<TSource,Int32>>) |
Computes a time-sensitive average aggregate over ints using "snapshot windows" (SI terminology). Note that the accumulator internally is a long datatype. |
Average(Expression<Func<TSource,Int16>>) |
Computes a time-sensitive average aggregate over shorts using "snapshot windows" (SI terminology). Note that the accumulator internally is a long datatype. |
Average(Expression<Func<TSource,Double>>) |
Computes a time-sensitive average aggregate over doubles using "snapshot windows" (SI terminology). Note that the accumulator internally is a double datatype. |
Average(Expression<Func<TSource,Decimal>>) |
Computes a time-sensitive average aggregate over decimals using "snapshot windows" (SI terminology). Note that the accumulator internally is a decimal datatype. |
Average(Expression<Func<TSource,Int64>>) |
Computes a time-sensitive average aggregate over longs using "snapshot windows" (SI terminology). Note that the accumulator internally is a long datatype. |
Average(Expression<Func<TSource,Byte>>)
Computes a time-sensitive average aggregate over bytes using "snapshot windows" (SI terminology). Note that the accumulator internally is a ulong datatype.
public Microsoft.StreamProcessing.Aggregates.IAggregate<TSource,Microsoft.StreamProcessing.Aggregates.AverageState<ulong>,Nullable<double>> Average (System.Linq.Expressions.Expression<Func<TSource,byte>> selector);
override this.Average : System.Linq.Expressions.Expression<Func<'Source, byte>> -> Microsoft.StreamProcessing.Aggregates.IAggregate<'Source, Microsoft.StreamProcessing.Aggregates.AverageState<uint64>, Nullable<double>>
Public Function Average (selector As Expression(Of Func(Of TSource, Byte))) As IAggregate(Of TSource, AverageState(Of ULong), Nullable(Of Double))
Parameters
- selector
- Expression<Func<TSource,Byte>>
Returns
Applies to
Average(Expression<Func<TSource,UInt32>>)
Computes a time-sensitive average aggregate over uints using "snapshot windows" (SI terminology). Note that the accumulator internally is a ulong datatype.
public Microsoft.StreamProcessing.Aggregates.IAggregate<TSource,Microsoft.StreamProcessing.Aggregates.AverageState<ulong>,Nullable<double>> Average (System.Linq.Expressions.Expression<Func<TSource,uint>> selector);
override this.Average : System.Linq.Expressions.Expression<Func<'Source, uint32>> -> Microsoft.StreamProcessing.Aggregates.IAggregate<'Source, Microsoft.StreamProcessing.Aggregates.AverageState<uint64>, Nullable<double>>
Public Function Average (selector As Expression(Of Func(Of TSource, UInteger))) As IAggregate(Of TSource, AverageState(Of ULong), Nullable(Of Double))
Parameters
- selector
- Expression<Func<TSource,UInt32>>
Returns
Applies to
Average(Expression<Func<TSource,UInt16>>)
Computes a time-sensitive average aggregate over ushorts using "snapshot windows" (SI terminology). Note that the accumulator internally is a ulong datatype.
public Microsoft.StreamProcessing.Aggregates.IAggregate<TSource,Microsoft.StreamProcessing.Aggregates.AverageState<ulong>,Nullable<double>> Average (System.Linq.Expressions.Expression<Func<TSource,ushort>> selector);
override this.Average : System.Linq.Expressions.Expression<Func<'Source, uint16>> -> Microsoft.StreamProcessing.Aggregates.IAggregate<'Source, Microsoft.StreamProcessing.Aggregates.AverageState<uint64>, Nullable<double>>
Public Function Average (selector As Expression(Of Func(Of TSource, UShort))) As IAggregate(Of TSource, AverageState(Of ULong), Nullable(Of Double))
Parameters
- selector
- Expression<Func<TSource,UInt16>>
Returns
Applies to
Average(Expression<Func<TSource,Single>>)
Computes a time-sensitive average aggregate over floats using "snapshot windows" (SI terminology). Note that the accumulator internally is a float datatype.
public Microsoft.StreamProcessing.Aggregates.IAggregate<TSource,Microsoft.StreamProcessing.Aggregates.AverageState<float>,Nullable<float>> Average (System.Linq.Expressions.Expression<Func<TSource,float>> selector);
override this.Average : System.Linq.Expressions.Expression<Func<'Source, single>> -> Microsoft.StreamProcessing.Aggregates.IAggregate<'Source, Microsoft.StreamProcessing.Aggregates.AverageState<single>, Nullable<single>>
Public Function Average (selector As Expression(Of Func(Of TSource, Single))) As IAggregate(Of TSource, AverageState(Of Single), Nullable(Of Single))
Parameters
- selector
- Expression<Func<TSource,Single>>
Returns
Applies to
Average(Expression<Func<TSource,SByte>>)
Computes a time-sensitive average aggregate over sbytes using "snapshot windows" (SI terminology). Note that the accumulator internally is a long datatype.
public Microsoft.StreamProcessing.Aggregates.IAggregate<TSource,Microsoft.StreamProcessing.Aggregates.AverageState<long>,Nullable<double>> Average (System.Linq.Expressions.Expression<Func<TSource,sbyte>> selector);
override this.Average : System.Linq.Expressions.Expression<Func<'Source, sbyte>> -> Microsoft.StreamProcessing.Aggregates.IAggregate<'Source, Microsoft.StreamProcessing.Aggregates.AverageState<int64>, Nullable<double>>
Public Function Average (selector As Expression(Of Func(Of TSource, SByte))) As IAggregate(Of TSource, AverageState(Of Long), Nullable(Of Double))
Parameters
- selector
- Expression<Func<TSource,SByte>>
Returns
Applies to
Average(Expression<Func<TSource,UInt64>>)
Computes a time-sensitive average aggregate over ulongs using "snapshot windows" (SI terminology). Note that the accumulator internally is a ulong datatype.
public Microsoft.StreamProcessing.Aggregates.IAggregate<TSource,Microsoft.StreamProcessing.Aggregates.AverageState<ulong>,Nullable<double>> Average (System.Linq.Expressions.Expression<Func<TSource,ulong>> selector);
override this.Average : System.Linq.Expressions.Expression<Func<'Source, uint64>> -> Microsoft.StreamProcessing.Aggregates.IAggregate<'Source, Microsoft.StreamProcessing.Aggregates.AverageState<uint64>, Nullable<double>>
Public Function Average (selector As Expression(Of Func(Of TSource, ULong))) As IAggregate(Of TSource, AverageState(Of ULong), Nullable(Of Double))
Parameters
- selector
- Expression<Func<TSource,UInt64>>
Returns
Applies to
Average(Expression<Func<TSource,Int32>>)
Computes a time-sensitive average aggregate over ints using "snapshot windows" (SI terminology). Note that the accumulator internally is a long datatype.
public Microsoft.StreamProcessing.Aggregates.IAggregate<TSource,Microsoft.StreamProcessing.Aggregates.AverageState<long>,Nullable<double>> Average (System.Linq.Expressions.Expression<Func<TSource,int>> selector);
override this.Average : System.Linq.Expressions.Expression<Func<'Source, int>> -> Microsoft.StreamProcessing.Aggregates.IAggregate<'Source, Microsoft.StreamProcessing.Aggregates.AverageState<int64>, Nullable<double>>
Public Function Average (selector As Expression(Of Func(Of TSource, Integer))) As IAggregate(Of TSource, AverageState(Of Long), Nullable(Of Double))
Parameters
- selector
- Expression<Func<TSource,Int32>>
Returns
Applies to
Average(Expression<Func<TSource,Int16>>)
Computes a time-sensitive average aggregate over shorts using "snapshot windows" (SI terminology). Note that the accumulator internally is a long datatype.
public Microsoft.StreamProcessing.Aggregates.IAggregate<TSource,Microsoft.StreamProcessing.Aggregates.AverageState<long>,Nullable<double>> Average (System.Linq.Expressions.Expression<Func<TSource,short>> selector);
override this.Average : System.Linq.Expressions.Expression<Func<'Source, int16>> -> Microsoft.StreamProcessing.Aggregates.IAggregate<'Source, Microsoft.StreamProcessing.Aggregates.AverageState<int64>, Nullable<double>>
Public Function Average (selector As Expression(Of Func(Of TSource, Short))) As IAggregate(Of TSource, AverageState(Of Long), Nullable(Of Double))
Parameters
- selector
- Expression<Func<TSource,Int16>>
Returns
Applies to
Average(Expression<Func<TSource,Double>>)
Computes a time-sensitive average aggregate over doubles using "snapshot windows" (SI terminology). Note that the accumulator internally is a double datatype.
public Microsoft.StreamProcessing.Aggregates.IAggregate<TSource,Microsoft.StreamProcessing.Aggregates.AverageState<double>,Nullable<double>> Average (System.Linq.Expressions.Expression<Func<TSource,double>> selector);
override this.Average : System.Linq.Expressions.Expression<Func<'Source, double>> -> Microsoft.StreamProcessing.Aggregates.IAggregate<'Source, Microsoft.StreamProcessing.Aggregates.AverageState<double>, Nullable<double>>
Public Function Average (selector As Expression(Of Func(Of TSource, Double))) As IAggregate(Of TSource, AverageState(Of Double), Nullable(Of Double))
Parameters
- selector
- Expression<Func<TSource,Double>>
Returns
Applies to
Average(Expression<Func<TSource,Decimal>>)
Computes a time-sensitive average aggregate over decimals using "snapshot windows" (SI terminology). Note that the accumulator internally is a decimal datatype.
public Microsoft.StreamProcessing.Aggregates.IAggregate<TSource,Microsoft.StreamProcessing.Aggregates.AverageState<decimal>,Nullable<decimal>> Average (System.Linq.Expressions.Expression<Func<TSource,decimal>> selector);
override this.Average : System.Linq.Expressions.Expression<Func<'Source, decimal>> -> Microsoft.StreamProcessing.Aggregates.IAggregate<'Source, Microsoft.StreamProcessing.Aggregates.AverageState<decimal>, Nullable<decimal>>
Public Function Average (selector As Expression(Of Func(Of TSource, Decimal))) As IAggregate(Of TSource, AverageState(Of Decimal), Nullable(Of Decimal))
Parameters
- selector
- Expression<Func<TSource,Decimal>>
Returns
Applies to
Average(Expression<Func<TSource,Int64>>)
Computes a time-sensitive average aggregate over longs using "snapshot windows" (SI terminology). Note that the accumulator internally is a long datatype.
public Microsoft.StreamProcessing.Aggregates.IAggregate<TSource,Microsoft.StreamProcessing.Aggregates.AverageState<long>,Nullable<double>> Average (System.Linq.Expressions.Expression<Func<TSource,long>> selector);
override this.Average : System.Linq.Expressions.Expression<Func<'Source, int64>> -> Microsoft.StreamProcessing.Aggregates.IAggregate<'Source, Microsoft.StreamProcessing.Aggregates.AverageState<int64>, Nullable<double>>
Public Function Average (selector As Expression(Of Func(Of TSource, Long))) As IAggregate(Of TSource, AverageState(Of Long), Nullable(Of Double))
Parameters
- selector
- Expression<Func<TSource,Int64>>