Column.Apply(Object) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Extracts a value or values from a complex type. The following types of extraction are supported:
- Given an Array, an integer ordinal can be used to retrieve a single value.
- Given a Map, a key of the correct type can be used to retrieve an individual value.
- Given a Struct, a string fieldName can be used to extract that field.
- Given an Array of Structs, a string fieldName can be used to extract field of every struct in that array, and return an Array of fields.
public Microsoft.Spark.Sql.Column Apply (object extraction);
member this.Apply : obj -> Microsoft.Spark.Sql.Column
Public Function Apply (extraction As Object) As Column
Parameters
- extraction
- Object
Object used to extract value(s) from the column
Returns
Column object