Functions.Bin Method

Definition

Overloads

Bin(Column)

An expression that returns the string representation of the binary value of the given long column. For example, bin("12") returns "1100".

Bin(String)

An expression that returns the string representation of the binary value of the given long column. For example, bin("12") returns "1100".

Bin(Column)

An expression that returns the string representation of the binary value of the given long column. For example, bin("12") returns "1100".

public static Microsoft.Spark.Sql.Column Bin (Microsoft.Spark.Sql.Column column);
static member Bin : Microsoft.Spark.Sql.Column -> Microsoft.Spark.Sql.Column
Public Shared Function Bin (column As Column) As Column

Parameters

column
Column

Column to apply

Returns

Column object

Applies to

Bin(String)

An expression that returns the string representation of the binary value of the given long column. For example, bin("12") returns "1100".

public static Microsoft.Spark.Sql.Column Bin (string columnName);
static member Bin : string -> Microsoft.Spark.Sql.Column
Public Shared Function Bin (columnName As String) As Column

Parameters

columnName
String

Column name

Returns

Column object

Applies to