WindowSpec.OrderBy Method

Definition

Overloads

OrderBy(Column[])

Defines the ordering columns in a WindowSpec.

OrderBy(String, String[])

Defines the ordering columns in a WindowSpec.

OrderBy(Column[])

Defines the ordering columns in a WindowSpec.

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

Parameters

columns
Column[]

Column expressions

Returns

WindowSpec object

Applies to

OrderBy(String, String[])

Defines the ordering columns in a WindowSpec.

public Microsoft.Spark.Sql.Expressions.WindowSpec OrderBy (string colName, params string[] colNames);
member this.OrderBy : string * string[] -> Microsoft.Spark.Sql.Expressions.WindowSpec
Public Function OrderBy (colName As String, ParamArray colNames As String()) As WindowSpec

Parameters

colName
String

Name of column

colNames
String[]

Additional column names

Returns

WindowSpec object

Applies to