|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface TableDefinition
The definition of a table or view.
| Method Summary | |
|---|---|
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 |
ColumnDefinition |
getIdentity()
Get the IDENTITY column of this table, or null,
if no such column exists. |
UniqueKeyDefinition |
getMainUniqueKey()
Get the primary key or the main unique key for this table |
org.jooq.Table<org.jooq.Record> |
getTable()
This TableDefinition as a Table |
List<UniqueKeyDefinition> |
getUniqueKeys()
Get the unique keys for this table |
| Methods inherited from interface org.jooq.util.Definition |
|---|
getComment, getDatabase, getDefinitionPath, getInputName, getName, getOutputName, getOverload, getQualifiedInputName, getQualifiedName, getQualifiedOutputName, getSchema |
| Method Detail |
|---|
List<ColumnDefinition> getColumns()
ColumnDefinition getColumn(String columnName)
ColumnDefinition getColumn(String columnName,
boolean ignoreCase)
ColumnDefinition getColumn(int columnIndex)
UniqueKeyDefinition getMainUniqueKey()
List<UniqueKeyDefinition> getUniqueKeys()
List<ForeignKeyDefinition> getForeignKeys()
ColumnDefinition getIdentity()
IDENTITY column of this table, or null,
if no such column exists.
org.jooq.Table<org.jooq.Record> getTable()
Table
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||