public interface TableDefinition extends Definition
| Modifier and Type | Method and Description |
|---|---|
ColumnDefinition |
getColumn(int columnIndex)
Get a column in this type by its index (starting at 0)
|
ColumnDefinition |
getColumn(String columnName)
Get a column in this type by its name
|
ColumnDefinition |
getColumn(String columnName,
boolean ignoreCase)
Get a column in this type by its name
|
List<ColumnDefinition> |
getColumns()
All columns in the type, table or view
|
List<ForeignKeyDefinition> |
getForeignKeys()
Get the foreign keys for this table
|
IdentityDefinition |
getIdentity()
Get the
IDENTITY column of this table, or null,
if no such column exists. |
UniqueKeyDefinition |
getPrimaryKey()
Get the primary key for this table
|
Table<Record> |
getTable()
This TableDefinition as a
Table |
List<UniqueKeyDefinition> |
getUniqueKeys()
Get the unique keys for this table
|
getComment, getDatabase, getDefinitionPath, getInputName, getName, getOutputName, getOverload, getQualifiedInputName, getQualifiedName, getQualifiedOutputName, getSchemaList<ColumnDefinition> getColumns()
ColumnDefinition getColumn(String columnName)
ColumnDefinition getColumn(String columnName, boolean ignoreCase)
ColumnDefinition getColumn(int columnIndex)
UniqueKeyDefinition getPrimaryKey()
List<UniqueKeyDefinition> getUniqueKeys()
List<ForeignKeyDefinition> getForeignKeys()
IdentityDefinition getIdentity()
IDENTITY column of this table, or null,
if no such column exists.Copyright © 2013. All Rights Reserved.