ParallelEnumerable.GroupJoin Yöntem

Tanım

Anahtarların eşitliğine göre iki dizinin öğeleriyle paralel olarak bağıntı oluşturur ve sonuçları gruplar.

Aşırı Yüklemeler

GroupJoin<TOuter,TInner,TKey,TResult>(ParallelQuery<TOuter>, IEnumerable<TInner>, Func<TOuter,TKey>, Func<TInner,TKey>, Func<TOuter,IEnumerable<TInner>, TResult>)
Geçersiz.

Bu GroupJoin aşırı yüklemesi hiçbir zaman çağrılmamalıdır. Bu yöntem eski olarak işaretlenir ve çağrıldığında her zaman oluşturur NotSupportedException .

GroupJoin<TOuter,TInner,TKey,TResult>(ParallelQuery<TOuter>, ParallelQuery<TInner>, Func<TOuter,TKey>, Func<TInner,TKey>, Func<TOuter,IEnumerable<TInner>, TResult>)

Anahtarların eşitliğine göre iki dizinin öğeleriyle paralel olarak bağıntı oluşturur ve sonuçları gruplar. Varsayılan eşitlik karşılaştırıcısı anahtarları karşılaştırmak için kullanılır.

GroupJoin<TOuter,TInner,TKey,TResult>(ParallelQuery<TOuter>, IEnumerable<TInner>, Func<TOuter,TKey>, Func<TInner,TKey>, Func<TOuter,IEnumerable<TInner>, TResult>, IEqualityComparer<TKey>)
Geçersiz.

Bu GroupJoin aşırı yüklemesi hiçbir zaman çağrılmamalıdır. Bu yöntem eski olarak işaretlenir ve çağrıldığında her zaman oluşturur NotSupportedException .

GroupJoin<TOuter,TInner,TKey,TResult>(ParallelQuery<TOuter>, ParallelQuery<TInner>, Func<TOuter,TKey>, Func<TInner,TKey>, Func<TOuter,IEnumerable<TInner>, TResult>, IEqualityComparer<TKey>)

Anahtar eşitliğine göre iki dizinin öğelerini paralel olarak ilişkilendirir ve sonuçları gruplandırir. Anahtarları karşılaştırmak için belirtilen IEqualityComparer<T> bir kullanılır.

GroupJoin<TOuter,TInner,TKey,TResult>(ParallelQuery<TOuter>, IEnumerable<TInner>, Func<TOuter,TKey>, Func<TInner,TKey>, Func<TOuter,IEnumerable<TInner>, TResult>)

Kaynak:
ParallelEnumerable.cs
Kaynak:
ParallelEnumerable.cs
Kaynak:
ParallelEnumerable.cs

Dikkat

The second data source of a binary operator must be of type System.Linq.ParallelQuery<T> rather than System.Collections.Generic.IEnumerable<T>. To fix this problem, use the AsParallel() extension method to convert the right data source to System.Linq.ParallelQuery<T>.

Bu GroupJoin aşırı yüklemesi hiçbir zaman çağrılmamalıdır. Bu yöntem eski olarak işaretlenir ve çağrıldığında her zaman oluşturur NotSupportedException .

public:
generic <typename TOuter, typename TInner, typename TKey, typename TResult>
[System::Runtime::CompilerServices::Extension]
 static System::Linq::ParallelQuery<TResult> ^ GroupJoin(System::Linq::ParallelQuery<TOuter> ^ outer, System::Collections::Generic::IEnumerable<TInner> ^ inner, Func<TOuter, TKey> ^ outerKeySelector, Func<TInner, TKey> ^ innerKeySelector, Func<TOuter, System::Collections::Generic::IEnumerable<TInner> ^, TResult> ^ resultSelector);
