DataFrame.Where 方法

定义

重载

Where(Column)

使用给定条件筛选行。 这是 Filter () 的别名。

Where(String)

使用给定的 SQL 表达式筛选行。 这是 Filter () 的别名。

Where(Column)

使用给定条件筛选行。 这是 Filter () 的别名。

public Microsoft.Spark.Sql.DataFrame Where (Microsoft.Spark.Sql.Column condition);
member this.Where : Microsoft.Spark.Sql.Column -> Microsoft.Spark.Sql.DataFrame
Public Function Where (condition As Column) As DataFrame

参数

condition
Column

条件表达式

返回

DataFrame 对象

适用于

Where(String)

使用给定的 SQL 表达式筛选行。 这是 Filter () 的别名。

public Microsoft.Spark.Sql.DataFrame Where (string conditionExpr);
member this.Where : string -> Microsoft.Spark.Sql.DataFrame
Public Function Where (conditionExpr As String) As DataFrame

参数

conditionExpr
String

SQL 表达式 (SQL expression)

返回

DataFrame 对象

适用于