Share via


DataFrame.Cube Method

Definition

Overloads

Cube(Column[])

Create a multi-dimensional cube for the current DataFrame using the specified columns.

Cube(String, String[])

Create a multi-dimensional cube for the current DataFrame using the specified columns.

Cube(Column[])

Create a multi-dimensional cube for the current DataFrame using the specified columns.

public Microsoft.Spark.Sql.RelationalGroupedDataset Cube (params Microsoft.Spark.Sql.Column[] columns);
member this.Cube : Microsoft.Spark.Sql.Column[] -> Microsoft.Spark.Sql.RelationalGroupedDataset
Public Function Cube (ParamArray columns As Column()) As RelationalGroupedDataset

Parameters

columns
Column[]

Column expressions

Returns

RelationalGroupedDataset object

Applies to

Cube(String, String[])

Create a multi-dimensional cube for the current DataFrame using the specified columns.

public Microsoft.Spark.Sql.RelationalGroupedDataset Cube (string column, params string[] columns);
member this.Cube : string * string[] -> Microsoft.Spark.Sql.RelationalGroupedDataset
Public Function Cube (column As String, ParamArray columns As String()) As RelationalGroupedDataset

Parameters

column
String

Column name

columns
String[]

Additional column names

Returns

RelationalGroupedDataset object

Applies to