public class DeleteCommand extends ChildTableUpdater
| Constructor and Description |
|---|
DeleteCommand(java.lang.String tableName,
Selectable where) |
DeleteCommand(TableIdentifier table,
Selectable where) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
buildBindVariables() |
boolean |
execute(Database database)
Executes an SQL statement that may return multiple results.
|
AxionResultSet |
executeQuery(Database database)
Unsupported
|
int |
executeUpdate(Database db)
Executes an SQL that may add, delete or modify zero or more rows within the
database, such as an INSERT, UPDATE or DELETE statement.
|
TableIdentifier |
getTable() |
Selectable |
getWhere() |
protected void |
resolve(Database db) |
deleteOrSetNullChildRows, deleteOrSetNullChildRows, updateOrSetNullChildRows, updateOrSetNullChildRowsassertNotReadOnly, attemptToConvertValue, bindAll, clearBindings, createResolveSelectableVisitor, executeQuery, getBindVariableIterator, getBindVariableIterator, getBindVariables, getBindVariableVisitor, getColIdentifierList, getCommitSize, getEffectedRowCount, getResultSet, getRowIterator, makeRowDecorator, populateDefaultValues, populateSequenceColumns, resolveGeneratedColumns, resolveGeneratedColumns, resolveSelectable, resolveSelectable, resolveSelectableList, resolveSelectableList, setBindVariableVisitor, setDeferAllConstraintIfRequired, setEffectedRowCount, setResultSet, updateGeneratedValuespublic DeleteCommand(java.lang.String tableName,
Selectable where)
public DeleteCommand(TableIdentifier table, Selectable where)
public boolean execute(Database database) throws AxionException
AxionCommandResultSets were generated,
false otherwiseAxionExceptionStatement.execute(java.lang.String),
PreparedStatement.execute()public AxionResultSet executeQuery(Database database) throws AxionException
ResultSetAxionExceptionStatement.executeQuery(java.lang.String),
PreparedStatement.executeQuery()public int executeUpdate(Database db) throws AxionException
AxionCommandAxionExceptionStatement.executeUpdate(java.lang.String),
PreparedStatement.executeUpdate()public final TableIdentifier getTable()
public final Selectable getWhere()
protected void buildBindVariables()
buildBindVariables in class BaseAxionCommandprotected void resolve(Database db) throws AxionException
AxionException