|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface ColumnDefinition
An interface defining a column of a table
| Method Summary | |
|---|---|
ForeignKeyDefinition |
getForeignKey()
A definition for the foreign key that this column is part of, or null if this column is not part of a foreign key. |
int |
getPosition()
The column position in the table |
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. |
List<UniqueKeyDefinition> |
getUniqueKeys()
All definitions of unique keys that this column is part of. |
boolean |
isIdentity()
Whether this column is the table's IDENTITY column. |
boolean |
isNullable()
Whether the column is nullable |
| Methods inherited from interface org.jooq.util.TypedElementDefinition |
|---|
getContainer, getType |
| Methods inherited from interface org.jooq.util.Definition |
|---|
getComment, getDatabase, getDefinitionPath, getInputName, getName, getOutputName, getOverload, getQualifiedInputName, getQualifiedName, getQualifiedOutputName, getSchema |
| Method Detail |
|---|
int getPosition()
UniqueKeyDefinition getPrimaryKey()
null if this column is not part of a primary key.
List<UniqueKeyDefinition> getUniqueKeys()
ForeignKeyDefinition getForeignKey()
null if this column is not part of a foreign key.
boolean isIdentity()
IDENTITY column.
boolean isNullable()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||