Share via


Column.EndsWith 方法

定义

重载

EndsWith(String)

字符串以另一个字符串文本结尾。 基于字符串匹配返回布尔列。

EndsWith(Column)

字符串以 结尾。 基于字符串匹配返回布尔列。

EndsWith(String)

字符串以另一个字符串文本结尾。 基于字符串匹配返回布尔列。

public Microsoft.Spark.Sql.Column EndsWith (string literal);
member this.EndsWith : string -> Microsoft.Spark.Sql.Column
Public Function EndsWith (literal As String) As Column

参数

literal
String

用于检查列中值如何结束的字符串文本。

返回

一个布尔列,其中如果当前列中的值确实以给定的字符串文本结尾,则条目为 true。

适用于

EndsWith(Column)

字符串以 结尾。 基于字符串匹配返回布尔列。

public Microsoft.Spark.Sql.Column EndsWith (Microsoft.Spark.Sql.Column other);
member this.EndsWith : Microsoft.Spark.Sql.Column -> Microsoft.Spark.Sql.Column
Public Function EndsWith (other As Column) As Column

参数

other
Column

包含用于检查此列中值结束方式的字符串的另一列。

返回

一个布尔列,其中如果当前列中的值确实以给定列中的值结尾,则条目为 true。

适用于