Column.StartsWith 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
多載
| StartsWith(Column) |
字串開頭為 。 根據字串比對傳回布林值資料行。 |
| StartsWith(String) |
字串開頭為另一個字串常值。 根據字串比對傳回布林值資料行。 |
StartsWith(Column)
字串開頭為 。 根據字串比對傳回布林值資料行。
public Microsoft.Spark.Sql.Column StartsWith(Microsoft.Spark.Sql.Column other);
member this.StartsWith : Microsoft.Spark.Sql.Column -> Microsoft.Spark.Sql.Column
Public Function StartsWith (other As Column) As Column
參數
- other
- Column
另一個包含字串的資料行,用來檢查此資料行中的值開始方式。
傳回
布林值資料行,如果目前資料行中的值確實以指定資料行中的值開頭,則為 true。
適用於
StartsWith(String)
字串開頭為另一個字串常值。 根據字串比對傳回布林值資料行。
public Microsoft.Spark.Sql.Column StartsWith(string literal);
member this.StartsWith : string -> Microsoft.Spark.Sql.Column
Public Function StartsWith (literal As String) As Column
參數
- literal
- String
用來檢查資料行中值開始方式的字串常值。
傳回
布林值資料行,如果目前資料行中的值確實以指定的字串常值開頭,則為 true。