Class Grouping

java.lang.Object
org.apache.druid.sql.calcite.rel.Grouping

public class Grouping extends Object
Represents Druid's concept of a "group by": dimensions, aggregations, post-aggregations, and 'having' filters. This is always something that can be handled by a groupBy query, and in some cases, it may be handleable by a timeseries or topN query type as well. This corresponds to a Calcite Aggregate + optional Filter + optional Project. It does not include sorting, limiting, or post-sorting projections: for this, see the Sorting class.