Class SqlGroupBy

    • Constructor Detail

      • SqlGroupBy

        public SqlGroupBy​(List<SqlNode> groupByList,
                          boolean singleGroupAggregation)
        Create a new instance of SqlGroupBy.
        Parameters:
        groupByList - list of expressions
        singleGroupAggregation - true if the aggregation is a single group
      • SqlGroupBy

        public SqlGroupBy​(List<SqlNode> groupByList)
        Create a new instance of SqlGroupBy.
        Parameters:
        groupByList - list of expressions
    • Method Detail

      • isSingleGroupAggregation

        public boolean isSingleGroupAggregation()
        Check if this group by is a single group aggregation.
        Returns:
        true if this group by is a single group aggregation