Terraria v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches
JoinQueryOperator.cs
Go to the documentation of this file.
3
5
6internal sealed class JoinQueryOperator<TLeftInput, TRightInput, TKey, TOutput> : BinaryQueryOperator<TLeftInput, TRightInput, TOutput>
7{
9
11
13
15
16 internal override bool LimitsParallelism => false;
17
28
48
63
75
76 internal override QueryResults<TOutput> Open(QuerySettings settings, bool preferStriping)
77 {
78 QueryResults<TLeftInput> leftChildQueryResults = base.LeftChild.Open(settings, preferStriping: false);
79 QueryResults<TRightInput> rightChildQueryResults = base.RightChild.Open(settings, preferStriping: false);
81 }
82
84 {
85 IEnumerable<TLeftInput> outer = CancellableEnumerable.Wrap(base.LeftChild.AsSequentialQuery(token), token);
86 IEnumerable<TRightInput> inner = CancellableEnumerable.Wrap(base.RightChild.AsSequentialQuery(token), token);
88 }
89}
void SetOrdinalIndex(OrdinalIndexState indexState)
override IEnumerable< TOutput > AsSequentialQuery(CancellationToken token)
void WrapPartitionedStreamHelper< TLeftKey, TRightKey >(PartitionedStream< Pair< TLeftInput, TKey >, TLeftKey > leftHashStream, PartitionedStream< TRightInput, TRightKey > rightPartitionedStream, IPartitionedStreamRecipient< TOutput > outputRecipient, CancellationToken cancellationToken)
override QueryResults< TOutput > Open(QuerySettings settings, bool preferStriping)
readonly Func< TLeftInput, TRightInput, TOutput > _resultSelector
readonly IEqualityComparer< TKey > _keyComparer
void WrapPartitionedStreamHelper< TLeftKey, TRightKey, TOutputKey >(PartitionedStream< Pair< TLeftInput, TKey >, TLeftKey > leftHashStream, PartitionedStream< Pair< TRightInput, TKey >, TRightKey > rightHashStream, HashJoinOutputKeyBuilder< TLeftKey, TRightKey, TOutputKey > outputKeyBuilder, IComparer< TOutputKey > outputKeyComparer, IPartitionedStreamRecipient< TOutput > outputRecipient, CancellationToken cancellationToken)
override void WrapPartitionedStream< TLeftKey, TRightKey >(PartitionedStream< TLeftInput, TLeftKey > leftStream, PartitionedStream< TRightInput, TRightKey > rightStream, IPartitionedStreamRecipient< TOutput > outputRecipient, bool preferStriping, QuerySettings settings)
readonly Func< TLeftInput, TKey > _leftKeySelector
readonly Func< TRightInput, TKey > _rightKeySelector
JoinQueryOperator(ParallelQuery< TLeftInput > left, ParallelQuery< TRightInput > right, Func< TLeftInput, TKey > leftKeySelector, Func< TRightInput, TKey > rightKeySelector, Func< TLeftInput, TRightInput, TOutput > resultSelector, IEqualityComparer< TKey > keyComparer)