Package org.apache.spark.sql.types
Annotation Interface SQLUserDefinedType
::DeveloperApi::
A user-defined type which can be automatically recognized by a SQLContext and registered.
WARNING: UDTs are currently only supported from Scala.
-
Required Element Summary
Modifier and TypeRequired ElementDescriptionClass<? extends UserDefinedType<?>>
Returns an instance of the UserDefinedType which can serialize and deserialize the user class to and from Catalyst built-in types.
-
Element Details
-
udt
Class<? extends UserDefinedType<?>> udtReturns an instance of the UserDefinedType which can serialize and deserialize the user class to and from Catalyst built-in types.
-