Interface DbColumn

All Superinterfaces:
DbObject, DbObjectWithComment
All Known Implementing Classes:
DbColumnImpl

public interface DbColumn extends DbObjectWithComment
Meta-information about a column of a table.
Since:
1.0.0
  • Method Details

    • getNullable

      Boolean getNullable()
      Returns:
      Boolean.TRUE if nullable, Boolean.FALSE if value cannot be null, and null if unknown.
    • getTypeCode

      int getTypeCode()
      Returns:
      the type of this column as SQL type constant.
    • getTypeName

      String getTypeName()
      Returns:
      the type of this column as String.
    • getSize

      int getSize()
      Returns:
      the size of this column (e.g. the maximum length of a string).
    • getDecimalDigits

      int getDecimalDigits()
      Returns:
      the number of decimal digits for numeric values. Will be 0 for values that are not numeric.