![]() |
Quadcap Embeddable Database |
Inheritance diagram for com.quadcap.sql.StmtUpdate:

Definition at line 56 of file StmtUpdate.java.
Public Member Functions | |
| StmtUpdate () | |
| Default constructor. | |
| StmtUpdate (String tableName) | |
| Explicit constructor from table name only. | |
| void | addItem (UpdateItem item) |
| Add a new update item. | |
| void | addWhere (Expression where) |
| Add a 'where' expression. | |
| void | execute (Session session) throws IOException, SQLException |
| Excute the update operation. | |
Package Attributes | |
| String | tableName |
| SelectExpression | select |
| Vector | items |
|
|
Default constructor.
Definition at line 64 of file StmtUpdate.java. |
|
|
Explicit constructor from table name only.
Definition at line 69 of file StmtUpdate.java. |
|
|
Add a new update item.
Definition at line 77 of file StmtUpdate.java. References com.quadcap.sql.StmtUpdate.addItem(), and com.quadcap.sql.StmtUpdate.items. Referenced by com.quadcap.sql.StmtUpdate.addItem(), and com.quadcap.sql.SQLParser.updateStmt(). |
|
|
Add a 'where' expression.
Definition at line 84 of file StmtUpdate.java. References com.quadcap.sql.StmtUpdate.addWhere(), com.quadcap.sql.StmtUpdate.select, and com.quadcap.sql.StmtUpdate.tableName. Referenced by com.quadcap.sql.StmtUpdate.addWhere(), and com.quadcap.sql.SQLParser.updateStmt(). |
|
|
Excute the update operation.
Implements com.quadcap.sql.Stmt. Definition at line 91 of file StmtUpdate.java. References com.quadcap.sql.Cursor.close(), com.quadcap.sql.UpdateItem.evaluate(), com.quadcap.sql.StmtUpdate.execute(), com.quadcap.sql.Database.getRelation(), com.quadcap.sql.Cursor.getRow(), com.quadcap.sql.Relation.isUpdatable(), com.quadcap.sql.StmtUpdate.items, com.quadcap.sql.Cursor.next(), com.quadcap.sql.StmtUpdate.select, com.quadcap.sql.StmtUpdate.tableName, com.quadcap.sql.UpdateItem.update(), and com.quadcap.sql.Cursor.updateRow(). Referenced by com.quadcap.sql.StmtUpdate.execute(). |
|
|
Definition at line 59 of file StmtUpdate.java. Referenced by com.quadcap.sql.StmtUpdate.addItem(), and com.quadcap.sql.StmtUpdate.execute(). |
|
|
Definition at line 58 of file StmtUpdate.java. Referenced by com.quadcap.sql.StmtUpdate.addWhere(), and com.quadcap.sql.StmtUpdate.execute(). |
|
|
Definition at line 57 of file StmtUpdate.java. Referenced by com.quadcap.sql.StmtUpdate.addWhere(), and com.quadcap.sql.StmtUpdate.execute(). |