Class GroupedWindowNames
How a grouped window (GroupBy(...).WithWindow(...)) names what it sorts and partitions by,
and what a provider has to make of those names. Shared by every provider: the names are written
by and its tree twin, in three shapes:
"Agg_Sum_Salary" - the aggregate Sum over Salary;
"Agg_Count_..." - Count(*), whatever follows: Agg.Count(g) has no field to name;
a member name - a part of a composite key, or "Key" for a key of a single field.
IRedbGrouping spells the average "Avg", the Agg class spells it "Average"; both arrive here.
public static class GroupedWindowNames
Inheritance
Methods
HiddenAggregates(IEnumerable<string?>, IReadOnlyList<AggregateRequest>)
Aggregates the window refers to that the selector does not compute. Each comes back as a
public static List<AggregateRequest> HiddenAggregates(IEnumerable<string?> windowFieldPaths, IReadOnlyList<AggregateRequest> aggregations)
ResolveColumn(string?, IReadOnlyList<AggregateRequest>, IReadOnlyList<GroupFieldRequest>)
for a provider that refuses what matches nothing instead of
public static string ResolveColumn(string? fieldPath, IReadOnlyList<AggregateRequest> aggregations, IReadOnlyList<GroupFieldRequest> groupFields)
TryResolveColumn(string?, IReadOnlyList<AggregateRequest>, IReadOnlyList<GroupFieldRequest>)
The column of the grouped result a window name refers to: the alias of the matching
public static string? TryResolveColumn(string? fieldPath, IReadOnlyList<AggregateRequest> aggregations, IReadOnlyList<GroupFieldRequest> groupFields)