[System.Obsolete("The second data source of a binary operator must be of type System.Linq.ParallelQuery<T> rather than System.Collections.Generic.IEnumerable<T>. To fix this problem, use the AsParallel() extension method to convert the right data source to System.Linq.ParallelQuery<T>.")]
public static System.Linq.ParallelQuery<TResult> GroupJoin<TOuter,TInner,TKey,TResult> (this System.Linq.ParallelQuery<TOuter> outer, System.Collections.Generic.IEnumerable<TInner> inner, Func<TOuter,TKey> outerKeySelector, Func<TInner,TKey> innerKeySelector, Func<TOuter,System.Collections.Generic.IEnumerable<TInner>,TResult> resultSelector);
[<System.Obsolete("The second data source of a binary operator must be of type System.Linq.ParallelQuery<T> rather than System.Collections.Generic.IEnumerable<T>. To fix this problem, use the AsParallel() extension method to convert the right data source to System.Linq.ParallelQuery<T>.")>]
static member GroupJoin : System.Linq.ParallelQuery<'Outer> * seq<'Inner> * Func<'Outer, 'Key> * Func<'Inner, 'Key> * Func<'Outer, seq<'Inner>, 'Result> -> System.Linq.ParallelQuery<'Result>
<Extension()>
Public Function GroupJoin(Of TOuter, TInner, TKey, TResult) (outer As ParallelQuery(Of TOuter), inner As IEnumerable(Of TInner), outerKeySelector As Func(Of TOuter, TKey), innerKeySelector As Func(Of TInner, TKey), resultSelector As Func(Of TOuter, IEnumerable(Of TInner), TResult)) As ParallelQuery(Of TResult)

Tür Parametreleri

TOuter

Bu tür parametresi kullanılmaz.

TInner

Bu tür parametresi kullanılmaz.

TKey

Bu tür parametresi kullanılmaz.

TResult

Bu tür parametresi kullanılmaz.

Parametreler

outer
ParallelQuery<TOuter>

Bu parametre kullanılmaz.

inner
IEnumerable<TInner>

Bu parametre kullanılmaz.

outerKeySelector
Func<TOuter,TKey>

Bu parametre kullanılmaz.

innerKeySelector
Func<TInner,TKey>

Bu parametre kullanılmaz.

resultSelector
Func<TOuter,IEnumerable<TInner>,TResult>

Bu parametre kullanılmaz.

Döndürülenler

ParallelQuery<TResult>

Bu aşırı yükleme her zaman bir NotSupportedExceptionoluşturur.

Öznitelikler

Özel durumlar

Bu yöntem çağrıldığında oluşan özel durum.

Açıklamalar

Bu aşırı yükleme, GroupJoin'in türü sol veri kaynağı ve türü ParallelQuery<TSource> sağ veri kaynağı ile kullanımını reddetmek IEnumerable<T>için vardır. Aksi takdirde, GroupJoin işleci paralel uygulamaya bağlama gibi görünür, ancak gerçekte sıralı uygulamaya bağlanır.

Ayrıca bkz.

Şunlara uygulanır

GroupJoin<TOuter,TInner,TKey,TResult>(ParallelQuery<TOuter>, ParallelQuery<TInner>, Func<TOuter,TKey>, Func<TInner,TKey>, Func<TOuter,IEnumerable<TInner>, TResult>)

Kaynak:
ParallelEnumerable.cs
Kaynak:
ParallelEnumerable.cs
Kaynak:
ParallelEnumerable.cs

Anahtarların eşitliğine göre iki dizinin öğeleriyle paralel olarak bağıntı oluşturur ve sonuçları gruplar. Varsayılan eşitlik karşılaştırıcısı anahtarları karşılaştırmak için kullanılır.

public:
generic <typename TOuter, typename TInner, typename TKey, typename TResult>
[System::Runtime::CompilerServices::Extension]
 static System::Linq::ParallelQuery<TResult> ^ GroupJoin(System::Linq::ParallelQuery<TOuter> ^ outer, System::Linq::ParallelQuery<TInner> ^ inner, Func<TOuter, TKey> ^ outerKeySelector, Func<TInner, TKey> ^ innerKeySelector, Func<TOuter, System::Collections::Generic::IEnumerable<TInner> ^, TResult> ^ resultSelector);
