Share via


Column.Otherwise(Object) Method

Definition

Evaluates a list of conditions and returns one of multiple possible result expressions. If otherwise is not defined at the end, null is returned for unmatched conditions. This is used when the When(Column, object) method is applied.

public Microsoft.Spark.Sql.Column Otherwise (object value);
member this.Otherwise : obj -> Microsoft.Spark.Sql.Column
Public Function Otherwise (value As Object) As Column

Parameters

value
Object

The value to set

Returns

New column after applying otherwise method

Applies to