|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.axiondb.engine.commands.BaseAxionCommand
org.axiondb.engine.commands.DeleteCommand
A DELETE command.
| Constructor Summary | |
DeleteCommand(String tableName,
Selectable where)
|
|
DeleteCommand(TableIdentifier table,
Selectable where)
|
|
| Method Summary | |
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. |
protected Iterator |
getBindVariableIterator()
Returns an Iteratorover all my BindVariables, in the proper
order. |
TableIdentifier |
getTable()
|
Selectable |
getWhere()
|
void |
setTable(TableIdentifier table)
|
void |
setWhere(Selectable where)
|
| Methods inherited from class org.axiondb.engine.commands.BaseAxionCommand |
appendBindVariables, assertNotReadOnly, attemptToConvertValue, bind, clearBindings, getEffectedRowCount, getResultSet, getRowIterator, getRowIterator, getTableForIdentifier, resolveSelectableList, resolveSelectableList, setEffectedRowCount, setResultSet |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public DeleteCommand(String tableName,
Selectable where)
public DeleteCommand(TableIdentifier table,
Selectable where)
| Method Detail |
public TableIdentifier getTable()
public void setTable(TableIdentifier table)
public void setWhere(Selectable where)
public Selectable getWhere()
public int executeUpdate(Database db)
throws AxionException
AxionCommand
AxionExceptionStatement.executeUpdate(java.lang.String),
PreparedStatement.executeUpdate()
public AxionResultSet executeQuery(Database database)
throws AxionException
ResultSet
AxionExceptionStatement.executeQuery(java.lang.String),
PreparedStatement.executeQuery()
public boolean execute(Database database)
throws AxionException
AxionCommand
ResultSets
were generated, false otherwise
AxionExceptionStatement.execute(java.lang.String),
PreparedStatement.execute()protected Iterator getBindVariableIterator()
BaseAxionCommandIteratorover all my BindVariables, in the proper
order. Default impl returns empty iterator.
getBindVariableIterator in class BaseAxionCommand
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||