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, toString
public DropStatement(Table t)
t
- the table to be droppedpublic void execute() throws DatabaseException, DeadlockException
SQLStatement
execute
in class SQLStatement
DatabaseException
- if Berkeley DB encounters another problem
accessing an underlying database.DeadlockException
- if deadlock occurs while accessing
an underlying database.