public class DeleteStatement extends SQLStatement
| Constructor and Description |
|---|
DeleteStatement(Table t,
ConditionalExpression where)
Constructs a DeleteStatement object involving the specified
table and conditional expression.
|
| 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 DeleteStatement(Table t, ConditionalExpression where)
t - the table in which the deletes should occurwhere - the conditional expression from the WHERE clausepublic 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.