Streamable.Unpivot<TKey,TInput,TPivotKey,TValue,TResult> Yöntem
Tanım
Önemli
Bazı bilgiler ürünün ön sürümüyle ilgilidir ve sürüm öncesinde önemli değişiklikler yapılmış olabilir. Burada verilen bilgilerle ilgili olarak Microsoft açık veya zımni hiçbir garanti vermez.
Bir yük nesneleri akışını, giriş yüklerindeki verilere karşılık gelen anahtar-öznitelik-değer üçlü akışına döndürür.
public static Microsoft.StreamProcessing.IStreamable<TKey,TResult> Unpivot<TKey,TInput,TPivotKey,TValue,TResult>(this Microsoft.StreamProcessing.IStreamable<TKey,TInput> inputStreamable, System.Linq.Expressions.Expression<Func<TResult>> initializer, System.Linq.Expressions.Expression<Func<TInput,TPivotKey>> keySelector, System.Linq.Expressions.Expression<Func<TResult,string>> attributeSelector, System.Linq.Expressions.Expression<Func<TResult,TValue>> valueSelector) where TResult : new();
static member Unpivot : Microsoft.StreamProcessing.IStreamable<'Key, 'Input> * System.Linq.Expressions.Expression<Func<'Result>> * System.Linq.Expressions.Expression<Func<'Input, 'PivotKey>> * System.Linq.Expressions.Expression<Func<'Result, string>> * System.Linq.Expressions.Expression<Func<'Result, 'Value>> -> Microsoft.StreamProcessing.IStreamable<'Key, 'Result (requires 'Result : (new : unit -> 'Result))> (requires 'Result : (new : unit -> 'Result))
<Extension()>
Public Function Unpivot(Of TKey, TInput, TPivotKey, TValue, TResult) (inputStreamable As IStreamable(Of TKey, TInput), initializer As Expression(Of Func(Of TResult)), keySelector As Expression(Of Func(Of TInput, TPivotKey)), attributeSelector As Expression(Of Func(Of TResult, String)), valueSelector As Expression(Of Func(Of TResult, TValue))) As IStreamable(Of TKey, TResult)
Tür Parametreleri
- TKey
Akışı yapılabilir girişin gruplandırma anahtarının türü.
- TInput
Akışı yapılabilir giriş yükünün türü.
- TPivotKey
Özet anahtarının türü.
- TValue
Özet işleminin değer bileşeninin türü.
- TResult
Sonuç türü.
Parametreler
- inputStreamable
- IStreamable<TKey,TInput>
Kaynak özete dönüştürülebilir.
- initializer
- Expression<Func<TResult>>
Çıkış değerlerinin nasıl oluşturulacağını açıklayan bir oluşturucu.
- keySelector
- Expression<Func<TInput,TPivotKey>>
Özet tuşunu döndüren bir seçici işlevi.
- attributeSelector
- Expression<Func<TResult,String>>
Dönüş türündeki hangi alanın istenen özetlenmemiş öznitelikleri tuttuğunu belirten seçici işlevi.
- valueSelector
- Expression<Func<TResult,TValue>>
Dönüş türündeki hangi alanın istenen özetlenmemiş değerleri tuttuğunu belirten seçici işlevi.
Döndürülenler
Özgün veri akışına karşılık gelen anahtar-öznitelik-değeri üçlü akışı.