44 internal OrderedHashRepartitionEnumerator(
QueryOperatorEnumerator<TInputOutput, TOrderKey> source,
int partitionCount,
int partitionIndex, Func<TInputOutput, THashKey>
keySelector,
OrderedHashRepartitionStream<TInputOutput, THashKey, TOrderKey> repartitionStream,
CountdownEvent barrier,
ListChunk<
Pair<TInputOutput, THashKey>>[][] valueExchangeMatrix,
ListChunk<TOrderKey>[][] keyExchangeMatrix,
CancellationToken cancellationToken)
61 TInputOutput currentElement2 =
default(TInputOutput);
88 mutables._currentIndex = -1;
96 mutables._currentBufferIndex = -1;
99 mutables._currentIndex = -1;
118 TInputOutput currentElement =
default(TInputOutput);
119 TOrderKey currentKey =
default(TOrderKey);
123 if ((num++ & 0x3F) == 0)
127 THashKey val =
default(THashKey);
140 if (listChunk ==
null)
146 listChunk2.
Add(currentKey);
157 mutables._currentIndex = -1;
160 protected override void Dispose(
bool disposing)
ListChunk< TInputOutput > Next
ListChunk< Pair< TInputOutput, THashKey > > _currentBuffer
ListChunk< TOrderKey > _currentKeyBuffer
readonly QueryOperatorEnumerator< TInputOutput, TOrderKey > _source
void EnumerateAndRedistributeElements()
readonly ListChunk< Pair< TInputOutput, THashKey > >[][] _valueExchangeMatrix
override void Dispose(bool disposing)
readonly int _partitionIndex
readonly ListChunk< TOrderKey >[][] _keyExchangeMatrix
readonly int _partitionCount
OrderedHashRepartitionEnumerator(QueryOperatorEnumerator< TInputOutput, TOrderKey > source, int partitionCount, int partitionIndex, Func< TInputOutput, THashKey > keySelector, OrderedHashRepartitionStream< TInputOutput, THashKey, TOrderKey > repartitionStream, CountdownEvent barrier, ListChunk< Pair< TInputOutput, THashKey > >[][] valueExchangeMatrix, ListChunk< TOrderKey >[][] keyExchangeMatrix, CancellationToken cancellationToken)
readonly HashRepartitionStream< TInputOutput, THashKey, TOrderKey > _repartitionStream
readonly CancellationToken _cancellationToken
override bool MoveNext(ref Pair< TInputOutput, THashKey > currentElement, [AllowNull] ref TOrderKey currentKey)
readonly Func< TInputOutput, THashKey > _keySelector
bool MoveNext([MaybeNullWhen(false)][AllowNull] ref TElement currentElement, [AllowNull] ref TKey currentKey)
void ThrowIfCancellationRequested()