Terraria v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches
GroupByQueryOperator.cs
Go to the documentation of this file.
3
5
6internal sealed class GroupByQueryOperator<TSource, TGroupKey, TElement> : UnaryQueryOperator<TSource, IGrouping<TGroupKey, TElement>>
7{
9
11
13
14 internal override bool LimitsParallelism => false;
15
24
36
55
75
77 {
78 QueryResults<TSource> childQueryResults = base.Child.Open(settings, preferStriping: false);
79 return new UnaryQueryOperatorResults(childQueryResults, this, settings, preferStriping: false);
80 }
81
91}
override void WrapPartitionedStream< TKey >(PartitionedStream< TSource, TKey > inputStream, IPartitionedStreamRecipient< IGrouping< TGroupKey, TElement > > recipient, bool preferStriping, QuerySettings settings)
readonly Func< TSource, TElement > _elementSelector
GroupByQueryOperator(IEnumerable< TSource > child, Func< TSource, TGroupKey > keySelector, Func< TSource, TElement > elementSelector, IEqualityComparer< TGroupKey > keyComparer)
readonly Func< TSource, TGroupKey > _keySelector
void WrapPartitionedStreamHelperOrdered< TKey >(PartitionedStream< Pair< TSource, TGroupKey >, TKey > hashStream, IPartitionedStreamRecipient< IGrouping< TGroupKey, TElement > > recipient, CancellationToken cancellationToken)
readonly IEqualityComparer< TGroupKey > _keyComparer
void WrapPartitionedStreamHelper< TIgnoreKey, TKey >(PartitionedStream< Pair< TSource, TGroupKey >, TKey > hashStream, IPartitionedStreamRecipient< IGrouping< TGroupKey, TElement > > recipient, CancellationToken cancellationToken)
override IEnumerable< IGrouping< TGroupKey, TElement > > AsSequentialQuery(CancellationToken token)
override QueryResults< IGrouping< TGroupKey, TElement > > Open(QuerySettings settings, bool preferStriping)