UserDefinedType¶
UserDefinedType[UserType] is an extension of the DataType abstraction for user-defined data types.
Contract¶
deserialize¶
Used when:
UDTConverteris requested totoScalaCastexpression is requested tocastToStringBaseScriptTransformationExecis requested tooutputFieldWriters
serialize¶
Used when:
Rowis requested to toJsonUDTConverteris requested totoCatalystImpl
sqlType¶
The underlying storage DataType
userClass¶
Implementations¶
PythonUserDefinedTypeMatrixUDT(Spark MLlib)VectorUDT(Spark MLlib)