| java.lang.Object com.quadcap.sql.file.LogEntry com.quadcap.sql.LogStep
All known Subclasses: com.quadcap.sql.UpdateRow, com.quadcap.sql.InsertRow, com.quadcap.sql.StmtRenameTable, com.quadcap.sql.AlterColumn, com.quadcap.sql.DropColumn, com.quadcap.sql.ModIndexEntry, com.quadcap.sql.DeleteConstraint, com.quadcap.sql.RefcountBlob, com.quadcap.sql.AddTable, com.quadcap.sql.DeleteRow, com.quadcap.sql.InsertBlob, com.quadcap.sql.AddConstraint, com.quadcap.sql.AddColumn, com.quadcap.sql.AutoNumberStep, com.quadcap.sql.DropTable, com.quadcap.sql.StmtCreateView,
LogStep | abstract public class LogStep extends LogEntry (Code) | | Basic unit of write-ahead logging strategy.
author: Stan Bailes |
Method Summary | |
public void | prepare(Session session) Perform any actions that are necessary to prepare this log record
for being written to the log. | public void | redo(Transaction t, Datafile df) Undo the effects of this step from the database. | abstract public void | redo(Session session) Do/redo this step. | public void | undo(Transaction t, Datafile df) Undo the effects of this step from the database. | abstract public void | undo(Session session) Do/redo this step. |
prepare | public void prepare(Session session) throws IOException, SQLException(Code) | | Perform any actions that are necessary to prepare this log record
for being written to the log. This is called before the log
record is written, and before the first invocation of 'redo'. It
is not called subsequently, or during recovery.
|
|
|