Converts Scala objects to Catalyst rows / types.
Converts Scala objects to Catalyst rows / types.
Note: This should be called before do evaluation on Row (It does not support UDT) This is used to create an RDD or test results with correct types for Catalyst.
Converts Catalyst types used internally in rows to standard Scala types This method is slow, and for batch conversion you should be using converter produced by createToScalaConverter.
Creates a converter function that will convert Scala objects to the specified Catalyst type.
Creates a converter function that will convert Scala objects to the specified Catalyst type. Typical use case would be converting a collection of rows that have the same schema. You will call this function once to get a converter, and apply it to every row.
Creates a converter function that will convert Catalyst types to Scala type.
Creates a converter function that will convert Catalyst types to Scala type. Typical use case would be converting a collection of rows that have the same schema. You will call this function once to get a converter, and apply it to every row.
Functions to convert Scala types to Catalyst types and vice versa.