~zorba-coders/zorba/trunk

« back to all changes in this revision

Viewing changes to src/compiler/expression/flwor_expr.h

  • Committer: Zorba Build Bot
  • Author(s): markos_za at yahoo
  • Date: 2013-05-09 19:20:13 UTC
  • mfrom: (10900.1.204 markos-scratch)
  • Revision ID: chillery+buildbot@lambda.nu-20130509192013-zaglz3pb60qbhetd
exact match for flwor exprs Approved: Markos Zaharioudakis

Show diffs side-by-side

added added

removed removed

Lines of Context:
391
391
 
392
392
  - Data Members:
393
393
 
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.
 
394
  theGroupVars:
 
395
  -------------
 
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.
 
400
 
 
401
  theNonGroupVars:
 
402
  ----------------
 
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.
 
409
 
 
410
  theCollations:
 
411
  --------------
 
412
  The collations to use when comparing values for grouping.
407
413
********************************************************************************/
408
414
class groupby_clause : public flwor_clause
409
415
{