394
theGroupVars : For each grouping var X, theGroupVars contains a pair of
395
exprs: the 1st element of the pair is a reference to X in
396
the groupby's input tuple stream, and the 2nd element is
397
a var_expr representing the variable gX that the groupby
398
produces for X in its output tuple stream.
399
theNonGroupVars : For each non-grouping var Y, theGroupVars contains a pair of
400
exprs: the 1st element of the pair is a reference to Y in
401
the groupby's input tuple stream, and the 2nd element is
402
a var_expr representing the variable gY that the groupby
403
produces for Y in its output tuple stream. For each tuple
404
T produced by the groupby, gY is the concatenation of all
405
the Y values in the input tuples that were grouped into T.
406
theCollations : The collations to use when comparing values for grouping.
396
For each grouping var X, theGroupVars contains a pair of exprs: the 1st
397
element of the pair is the expr that computes the grouping keys for X;
398
the 2nd element is a var_expr representing the variable gX that the groupby
399
produces for X in its output tuple stream.
403
For each non-grouping var Y, theNonGroupVars contains a pair of exprs: the
404
1st element of the pair is a reference to Y in the groupby's input tuple
405
stream, and the 2nd element is a var_expr representing the variable gY that
406
the groupby produces for Y in its output tuple stream. For each tuple T
407
produced by the groupby, gY is the concatenation of all the Y values in the
408
input tuples that were grouped into T.
412
The collations to use when comparing values for grouping.
407
413
********************************************************************************/
408
414
class groupby_clause : public flwor_clause