Interface ColumnInformation

All Superinterfaces:
ColumnTypeInformation
All Known Implementing Classes:
ColumnInformationImpl

public interface ColumnInformation extends ColumnTypeInformation
Provides access to information about existing table columns
  • Method Details

    • getContainingTableInformation

      TableInformation getContainingTableInformation()
      Access to the containing table.
      Returns:
      The containing table information
    • getColumnIdentifier

      Identifier getColumnIdentifier()
      The simple (not qualified) column name.
      Returns:
      The column simple identifier.
    • getNullable

      TruthValue getNullable()
      Is the column nullable. The database is allowed to report unknown, hence the use of TruthValue
      Specified by:
      getNullable in interface ColumnTypeInformation
      Returns:
      nullability.
    • getTypeCode

      int getTypeCode()
      The JDBC type-code.
      Specified by:
      getTypeCode in interface ColumnTypeInformation
      Returns:
      JDBC type-code
    • getTypeName

      String getTypeName()
      The database specific type name.
      Specified by:
      getTypeName in interface ColumnTypeInformation
      Returns:
      Type name
    • getColumnSize

      int getColumnSize()
      The column size (length).
      Specified by:
      getColumnSize in interface ColumnTypeInformation
      Returns:
      The column length
    • getDecimalDigits

      int getDecimalDigits()
      The precision, for numeric types
      Specified by:
      getDecimalDigits in interface ColumnTypeInformation
      Returns:
      The numeric precision