Class UserDefinedType

  • All Implemented Interfaces:
    Serializable
    Direct Known Subclasses:
    DistinctType, StructuredType

    @PublicEvolving
    public abstract class UserDefinedType
    extends LogicalType
    Logical type of a user-defined representation for one or more built-in types. A user-defined type is either a distinct type or a structured type.

    A UserDefinedType instance is the result of a catalog lookup or an anonymous, inline definition (for structured types only). Therefore, the serialized string representation is a unique ObjectIdentifier (if registered) or a representation does not exist (if unregistered).

    NOTE: Compared to the SQL standard, this class and subclasses are incomplete. We might add new features such as method declarations in the future.

    See Also:
    DistinctType, StructuredType, Serialized Form