## Uses of Class
com.snowflake.snowpark_java.GroupingSets

- Packages that use GroupingSets
  Package | Description
  --- | ---
  com.snowflake.snowpark_java | Provides most of the classes for the Snowpark Java API.

- - ### Uses of GroupingSets in com.snowflake.snowpark_java

    Methods in com.snowflake.snowpark_java that return GroupingSets
    Modifier and Type | Method | Description
    --- | --- | ---
    `static GroupingSets` | GroupingSets.`create​(java.util.Set<Column>... sets)` | Creates a GroupingSets object from a list of column/expression sets.

    Methods in com.snowflake.snowpark_java with parameters of type GroupingSets
    Modifier and Type | Method | Description
    --- | --- | ---
    `RelationalGroupedDataFrame` | DataFrame.`groupByGroupingSets​(GroupingSets... sets)` | Performs an SQL GROUP BY GROUPING SETS on the DataFrame.