public static System.Linq.ParallelQuery<TResult> GroupJoin<TOuter,TInner,TKey,TResult> (this System.Linq.ParallelQuery<TOuter> outer, System.Linq.ParallelQuery<TInner> inner, Func<TOuter,TKey> outerKeySelector, Func<TInner,TKey> innerKeySelector, Func<TOuter,System.Collections.Generic.IEnumerable<TInner>,TResult> resultSelector);
static member GroupJoin : System.Linq.ParallelQuery<'Outer> * System.Linq.ParallelQuery<'Inner> * Func<'Outer, 'Key> * Func<'Inner, 'Key> * Func<'Outer, seq<'Inner>, 'Result> -> System.Linq.ParallelQuery<'Result>
<Extension()>
Public Function GroupJoin(Of TOuter, TInner, TKey, TResult) (outer As ParallelQuery(Of TOuter), inner As ParallelQuery(Of TInner), outerKeySelector As Func(Of TOuter, TKey), innerKeySelector As Func(Of TInner, TKey), resultSelector As Func(Of TOuter, IEnumerable(Of TInner), TResult)) As ParallelQuery(Of TResult)

Tür Parametreleri

TOuter

İlk dizinin öğelerinin türü.

TInner

İkinci dizinin öğelerinin türü.

TKey

Anahtar seçici işlevleri tarafından döndürülen anahtarların türü.

TResult

Sonuç öğelerinin türü.

Parametreler

outer
ParallelQuery<TOuter>

Birleştirecek ilk dizi.

inner
ParallelQuery<TInner>

İlk diziye katılma sırası.

outerKeySelector
Func<TOuter,TKey>

İlk dizinin her öğesinden birleştirme anahtarını ayıklamak için bir işlev.

innerKeySelector
Func<TInner,TKey>

İkinci dizinin her öğesinden birleştirme anahtarını ayıklamak için bir işlev.

resultSelector
Func<TOuter,IEnumerable<TInner>,TResult>

birinci dizideki bir öğeden bir sonuç öğesi ve ikinci diziden eşleşen öğeler koleksiyonu oluşturmak için bir işlev.

Döndürülenler

ParallelQuery<TResult>

İki dizide gruplandırılmış birleştirme gerçekleştirilerek elde edilen türde TResult öğeleri olan bir dizi.

Özel durumlar

