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

Definition at line 73 of file DeleteRow.java.
Public Member Functions | |
| DeleteRow () | |
| Default constructor. | |
| DeleteRow (Session session, Table table, long rowId) | |
| Explicit constructor specifies table and row id. | |
| long | getRowId () |
| Return the row id of the deleted row. | |
| void | redo (Session session) throws IOException, SQLException |
| LogStep.redo implementation. | |
| void | undo (Session session) throws IOException, SQLException |
| LogStep.undo: Undo the row deletion by putting the old row back! (The row map is used to keep track of the fact that the row may have a new row id now...). | |
| void | prepare (Session session) throws IOException, SQLException |
| Get ready to delete the row. | |
| void | readExternal (ObjectInput in) throws IOException, ClassNotFoundException |
| Read me from a stream. | |
| void | writeExternal (ObjectOutput out) throws IOException |
| Write me to a stream. | |
| void | setExtern (Extern extern) |
| Extern | getExtern () |
| String | toString () |
| Return displayable string representation. | |
Package Functions | |
| final Table | getTable (Database db) throws IOException |
| Get (lazy lookup) the table. | |
Package Attributes | |
| transient Table | table |
| transient LazyRow | row = null |
| byte[] | rowBytes |
| String | tableName = null |
| long | rowId = -1 |
| Extern = null | |
| My class's extern object. | |
|
|
Default constructor.
Definition at line 84 of file DeleteRow.java. |
|
||||||||||||||||
|
Explicit constructor specifies table and row id.
Definition at line 89 of file DeleteRow.java. References com.quadcap.sql.TupleImpl.getName(). |
|
|
Definition at line 210 of file DeleteRow.java. |
|
|
Return the row id of the deleted row.
Definition at line 99 of file DeleteRow.java. References com.quadcap.sql.DeleteRow.rowId. |
|
|
Get (lazy lookup) the table.
Definition at line 104 of file DeleteRow.java. References com.quadcap.sql.DeleteRow.getTable(), com.quadcap.sql.DeleteRow.table, and com.quadcap.sql.DeleteRow.tableName. Referenced by com.quadcap.sql.DeleteRow.getTable(). |
|
|
Get ready to delete the row.
Reimplemented from com.quadcap.sql.LogStep. Definition at line 157 of file DeleteRow.java. References com.quadcap.sql.file.BlockFile.getBytes(), com.quadcap.sql.TupleImpl.getColumnCount(), com.quadcap.sql.Database.getRow(), com.quadcap.sql.Database.inMemory(), com.quadcap.sql.DeleteRow.prepare(), com.quadcap.sql.DeleteRow.row, com.quadcap.sql.DeleteRow.rowBytes, and com.quadcap.sql.DeleteRow.rowId. Referenced by com.quadcap.sql.DeleteRow.prepare(). |
|
|
Read me from a stream.
Definition at line 179 of file DeleteRow.java. References com.quadcap.sql.DeleteRow.readExternal(), com.quadcap.sql.DeleteRow.rowBytes, com.quadcap.sql.DeleteRow.rowId, and com.quadcap.sql.DeleteRow.tableName. Referenced by com.quadcap.sql.DeleteRow.readExternal(). |
|
|
LogStep.redo implementation. Delete the row (and blob refs, if any) Implements com.quadcap.sql.LogStep. Definition at line 115 of file DeleteRow.java. References com.quadcap.sql.DeleteRow.redo(), com.quadcap.sql.Database.removeRow(), and com.quadcap.sql.DeleteRow.rowId. Referenced by com.quadcap.sql.DeleteRow.redo(). |
|
|
Definition at line 209 of file DeleteRow.java. References com.quadcap.sql.DeleteRow.setExtern(). Referenced by com.quadcap.sql.DeleteRow.setExtern(). |
|
|
Return displayable string representation.
Definition at line 216 of file DeleteRow.java. References com.quadcap.sql.DeleteRow.rowId, and com.quadcap.sql.DeleteRow.tableName. |
|
|
LogStep.undo: Undo the row deletion by putting the old row back! (The row map is used to keep track of the fact that the row may have a new row id now...).
Implements com.quadcap.sql.LogStep. Definition at line 138 of file DeleteRow.java. References com.quadcap.sql.Database.inMemory(), com.quadcap.sql.file.BlockFile.putBytes(), com.quadcap.sql.Database.putRow(), com.quadcap.sql.file.Log.putRowMap(), com.quadcap.sql.DeleteRow.row, com.quadcap.sql.DeleteRow.rowBytes, com.quadcap.sql.DeleteRow.rowId, and com.quadcap.sql.DeleteRow.undo(). Referenced by com.quadcap.sql.DeleteRow.undo(). |
|
|
Write me to a stream.
Definition at line 193 of file DeleteRow.java. References com.quadcap.sql.DeleteRow.rowBytes, com.quadcap.sql.DeleteRow.rowId, com.quadcap.sql.DeleteRow.tableName, and com.quadcap.sql.DeleteRow.writeExternal(). Referenced by com.quadcap.sql.DeleteRow.writeExternal(). |
|
|
My class's extern object.
Definition at line 208 of file DeleteRow.java. |
|
|
Definition at line 75 of file DeleteRow.java. Referenced by com.quadcap.sql.DeleteRow.prepare(), and com.quadcap.sql.DeleteRow.undo(). |
|
|
Definition at line 77 of file DeleteRow.java. Referenced by com.quadcap.sql.DeleteRow.prepare(), com.quadcap.sql.DeleteRow.readExternal(), com.quadcap.sql.DeleteRow.undo(), and com.quadcap.sql.DeleteRow.writeExternal(). |
|
|
|
Definition at line 74 of file DeleteRow.java. Referenced by com.quadcap.sql.DeleteRow.getTable(). |
|
|
Definition at line 78 of file DeleteRow.java. Referenced by com.quadcap.sql.DeleteRow.getTable(), com.quadcap.sql.DeleteRow.readExternal(), com.quadcap.sql.DeleteRow.toString(), and com.quadcap.sql.DeleteRow.writeExternal(). |