Collection<Var> outputs(boolean pack){
  if (pack) {
    Set<Var> groupby_outputs=Sets.newHashSet(outputs);
    groupby_outputs.removeAll(aggregate);
    groupby_outputs.addAll(groupby);
    return groupby_outputs;
  }
 else {
    return groupby;
  }
}

Collection < Var > outputs ( boolean pack ) { if ( pack ) { Set < Var > groupby_outputs = Sets . newHashSet ( outputs ) ; groupby_outputs . removeAll ( aggregate ) ; groupby_outputs . addAll ( groupby ) ; return groupby_outputs ; } else { return groupby ; } }
variables that will be output by this query
