org.axiondb.engine.commands
public class AlterTableCommand extends BaseAxionCommand
NOTE: Identity column can't be altered.
NOTE: Renaming column require cascade to drop constraints and indexes and then rename
TODO: ADD [COLUMN] .... [BEFORE Version: $Revision: 1.12 $ $Date: 2007/11/13 19:04:02 $
| Constructor Summary | |
|---|---|
| AlterTableCommand(String theTableName, boolean cascade) | |
| Method Summary | |
|---|---|
| void | addChildCommand(AxionCommand cmd) |
| void | addColumn(String name, String type, String precision, String scale, Selectable defaultValue, String generated) |
| void | alterColumn(String name, String newName, Selectable newDefault, Boolean dropDefault) |
| void | dropColumn(String colName) |
| boolean | execute(Database db) |
| AxionResultSet | executeQuery(Database database) Unsupported |
| int | executeUpdate(Database db) |
| void | setRenameTo(String newName) |