Streamable.Average 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
多載
Average<TKey,TPayload>(IStreamable<TKey,TPayload>, Expression<Func<TPayload,Nullable<SByte>>>)
使用「snapshot windows」 (SI 術語) ,計算可為 Null 之 Sbytes 的時間敏感性平均匯總。 請注意,累積器在內部是長資料類型,且 Null 對平均值沒有任何影響。
public static Microsoft.StreamProcessing.IStreamable<TKey,Nullable<double>> Average<TKey,TPayload>(this Microsoft.StreamProcessing.IStreamable<TKey,TPayload> source, System.Linq.Expressions.Expression<Func<TPayload,Nullable<sbyte>>> selector);
static member Average : Microsoft.StreamProcessing.IStreamable<'Key, 'Payload> * System.Linq.Expressions.Expression<Func<'Payload, Nullable<sbyte>>> -> Microsoft.StreamProcessing.IStreamable<'Key, Nullable<double>>
<Extension()>
Public Function Average(Of TKey, TPayload) (source As IStreamable(Of TKey, TPayload), selector As Expression(Of Func(Of TPayload, Nullable(Of SByte)))) As IStreamable(Of TKey, Nullable(Of Double))
類型參數
- TKey
- TPayload
參數
- source
- IStreamable<TKey,TPayload>
- selector
- Expression<Func<TPayload,Nullable<SByte>>>
傳回
適用於
Average<TKey,TPayload>(IStreamable<TKey,TPayload>, Expression<Func<TPayload,UInt64>>)
使用「snapshot windows」 (SI 術語) ,計算 ulong 上時間敏感度的平均匯總。 請注意,累積器在內部是 ulong 資料類型。
public static Microsoft.StreamProcessing.IStreamable<TKey,double> Average<TKey,TPayload>(this Microsoft.StreamProcessing.IStreamable<TKey,TPayload> source, System.Linq.Expressions.Expression<Func<TPayload,ulong>> selector);
static member Average : Microsoft.StreamProcessing.IStreamable<'Key, 'Payload> * System.Linq.Expressions.Expression<Func<'Payload, uint64>> -> Microsoft.StreamProcessing.IStreamable<'Key, double>
<Extension()>
Public Function Average(Of TKey, TPayload) (source As IStreamable(Of TKey, TPayload), selector As Expression(Of Func(Of TPayload, ULong))) As IStreamable(Of TKey, Double)
類型參數
- TKey
- TPayload
參數
- source
- IStreamable<TKey,TPayload>
- selector
- Expression<Func<TPayload,UInt64>>
傳回
適用於
Average<TKey,TPayload>(IStreamable<TKey,TPayload>, Expression<Func<TPayload,UInt32>>)
使用「快照集視窗」 (SI 術語) ,透過 uint 計算時間敏感度平均匯總。 請注意,累積器在內部是 ulong 資料類型。
public static Microsoft.StreamProcessing.IStreamable<TKey,double> Average<TKey,TPayload>(this Microsoft.StreamProcessing.IStreamable<TKey,TPayload> source, System.Linq.Expressions.Expression<Func<TPayload,uint>> selector);
static member Average : Microsoft.StreamProcessing.IStreamable<'Key, 'Payload> * System.Linq.Expressions.Expression<Func<'Payload, uint32>> -> Microsoft.StreamProcessing.IStreamable<'Key, double>
<Extension()>
Public Function Average(Of TKey, TPayload) (source As IStreamable(Of TKey, TPayload), selector As Expression(Of Func(Of TPayload, UInteger))) As IStreamable(Of TKey, Double)
類型參數
- TKey
- TPayload
參數
- source
- IStreamable<TKey,TPayload>
- selector
- Expression<Func<TPayload,UInt32>>
傳回
適用於
Average<TKey,TPayload>(IStreamable<TKey,TPayload>, Expression<Func<TPayload,UInt16>>)
使用「snapshot windows」 (SI 術語) ,計算逾時平均匯總。 請注意,累積器在內部是 ulong 資料類型。
public static Microsoft.StreamProcessing.IStreamable<TKey,double> Average<TKey,TPayload>(this Microsoft.StreamProcessing.IStreamable<TKey,TPayload> source, System.Linq.Expressions.Expression<Func<TPayload,ushort>> selector);
static member Average : Microsoft.StreamProcessing.IStreamable<'Key, 'Payload> * System.Linq.Expressions.Expression<Func<'Payload, uint16>> -> Microsoft.StreamProcessing.IStreamable<'Key, double>
<Extension()>
Public Function Average(Of TKey, TPayload) (source As IStreamable(Of TKey, TPayload), selector As Expression(Of Func(Of TPayload, UShort))) As IStreamable(Of TKey, Double)
類型參數
- TKey
- TPayload
參數
- source
- IStreamable<TKey,TPayload>
- selector
- Expression<Func<TPayload,UInt16>>
傳回
適用於
Average<TKey,TPayload>(IStreamable<TKey,TPayload>, Expression<Func<TPayload,Single>>)
使用「snapshot windows」 (SI 術語) ,計算浮點數的時效性平均匯總。 請注意,累積器在內部是 float 資料類型。
public static Microsoft.StreamProcessing.IStreamable<TKey,float> Average<TKey,TPayload>(this Microsoft.StreamProcessing.IStreamable<TKey,TPayload> source, System.Linq.Expressions.Expression<Func<TPayload,float>> selector);
static member Average : Microsoft.StreamProcessing.IStreamable<'Key, 'Payload> * System.Linq.Expressions.Expression<Func<'Payload, single>> -> Microsoft.StreamProcessing.IStreamable<'Key, single>
<Extension()>
Public Function Average(Of TKey, TPayload) (source As IStreamable(Of TKey, TPayload), selector As Expression(Of Func(Of TPayload, Single))) As IStreamable(Of TKey, Single)
類型參數
- TKey
- TPayload
參數
- source
- IStreamable<TKey,TPayload>
- selector
- Expression<Func<TPayload,Single>>
傳回
適用於
Average<TKey,TPayload>(IStreamable<TKey,TPayload>, Expression<Func<TPayload,SByte>>)
使用「snapshot windows」 (SI 術語) ,計算對位元組的時間敏感度平均匯總。 請注意,累積器在內部是長資料類型。
public static Microsoft.StreamProcessing.IStreamable<TKey,double> Average<TKey,TPayload>(this Microsoft.StreamProcessing.IStreamable<TKey,TPayload> source, System.Linq.Expressions.Expression<Func<TPayload,sbyte>> selector);
static member Average : Microsoft.StreamProcessing.IStreamable<'Key, 'Payload> * System.Linq.Expressions.Expression<Func<'Payload, sbyte>> -> Microsoft.StreamProcessing.IStreamable<'Key, double>
<Extension()>
Public Function Average(Of TKey, TPayload) (source As IStreamable(Of TKey, TPayload), selector As Expression(Of Func(Of TPayload, SByte))) As IStreamable(Of TKey, Double)
類型參數
- TKey
- TPayload
參數
- source
- IStreamable<TKey,TPayload>
- selector
- Expression<Func<TPayload,SByte>>
傳回
適用於
Average<TKey,TPayload>(IStreamable<TKey,TPayload>, Expression<Func<TPayload,Complex>>)
使用「快照集視窗」 (SI 術語) 計算複雜複本的時間敏感平均匯總。 請注意,累積器在內部是複雜資料類型。
public static Microsoft.StreamProcessing.IStreamable<TKey,System.Numerics.Complex> Average<TKey,TPayload>(this Microsoft.StreamProcessing.IStreamable<TKey,TPayload> source, System.Linq.Expressions.Expression<Func<TPayload,System.Numerics.Complex>> selector);
static member Average : Microsoft.StreamProcessing.IStreamable<'Key, 'Payload> * System.Linq.Expressions.Expression<Func<'Payload, System.Numerics.Complex>> -> Microsoft.StreamProcessing.IStreamable<'Key, System.Numerics.Complex>
<Extension()>
Public Function Average(Of TKey, TPayload) (source As IStreamable(Of TKey, TPayload), selector As Expression(Of Func(Of TPayload, Complex))) As IStreamable(Of TKey, Complex)
類型參數
- TKey
- TPayload
參數
- source
- IStreamable<TKey,TPayload>
- selector
- Expression<Func<TPayload,Complex>>
傳回
適用於
Average<TKey,TPayload>(IStreamable<TKey,TPayload>, Expression<Func<TPayload,BigInteger>>)
使用「snapshot windows」 (SI 術語) 計算 BigIntegers 的時間敏感平均匯總。 請注意,累積器在內部是 BigInteger 資料類型。
public static Microsoft.StreamProcessing.IStreamable<TKey,double> Average<TKey,TPayload>(this Microsoft.StreamProcessing.IStreamable<TKey,TPayload> source, System.Linq.Expressions.Expression<Func<TPayload,System.Numerics.BigInteger>> selector);
static member Average : Microsoft.StreamProcessing.IStreamable<'Key, 'Payload> * System.Linq.Expressions.Expression<Func<'Payload, System.Numerics.BigInteger>> -> Microsoft.StreamProcessing.IStreamable<'Key, double>
<Extension()>
Public Function Average(Of TKey, TPayload) (source As IStreamable(Of TKey, TPayload), selector As Expression(Of Func(Of TPayload, BigInteger))) As IStreamable(Of TKey, Double)
類型參數
- TKey
- TPayload
參數
- source
- IStreamable<TKey,TPayload>
- selector
- Expression<Func<TPayload,BigInteger>>
傳回
適用於
Average<TKey,TPayload>(IStreamable<TKey,TPayload>, Expression<Func<TPayload,Nullable<UInt64>>>)
使用「snapshot windows」 (SI 術語) ,透過可為 Null 的 ulong 計算時間敏感性平均匯總。 請注意,累積器在內部是 ulong 資料類型,且 Null 對平均值沒有任何影響。
public static Microsoft.StreamProcessing.IStreamable<TKey,Nullable<double>> Average<TKey,TPayload>(this Microsoft.StreamProcessing.IStreamable<TKey,TPayload> source, System.Linq.Expressions.Expression<Func<TPayload,Nullable<ulong>>> selector);
static member Average : Microsoft.StreamProcessing.IStreamable<'Key, 'Payload> * System.Linq.Expressions.Expression<Func<'Payload, Nullable<uint64>>> -> Microsoft.StreamProcessing.IStreamable<'Key, Nullable<double>>
<Extension()>
Public Function Average(Of TKey, TPayload) (source As IStreamable(Of TKey, TPayload), selector As Expression(Of Func(Of TPayload, Nullable(Of ULong)))) As IStreamable(Of TKey, Nullable(Of Double))
類型參數
- TKey
- TPayload
參數
- source
- IStreamable<TKey,TPayload>
- selector
- Expression<Func<TPayload,Nullable<UInt64>>>
傳回
適用於
Average<TKey,TPayload>(IStreamable<TKey,TPayload>, Expression<Func<TPayload,Nullable<UInt32>>>)
使用「snapshot windows」 (SI 術語) ,透過可為 Null 的 uint 計算時間敏感度平均匯總。 請注意,累積器在內部是 ulong 資料類型,且 Null 對平均值沒有任何影響。
public static Microsoft.StreamProcessing.IStreamable<TKey,Nullable<double>> Average<TKey,TPayload>(this Microsoft.StreamProcessing.IStreamable<TKey,TPayload> source, System.Linq.Expressions.Expression<Func<TPayload,Nullable<uint>>> selector);
static member Average : Microsoft.StreamProcessing.IStreamable<'Key, 'Payload> * System.Linq.Expressions.Expression<Func<'Payload, Nullable<uint32>>> -> Microsoft.StreamProcessing.IStreamable<'Key, Nullable<double>>
<Extension()>
Public Function Average(Of TKey, TPayload) (source As IStreamable(Of TKey, TPayload), selector As Expression(Of Func(Of TPayload, Nullable(Of UInteger)))) As IStreamable(Of TKey, Nullable(Of Double))
類型參數
- TKey
- TPayload
參數
- source
- IStreamable<TKey,TPayload>
- selector
- Expression<Func<TPayload,Nullable<UInt32>>>
傳回
適用於
Average<TKey,TPayload>(IStreamable<TKey,TPayload>, Expression<Func<TPayload,Nullable<UInt16>>>)
使用「snapshot windows」 (SI 術語) ,透過可為 Null 的 ushorts 計算時間敏感平均匯總。 請注意,累積器在內部是 ulong 資料類型,且 Null 對平均值沒有任何影響。
public static Microsoft.StreamProcessing.IStreamable<TKey,Nullable<double>> Average<TKey,TPayload>(this Microsoft.StreamProcessing.IStreamable<TKey,TPayload> source, System.Linq.Expressions.Expression<Func<TPayload,Nullable<ushort>>> selector);
static member Average : Microsoft.StreamProcessing.IStreamable<'Key, 'Payload> * System.Linq.Expressions.Expression<Func<'Payload, Nullable<uint16>>> -> Microsoft.StreamProcessing.IStreamable<'Key, Nullable<double>>
<Extension()>
Public Function Average(Of TKey, TPayload) (source As IStreamable(Of TKey, TPayload), selector As Expression(Of Func(Of TPayload, Nullable(Of UShort)))) As IStreamable(Of TKey, Nullable(Of Double))
類型參數
- TKey
- TPayload
參數
- source
- IStreamable<TKey,TPayload>
- selector
- Expression<Func<TPayload,Nullable<UInt16>>>
傳回
適用於
Average<TKey,TPayload>(IStreamable<TKey,TPayload>, Expression<Func<TPayload,Nullable<Single>>>)
使用「snapshot windows」 (SI 術語) ,透過可為 Null 浮點數計算時間敏感度平均匯總。 請注意,累積器在內部是 float 資料類型,且 Null 對平均值沒有任何影響。
public static Microsoft.StreamProcessing.IStreamable<TKey,Nullable<float>> Average<TKey,TPayload>(this Microsoft.StreamProcessing.IStreamable<TKey,TPayload> source, System.Linq.Expressions.Expression<Func<TPayload,Nullable<float>>> selector);
static member Average : Microsoft.StreamProcessing.IStreamable<'Key, 'Payload> * System.Linq.Expressions.Expression<Func<'Payload, Nullable<single>>> -> Microsoft.StreamProcessing.IStreamable<'Key, Nullable<single>>
<Extension()>
Public Function Average(Of TKey, TPayload) (source As IStreamable(Of TKey, TPayload), selector As Expression(Of Func(Of TPayload, Nullable(Of Single)))) As IStreamable(Of TKey, Nullable(Of Single))
類型參數
- TKey
- TPayload
參數
- source
- IStreamable<TKey,TPayload>
- selector
- Expression<Func<TPayload,Nullable<Single>>>
傳回
適用於
Average<TKey,TPayload>(IStreamable<TKey,TPayload>, Expression<Func<TPayload,Nullable<Complex>>>)
使用「snapshot windows」 (SI 術語) ,透過可為 Null 的複雜值計算時間敏感平均匯總。 請注意,累積器在內部是複雜資料類型,且 Null 對平均值沒有任何影響。
public static Microsoft.StreamProcessing.IStreamable<TKey,Nullable<System.Numerics.Complex>> Average<TKey,TPayload>(this Microsoft.StreamProcessing.IStreamable<TKey,TPayload> source, System.Linq.Expressions.Expression<Func<TPayload,Nullable<System.Numerics.Complex>>> selector);
static member Average : Microsoft.StreamProcessing.IStreamable<'Key, 'Payload> * System.Linq.Expressions.Expression<Func<'Payload, Nullable<System.Numerics.Complex>>> -> Microsoft.StreamProcessing.IStreamable<'Key, Nullable<System.Numerics.Complex>>
<Extension()>
Public Function Average(Of TKey, TPayload) (source As IStreamable(Of TKey, TPayload), selector As Expression(Of Func(Of TPayload, Nullable(Of Complex)))) As IStreamable(Of TKey, Nullable(Of Complex))
類型參數
- TKey
- TPayload
參數
- source
- IStreamable<TKey,TPayload>
- selector
- Expression<Func<TPayload,Nullable<Complex>>>
傳回
適用於
Average<TKey,TPayload>(IStreamable<TKey,TPayload>, Expression<Func<TPayload,Int64>>)
使用「snapshot windows」 (SI 術語) ,計算長時間的時效平均匯總。 請注意,累積器在內部是長資料類型。
public static Microsoft.StreamProcessing.IStreamable<TKey,double> Average<TKey,TPayload>(this Microsoft.StreamProcessing.IStreamable<TKey,TPayload> source, System.Linq.Expressions.Expression<Func<TPayload,long>> selector);
static member Average : Microsoft.StreamProcessing.IStreamable<'Key, 'Payload> * System.Linq.Expressions.Expression<Func<'Payload, int64>> -> Microsoft.StreamProcessing.IStreamable<'Key, double>
<Extension()>
Public Function Average(Of TKey, TPayload) (source As IStreamable(Of TKey, TPayload), selector As Expression(Of Func(Of TPayload, Long))) As IStreamable(Of TKey, Double)
類型參數
- TKey
- TPayload
參數
- source
- IStreamable<TKey,TPayload>
- selector
- Expression<Func<TPayload,Int64>>
傳回
適用於
Average<TKey,TPayload>(IStreamable<TKey,TPayload>, Expression<Func<TPayload,Nullable<Int64>>>)
使用「snapshot windows」 (SI 術語) ,計算可 Null 之長的時間敏感性平均匯總。 請注意,累積器在內部是長資料類型,且 Null 對平均值沒有任何影響。
public static Microsoft.StreamProcessing.IStreamable<TKey,Nullable<double>> Average<TKey,TPayload>(this Microsoft.StreamProcessing.IStreamable<TKey,TPayload> source, System.Linq.Expressions.Expression<Func<TPayload,Nullable<long>>> selector);
static member Average : Microsoft.StreamProcessing.IStreamable<'Key, 'Payload> * System.Linq.Expressions.Expression<Func<'Payload, Nullable<int64>>> -> Microsoft.StreamProcessing.IStreamable<'Key, Nullable<double>>
<Extension()>
Public Function Average(Of TKey, TPayload) (source As IStreamable(Of TKey, TPayload), selector As Expression(Of Func(Of TPayload, Nullable(Of Long)))) As IStreamable(Of TKey, Nullable(Of Double))
類型參數
- TKey
- TPayload
參數
- source
- IStreamable<TKey,TPayload>
- selector
- Expression<Func<TPayload,Nullable<Int64>>>
傳回
適用於
Average<TKey,TPayload>(IStreamable<TKey,TPayload>, Expression<Func<TPayload,Nullable<BigInteger>>>)
使用「snapshot windows」 (SI 術語) ,計算可為 Null BigIntegers 的時間敏感性平均匯總。 請注意,累積器在內部是 BigInteger 資料類型,且 Null 對平均值沒有任何影響。
public static Microsoft.StreamProcessing.IStreamable<TKey,Nullable<double>> Average<TKey,TPayload>(this Microsoft.StreamProcessing.IStreamable<TKey,TPayload> source, System.Linq.Expressions.Expression<Func<TPayload,Nullable<System.Numerics.BigInteger>>> selector);
static member Average : Microsoft.StreamProcessing.IStreamable<'Key, 'Payload> * System.Linq.Expressions.Expression<Func<'Payload, Nullable<System.Numerics.BigInteger>>> -> Microsoft.StreamProcessing.IStreamable<'Key, Nullable<double>>
<Extension()>
Public Function Average(Of TKey, TPayload) (source As IStreamable(Of TKey, TPayload), selector As Expression(Of Func(Of TPayload, Nullable(Of BigInteger)))) As IStreamable(Of TKey, Nullable(Of Double))
類型參數
- TKey
- TPayload
參數
- source
- IStreamable<TKey,TPayload>
- selector
- Expression<Func<TPayload,Nullable<BigInteger>>>
傳回
適用於
Average<TKey,TPayload>(IStreamable<TKey,TPayload>, Expression<Func<TPayload,Decimal>>)
使用「snapshot windows」 (SI 術語) ,計算對小數點的時間敏感度平均匯總。 請注意,累積器在內部是十進位資料類型。
public static Microsoft.StreamProcessing.IStreamable<TKey,decimal> Average<TKey,TPayload>(this Microsoft.StreamProcessing.IStreamable<TKey,TPayload> source, System.Linq.Expressions.Expression<Func<TPayload,decimal>> selector);
static member Average : Microsoft.StreamProcessing.IStreamable<'Key, 'Payload> * System.Linq.Expressions.Expression<Func<'Payload, decimal>> -> Microsoft.StreamProcessing.IStreamable<'Key, decimal>
<Extension()>
Public Function Average(Of TKey, TPayload) (source As IStreamable(Of TKey, TPayload), selector As Expression(Of Func(Of TPayload, Decimal))) As IStreamable(Of TKey, Decimal)
類型參數
- TKey
- TPayload
參數
- source
- IStreamable<TKey,TPayload>
- selector
- Expression<Func<TPayload,Decimal>>
傳回
適用於
Average<TKey,TPayload>(IStreamable<TKey,TPayload>, Expression<Func<TPayload,Double>>)
使用「快照集視窗」 (SI 術語) ,計算雙精度浮點數的時效平均匯總。 請注意,累積器在內部是雙精度浮點數資料類型。
public static Microsoft.StreamProcessing.IStreamable<TKey,double> Average<TKey,TPayload>(this Microsoft.StreamProcessing.IStreamable<TKey,TPayload> source, System.Linq.Expressions.Expression<Func<TPayload,double>> selector);
static member Average : Microsoft.StreamProcessing.IStreamable<'Key, 'Payload> * System.Linq.Expressions.Expression<Func<'Payload, double>> -> Microsoft.StreamProcessing.IStreamable<'Key, double>
<Extension()>
Public Function Average(Of TKey, TPayload) (source As IStreamable(Of TKey, TPayload), selector As Expression(Of Func(Of TPayload, Double))) As IStreamable(Of TKey, Double)
類型參數
- TKey
- TPayload
參數
- source
- IStreamable<TKey,TPayload>
- selector
- Expression<Func<TPayload,Double>>
傳回
適用於
Average<TKey,TPayload>(IStreamable<TKey,TPayload>, Expression<Func<TPayload,Int16>>)
使用「快照集時段」 (SI 術語) ,計算簡短時間的敏感性平均匯總。 請注意,累積器在內部是長資料類型。
public static Microsoft.StreamProcessing.IStreamable<TKey,double> Average<TKey,TPayload>(this Microsoft.StreamProcessing.IStreamable<TKey,TPayload> source, System.Linq.Expressions.Expression<Func<TPayload,short>> selector);
static member Average : Microsoft.StreamProcessing.IStreamable<'Key, 'Payload> * System.Linq.Expressions.Expression<Func<'Payload, int16>> -> Microsoft.StreamProcessing.IStreamable<'Key, double>
<Extension()>
Public Function Average(Of TKey, TPayload) (source As IStreamable(Of TKey, TPayload), selector As Expression(Of Func(Of TPayload, Short))) As IStreamable(Of TKey, Double)
類型參數
- TKey
- TPayload
參數
- source
- IStreamable<TKey,TPayload>
- selector
- Expression<Func<TPayload,Int16>>
傳回
適用於
Average<TKey,TPayload>(IStreamable<TKey,TPayload>, Expression<Func<TPayload,Int32>>)
使用「快照集視窗」 (SI 術語) 計算時間敏感度平均匯總。 請注意,累積器在內部是長資料類型。
public static Microsoft.StreamProcessing.IStreamable<TKey,double> Average<TKey,TPayload>(this Microsoft.StreamProcessing.IStreamable<TKey,TPayload> source, System.Linq.Expressions.Expression<Func<TPayload,int>> selector);
static member Average : Microsoft.StreamProcessing.IStreamable<'Key, 'Payload> * System.Linq.Expressions.Expression<Func<'Payload, int>> -> Microsoft.StreamProcessing.IStreamable<'Key, double>
<Extension()>
Public Function Average(Of TKey, TPayload) (source As IStreamable(Of TKey, TPayload), selector As Expression(Of Func(Of TPayload, Integer))) As IStreamable(Of TKey, Double)
類型參數
- TKey
- TPayload
參數
- source
- IStreamable<TKey,TPayload>
- selector
- Expression<Func<TPayload,Int32>>
傳回
適用於
Average<TKey,TPayload>(IStreamable<TKey,TPayload>, Expression<Func<TPayload,Byte>>)
使用「snapshot windows」 (SI 術語) ,計算位元組的時間敏感平均匯總。 請注意,累積器在內部是 ulong 資料類型。
public static Microsoft.StreamProcessing.IStreamable<TKey,double> Average<TKey,TPayload>(this Microsoft.StreamProcessing.IStreamable<TKey,TPayload> source, System.Linq.Expressions.Expression<Func<TPayload,byte>> selector);
static member Average : Microsoft.StreamProcessing.IStreamable<'Key, 'Payload> * System.Linq.Expressions.Expression<Func<'Payload, byte>> -> Microsoft.StreamProcessing.IStreamable<'Key, double>
<Extension()>
Public Function Average(Of TKey, TPayload) (source As IStreamable(Of TKey, TPayload), selector As Expression(Of Func(Of TPayload, Byte))) As IStreamable(Of TKey, Double)
類型參數
- TKey
- TPayload
參數
- source
- IStreamable<TKey,TPayload>
- selector
- Expression<Func<TPayload,Byte>>
傳回
適用於
Average<TKey,TPayload>(IStreamable<TKey,TPayload>, Expression<Func<TPayload,Nullable<Byte>>>)
使用「snapshot windows」 (SI 術語) ,計算可 Null 位元組的時間敏感性平均匯總。 請注意,累積器在內部是 ulong 資料類型,且 Null 對平均值沒有任何影響。
public static Microsoft.StreamProcessing.IStreamable<TKey,Nullable<double>> Average<TKey,TPayload>(this Microsoft.StreamProcessing.IStreamable<TKey,TPayload> source, System.Linq.Expressions.Expression<Func<TPayload,Nullable<byte>>> selector);
static member Average : Microsoft.StreamProcessing.IStreamable<'Key, 'Payload> * System.Linq.Expressions.Expression<Func<'Payload, Nullable<byte>>> -> Microsoft.StreamProcessing.IStreamable<'Key, Nullable<double>>
<Extension()>
Public Function Average(Of TKey, TPayload) (source As IStreamable(Of TKey, TPayload), selector As Expression(Of Func(Of TPayload, Nullable(Of Byte)))) As IStreamable(Of TKey, Nullable(Of Double))
類型參數
- TKey
- TPayload
參數
- source
- IStreamable<TKey,TPayload>
- selector
- Expression<Func<TPayload,Nullable<Byte>>>
傳回
適用於
Average<TKey,TPayload>(IStreamable<TKey,TPayload>, Expression<Func<TPayload,Nullable<Decimal>>>)
使用「snapshot windows」 (SI 術語) ,透過可為 Null 的十進位數計算時間敏感平均匯總。 請注意,累積器在內部是十進位資料類型,且 Null 對平均值沒有任何影響。
public static Microsoft.StreamProcessing.IStreamable<TKey,Nullable<decimal>> Average<TKey,TPayload>(this Microsoft.StreamProcessing.IStreamable<TKey,TPayload> source, System.Linq.Expressions.Expression<Func<TPayload,Nullable<decimal>>> selector);
static member Average : Microsoft.StreamProcessing.IStreamable<'Key, 'Payload> * System.Linq.Expressions.Expression<Func<'Payload, Nullable<decimal>>> -> Microsoft.StreamProcessing.IStreamable<'Key, Nullable<decimal>>
<Extension()>
Public Function Average(Of TKey, TPayload) (source As IStreamable(Of TKey, TPayload), selector As Expression(Of Func(Of TPayload, Nullable(Of Decimal)))) As IStreamable(Of TKey, Nullable(Of Decimal))
類型參數
- TKey
- TPayload
參數
- source
- IStreamable<TKey,TPayload>
- selector
- Expression<Func<TPayload,Nullable<Decimal>>>
傳回
適用於
Average<TKey,TPayload>(IStreamable<TKey,TPayload>, Expression<Func<TPayload,Nullable<Double>>>)
使用「snapshot windows」 (SI 術語) ,透過可為 Null 的雙精度浮點數計算時間敏感度平均匯總。 請注意,累積器在內部是雙精度浮點數資料類型,而且 Null 對平均值沒有任何影響。
public static Microsoft.StreamProcessing.IStreamable<TKey,Nullable<double>> Average<TKey,TPayload>(this Microsoft.StreamProcessing.IStreamable<TKey,TPayload> source, System.Linq.Expressions.Expression<Func<TPayload,Nullable<double>>> selector);
static member Average : Microsoft.StreamProcessing.IStreamable<'Key, 'Payload> * System.Linq.Expressions.Expression<Func<'Payload, Nullable<double>>> -> Microsoft.StreamProcessing.IStreamable<'Key, Nullable<double>>
<Extension()>
Public Function Average(Of TKey, TPayload) (source As IStreamable(Of TKey, TPayload), selector As Expression(Of Func(Of TPayload, Nullable(Of Double)))) As IStreamable(Of TKey, Nullable(Of Double))
類型參數
- TKey
- TPayload
參數
- source
- IStreamable<TKey,TPayload>
- selector
- Expression<Func<TPayload,Nullable<Double>>>
傳回
適用於
Average<TKey,TPayload>(IStreamable<TKey,TPayload>, Expression<Func<TPayload,Nullable<Int16>>>)
使用「snapshot windows」 (SI 術語) ,透過可為 Null 的簡短資料計算時間敏感平均匯總。 請注意,累積器在內部是長資料類型,且 Null 對平均值沒有任何影響。
public static Microsoft.StreamProcessing.IStreamable<TKey,Nullable<double>> Average<TKey,TPayload>(this Microsoft.StreamProcessing.IStreamable<TKey,TPayload> source, System.Linq.Expressions.Expression<Func<TPayload,Nullable<short>>> selector);
static member Average : Microsoft.StreamProcessing.IStreamable<'Key, 'Payload> * System.Linq.Expressions.Expression<Func<'Payload, Nullable<int16>>> -> Microsoft.StreamProcessing.IStreamable<'Key, Nullable<double>>
<Extension()>
Public Function Average(Of TKey, TPayload) (source As IStreamable(Of TKey, TPayload), selector As Expression(Of Func(Of TPayload, Nullable(Of Short)))) As IStreamable(Of TKey, Nullable(Of Double))
類型參數
- TKey
- TPayload
參數
- source
- IStreamable<TKey,TPayload>
- selector
- Expression<Func<TPayload,Nullable<Int16>>>
傳回
適用於
Average<TKey,TPayload>(IStreamable<TKey,TPayload>, Expression<Func<TPayload,Nullable<Int32>>>)
使用「snapshot windows」 (SI 術語) ,透過可為 Null 的 ints 計算時間敏感平均匯總。 請注意,累積器在內部是長資料類型,且 Null 對平均值沒有任何影響。
public static Microsoft.StreamProcessing.IStreamable<TKey,Nullable<double>> Average<TKey,TPayload>(this Microsoft.StreamProcessing.IStreamable<TKey,TPayload> source, System.Linq.Expressions.Expression<Func<TPayload,Nullable<int>>> selector);
static member Average : Microsoft.StreamProcessing.IStreamable<'Key, 'Payload> * System.Linq.Expressions.Expression<Func<'Payload, Nullable<int>>> -> Microsoft.StreamProcessing.IStreamable<'Key, Nullable<double>>
<Extension()>
Public Function Average(Of TKey, TPayload) (source As IStreamable(Of TKey, TPayload), selector As Expression(Of Func(Of TPayload, Nullable(Of Integer)))) As IStreamable(Of TKey, Nullable(Of Double))
類型參數
- TKey
- TPayload
參數
- source
- IStreamable<TKey,TPayload>
- selector
- Expression<Func<TPayload,Nullable<Int32>>>