public class CreateStatement extends SQLStatement
| Constructor and Description |
|---|
CreateStatement(Table t,
ArrayList<Column> colDefList)
Constructs a CreateStatement object that will create the specified
table with the specified column information.
|
| Modifier and Type | Method and Description |
|---|---|
void |
execute()
Executes this SQL statement.
|
addColumn, addColumnVal, addTable, getColumn, getColumnVal, getTable, getWhere, getWhereColumn, numColumns, numColumnVals, numTables, numWhereColumns, toStringpublic void execute()
throws DatabaseException,
DeadlockException
SQLStatementexecute in class SQLStatementDatabaseException - if Berkeley DB encounters another problem
accessing an underlying database.DeadlockException - if deadlock occurs while accessing
an underlying database.