Class ColumnMetadata


  • public final class ColumnMetadata
    extends Object
    Represents the metadata of an EXASOL table column.
    • Method Detail

      • getName

        public String getName()
        Get the column name
        Returns:
        column name
      • getAdapterNotes

        public String getAdapterNotes()
        Get the adapter notes
        Returns:
        adapter notes
      • getType

        public DataType getType()
        Get the column's data type
        Returns:
        data type
      • isNullable

        public boolean isNullable()
        Check if the column is nullable
        Returns:
        true if the column can contain NULL
      • isIdentity

        public boolean isIdentity()
        Check if the column supports auto-increment
        Returns:
        true if the column contains an auto-incrementing ID
      • hasDefault

        public boolean hasDefault()
        Check if a default value is defined for the column
        Returns:
        true if a default value is defined for the column
      • getDefaultValue

        public String getDefaultValue()
        Get the default value
        Returns:
        default value
      • hasComment

        public boolean hasComment()
        Check if a comment is associated with the column
        Returns:
        true if the column has a comment
      • getComment

        public String getComment()
        Get the comment associated with the column
        Returns:
        comment associated with the column
      • getOriginalTypeName

        public String getOriginalTypeName()
        Get the original name of the type as it was used in the JDBC driver of the remote data source
        Returns:
        original type name
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object