Class GroupingSets


  • public class GroupingSets
    extends Object
    A Container of grouping sets that you pass to DataFrame.groupByGroupingSets
    Since:
    1.1.0
    • Method Detail

      • create

        @SafeVarargs
        public static GroupingSets create​(Set<Column>... sets)
        Creates a GroupingSets object from a list of column/expression sets.
        Parameters:
        sets - a list of arguments
        Returns:
        A new GroupingSets Object
        Since:
        1.1.0