Package org.jooq.meta

Interface ColumnDefinition

All Superinterfaces:
ContainerElementDefinition<TableDefinition>, Definition, PositionedDefinition, TypedElementDefinition<TableDefinition>
All Known Implementing Classes:
DefaultColumnDefinition

public interface ColumnDefinition extends TypedElementDefinition<TableDefinition>, PositionedDefinition
An interface defining a column of a table.
Author:
Lukas Eder
  • Method Details

    • getPrimaryKey

      UniqueKeyDefinition getPrimaryKey()
      A definition for the primary key that this column is part of, or null if this column is not part of a primary key.
    • getUniqueKeys

      List<UniqueKeyDefinition> getUniqueKeys()
      All definitions of unique keys that this column is part of.
    • getKeys

      All definitions of unique and primary keys that this column is part of.
    • getForeignKeys

      List<ForeignKeyDefinition> getForeignKeys()
      All definitions of foreign keys that this column is part of.
    • isIdentity

      boolean isIdentity()
      Whether this column is the table's IDENTITY column.
    • isHidden

      boolean isHidden()
      Whether this column is hidden.
    • isReadonly

      boolean isReadonly()
      Whether this column is readonly.