Class UDTAliasInfo

  • All Implemented Interfaces:
    java.io.Externalizable, java.io.Serializable, AliasInfo, Formatable, TypedFormat

    public class UDTAliasInfo
    extends java.lang.Object
    implements AliasInfo, Formatable
    Describe an A (Abstract Data Type) alias. For the first release of USer Defined Types, this is a vacuous object. Future revs may add real information to this object. The UDTAliasInfo maintains a version stamp so that it can evolve its persistent form over time.
    See Also:
    AliasInfo, Serialized Form
    • Constructor Detail

      • UDTAliasInfo

        public UDTAliasInfo()
    • Method Detail

      • isTableFunction

        public boolean isTableFunction()
        Description copied from interface: AliasInfo
        Return true if this alias is a Table Function.
        Specified by:
        isTableFunction in interface AliasInfo
      • readExternal

        public void readExternal​(java.io.ObjectInput in)
                          throws java.io.IOException,
                                 java.lang.ClassNotFoundException
        Read this object from a stream of stored objects.
        Specified by:
        readExternal in interface java.io.Externalizable
        Parameters:
        in - read this.
        Throws:
        java.io.IOException - thrown on error
        java.lang.ClassNotFoundException - thrown on error
      • writeExternal

        public void writeExternal​(java.io.ObjectOutput out)
                           throws java.io.IOException
        Write this object to a stream of stored objects.
        Specified by:
        writeExternal in interface java.io.Externalizable
        Parameters:
        out - write bytes here.
        Throws:
        java.io.IOException - thrown on error
      • getTypeFormatId

        public int getTypeFormatId()
        Get the formatID which corresponds to this class.
        Specified by:
        getTypeFormatId in interface TypedFormat
        Returns:
        the formatID of this class
      • toString

        public java.lang.String toString()
        This is used by dblook to reconstruct the UDT-specific parts of the ddl needed to recreate this alias.
        Overrides:
        toString in class java.lang.Object
      • getMethodName

        public java.lang.String getMethodName()
        Description copied from interface: AliasInfo
        Get the name of the static method that the alias represents at the source database. (Only meaningful for method aliases )
        Specified by:
        getMethodName in interface AliasInfo
        Returns:
        The name of the static method that the alias represents at the source database.