CommandWithColumns
| Methods |
| void |
addColumn(Column column)
Add a column to this table.
|
| void |
addColumn(Column column)
Add a column to this table.
Parameters:
column - the column to add
|
| void |
addConstraintCommand(DefineCommand command)
Add a constraint statement to this statement.
|
| void |
addConstraintCommand(DefineCommand command)
Add a constraint statement to this statement. The primary key definition is
one possible constraint statement.
Parameters:
command - the statement to add
|
| void |
changePrimaryKeysToNotNull(ArrayList columns)
For the given list of columns, disable "nullable" for those columns that
are primary key columns.
|
| void |
changePrimaryKeysToNotNull(ArrayList columns)
For the given list of columns, disable "nullable" for those columns that
are primary key columns.
Parameters:
columns - the list of columns
|
| void |
createConstraints()
Create the constraints.
|
| void |
createConstraints()
Create the constraints.
|
| ArrayList |
generateSequences(ArrayList columns, boolean temporary)
For the given list of columns, create sequences for auto-increment
columns (if needed), and then get the list of all sequences of the
columns.
|
| ArrayList |
generateSequences(ArrayList columns, boolean temporary)
For the given list of columns, create sequences for auto-increment
columns (if needed), and then get the list of all sequences of the
columns.
Parameters:
columns - the columns
temporary - whether generated sequences should be temporary
Returns:
the list of sequences (may be empty)
|
|