The default size of a value of the UserDefinedType is 4096 bytes.
The default size of a value of the UserDefinedType is 4096 bytes.
Convert a SQL datum to the user type
Convert a SQL datum to the user type
The compact JSON representation of this data type.
The compact JSON representation of this data type.
The pretty (i.
The pretty (i.e. indented) JSON representation of this data type.
Paired Python UDT class, if exists.
Paired Python UDT class, if exists.
Convert the user type to a SQL datum
Convert the user type to a SQL datum
TODO: Can we make this take obj: UserType? The issue is in CatalystTypeConverters.convertToCatalyst, where we need to convert Any to UserType.
Serialized Python UDT class, if exists.
Serialized Python UDT class, if exists.
Readable string representation for the type.
Readable string representation for the type.
Underlying storage type for this UDT
Underlying storage type for this UDT
Name of the type used in JSON serialization.
Class object for the UserType
Class object for the UserType
:: AlphaComponent ::
User-defined type for Vector which allows easy interaction with SQL via org.apache.spark.sql.DataFrame.