public class DropStatement extends SQLStatement
| Constructor and Description |
|---|
DropStatement(Table t)
Constructs a DropStatement object involving the specified table.
|
| 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 DropStatement(Table t)
t - the table to be droppedpublic 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.