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, updateOrSetNullChildRows
assertNotReadOnly, 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, updateGeneratedValues
public DeleteCommand(java.lang.String tableName, Selectable where)
public DeleteCommand(TableIdentifier table, Selectable where)
public boolean execute(Database database) throws AxionException
AxionCommand
ResultSet
s were generated,
false otherwiseAxionException
Statement.execute(java.lang.String)
,
PreparedStatement.execute()
public AxionResultSet executeQuery(Database database) throws AxionException
ResultSet
AxionException
Statement.executeQuery(java.lang.String)
,
PreparedStatement.executeQuery()
public int executeUpdate(Database db) throws AxionException
AxionCommand
AxionException
Statement.executeUpdate(java.lang.String)
,
PreparedStatement.executeUpdate()
public final TableIdentifier getTable()
public final Selectable getWhere()
protected void buildBindVariables()
buildBindVariables
in class BaseAxionCommand
protected void resolve(Database db) throws AxionException
AxionException