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

    Required Elements

    Modifier and Type

    Required Element

    Description

    Returns an instance of the UserDefinedType which can serialize and deserialize the user class to and from Catalyst built-in types.

  • Element Details

    • udt

      Returns an instance of the UserDefinedType which can serialize and deserialize the user class to and from Catalyst built-in types.