sourceveya actionouter veya veya inner ya outerKeySelector da ya da resultSelectorinnerKeySelector (Nothingnull Visual Basic'te).

Sorgunun değerlendirmesi sırasında bir veya daha fazla özel durum oluştu.

Ayrıca bkz.

Şunlara uygulanır

GroupJoin<TOuter,TInner,TKey,TResult>(ParallelQuery<TOuter>, IEnumerable<TInner>, Func<TOuter,TKey>, Func<TInner,TKey>, Func<TOuter,IEnumerable<TInner>, TResult>, IEqualityComparer<TKey>)

Kaynak:
ParallelEnumerable.cs
Kaynak:
ParallelEnumerable.cs
Kaynak:
ParallelEnumerable.cs

Dikkat

The second data source of a binary operator must be of type System.Linq.ParallelQuery<T> rather than System.Collections.Generic.IEnumerable<T>. To fix this problem, use the AsParallel() extension method to convert the right data source to System.Linq.ParallelQuery<T>.

Bu GroupJoin aşırı yüklemesi hiçbir zaman çağrılmamalıdır. Bu yöntem eski olarak işaretlenir ve çağrıldığında her zaman oluşturur NotSupportedException .

public:
generic <typename TOuter, typename TInner, typename TKey, typename TResult>
[System::Runtime::CompilerServices::Extension]
 static System::Linq::ParallelQuery<TResult> ^ GroupJoin(System::Linq::ParallelQuery<TOuter> ^ outer, System::Collections::Generic::IEnumerable<TInner> ^ inner, Func<TOuter, TKey> ^ outerKeySelector, Func<TInner, TKey> ^ innerKeySelector, Func<TOuter, System::Collections::Generic::IEnumerable<TInner> ^, TResult> ^ resultSelector, System::Collections::Generic::IEqualityComparer<TKey> ^ comparer);
[System.Obsolete("The second data source of a binary operator must be of type System.Linq.ParallelQuery<T> rather than System.Collections.Generic.IEnumerable<T>. To fix this problem, use the AsParallel() extension method to convert the right data source to System.Linq.ParallelQuery<T>.")]
public static System.Linq.ParallelQuery<TResult> GroupJoin<TOuter,TInner,TKey,TResult> (this System.Linq.ParallelQuery<TOuter> outer, System.Collections.Generic.IEnumerable<TInner> inner, Func<TOuter,TKey> outerKeySelector, Func<TInner,TKey> innerKeySelector, Func<TOuter,System.Collections.Generic.IEnumerable<TInner>,TResult> resultSelector, System.Collections.Generic.IEqualityComparer<TKey> comparer);
[System.Obsolete("The second data source of a binary operator must be of type System.Linq.ParallelQuery<T> rather than System.Collections.Generic.IEnumerable<T>. To fix this problem, use the AsParallel() extension method to convert the right data source to System.Linq.ParallelQuery<T>.")]
public static System.Linq.ParallelQuery<TResult> GroupJoin<TOuter,TInner,TKey,TResult> (this System.Linq.ParallelQuery<TOuter> outer, System.Collections.Generic.IEnumerable<TInner> inner, Func<TOuter,TKey> outerKeySelector, Func<TInner,TKey> innerKeySelector, Func<TOuter,System.Collections.Generic.IEnumerable<TInner>,TResult> resultSelector, System.Collections.Generic.IEqualityComparer<TKey>? comparer);
[<System.Obsolete("The second data source of a binary operator must be of type System.Linq.ParallelQuery<T> rather than System.Collections.Generic.IEnumerable<T>. To fix this problem, use the AsParallel() extension method to convert the right data source to System.Linq.ParallelQuery<T>.")>]
static member GroupJoin : System.Linq.ParallelQuery<'Outer> * seq<'Inner> * Func<'Outer, 'Key> * Func<'Inner, 'Key> * Func<'Outer, seq<'Inner>, 'Result> * System.Collections.Generic.IEqualityComparer<'Key> -> System.Linq.ParallelQuery<'Result>
<Extension()>
Public Function GroupJoin(Of TOuter, TInner, TKey, TResult) (outer As ParallelQuery(Of TOuter), inner As IEnumerable(Of TInner), outerKeySelector As Func(Of TOuter, TKey), innerKeySelector As Func(Of TInner, TKey), resultSelector As Func(Of TOuter, IEnumerable(Of TInner), TResult), comparer As IEqualityComparer(Of TKey)) As ParallelQuery(Of TResult)

Tür Parametreleri

TOuter

Bu tür parametresi kullanılmaz.

TInner

Bu tür parametresi kullanılmaz.

TKey

Bu tür parametresi kullanılmaz.

TResult

Bu tür parametresi kullanılmaz.

Parametreler

outer
ParallelQuery<TOuter>

Bu parametre kullanılmaz.

inner
IEnumerable<TInner>

Bu parametre kullanılmaz.

outerKeySelector
Func<TOuter,TKey>

Bu parametre kullanılmaz.

innerKeySelector
Func<TInner,TKey>

Bu parametre kullanılmaz.

resultSelector
Func<TOuter,IEnumerable<TInner>,TResult>

Bu parametre kullanılmaz.

comparer
IEqualityComparer<TKey>

Bu parametre kullanılmaz.

Döndürülenler

ParallelQuery<TResult>

Bu aşırı yükleme her zaman bir NotSupportedExceptionoluşturur.

Öznitelikler

Özel durumlar

Bu yöntem çağrıldığında oluşan özel durum.

Açıklamalar

Bu aşırı yükleme, GroupJoin'in türü sol veri kaynağı ve türü ParallelQuery<TSource> sağ veri kaynağı ile kullanımını reddetmek IEnumerable<T>için vardır. Aksi takdirde, GroupJoin işleci paralel uygulamaya bağlama gibi görünür, ancak gerçekte sıralı uygulamaya bağlanır.

Ayrıca bkz.

Şunlara uygulanır

GroupJoin<TOuter,TInner,TKey,TResult>(ParallelQuery<TOuter>, ParallelQuery<TInner>, Func<TOuter,TKey>, Func<TInner,TKey>, Func<TOuter,IEnumerable<TInner>, TResult>, IEqualityComparer<TKey>)

Kaynak:
ParallelEnumerable.cs
Kaynak:
ParallelEnumerable.cs
Kaynak:
ParallelEnumerable.cs

Anahtar eşitliğine göre iki dizinin öğelerini paralel olarak ilişkilendirir ve sonuçları gruplandırir. Anahtarları karşılaştırmak için belirtilen IEqualityComparer<T> bir kullanılır.

public:
generic <typename TOuter, typename TInner, typename TKey, typename TResult>
[System::Runtime::CompilerServices::Extension]
 static System::Linq::ParallelQuery<TResult> ^ GroupJoin(System::Linq::ParallelQuery<TOuter> ^ outer, System::Linq::ParallelQuery<TInner> ^ inner, Func<TOuter, TKey> ^ outerKeySelector, Func<TInner, TKey> ^ innerKeySelector, Func<TOuter, System::Collections::Generic::IEnumerable<TInner> ^, TResult> ^ resultSelector, System::Collections::Generic::IEqualityComparer<TKey> ^ comparer);
public static System.Linq.ParallelQuery<TResult> GroupJoin<TOuter,TInner,TKey,TResult> (this System.Linq.ParallelQuery<TOuter> outer, System.Linq.ParallelQuery<TInner> inner, Func<TOuter,TKey> outerKeySelector, Func<TInner,TKey> innerKeySelector, Func<TOuter,System.Collections.Generic.IEnumerable<TInner>,TResult> resultSelector, System.Collections.Generic.IEqualityComparer<TKey> comparer);
public static System.Linq.ParallelQuery<TResult> GroupJoin<TOuter,TInner,TKey,TResult> (this System.Linq.ParallelQuery<TOuter> outer, System.Linq.ParallelQuery<TInner> inner, Func<TOuter,TKey> outerKeySelector, Func<TInner,TKey> innerKeySelector, Func<TOuter,System.Collections.Generic.IEnumerable<TInner>,TResult> resultSelector, System.Collections.Generic.IEqualityComparer<TKey>? comparer);
static member GroupJoin : System.Linq.ParallelQuery<'Outer> * System.Linq.ParallelQuery<'Inner> * Func<'Outer, 'Key> * Func<'Inner, 'Key> * Func<'Outer, seq<'Inner>, 'Result> * System.Collections.Generic.IEqualityComparer<'Key> -> System.Linq.ParallelQuery<'Result>
<Extension()>
Public Function GroupJoin(Of TOuter, TInner, TKey, TResult) (outer As ParallelQuery(Of TOuter), inner As ParallelQuery(Of TInner), outerKeySelector As Func(Of TOuter, TKey), innerKeySelector As Func(Of TInner, TKey), resultSelector As Func(Of TOuter, IEnumerable(Of TInner), TResult), comparer As IEqualityComparer(Of TKey)) As ParallelQuery(Of TResult)

Tür Parametreleri

TOuter

İlk dizinin öğelerinin türü.

TInner

İkinci dizinin öğelerinin türü.

TKey

Anahtar seçici işlevleri tarafından döndürülen anahtarların türü.

TResult

Sonuç öğelerinin türü.

Parametreler

outer
ParallelQuery<TOuter>

Birleştirecek ilk dizi.

inner
ParallelQuery<TInner>

İlk diziye katılma sırası.

outerKeySelector
Func<TOuter,TKey>

İlk dizinin her öğesinden birleştirme anahtarını ayıklamak için bir işlev.

innerKeySelector
Func<TInner,TKey>

İkinci dizinin her öğesinden birleştirme anahtarını ayıklamak için bir işlev.

resultSelector
Func<TOuter,IEnumerable<TInner>,TResult>

birinci dizideki bir öğeden bir sonuç öğesi ve ikinci diziden eşleşen öğeler koleksiyonu oluşturmak için bir işlev.

comparer
IEqualityComparer<TKey>

Karma anahtarlar ve karşılaştırma için bir IEqualityComparer<T> .

Döndürülenler

ParallelQuery<TResult>

İki dizide gruplandırılmış birleştirme gerçekleştirilerek elde edilen türde TResult öğeleri olan bir dizi.

Özel durumlar

sourceveya actionouter veya veya inner ya outerKeySelector da ya da resultSelectorinnerKeySelector (Nothingnull Visual Basic'te).

Sorgunun değerlendirmesi sırasında bir veya daha fazla özel durum oluştu.

Ayrıca bkz.

Şunlara uygulanır