| java.lang.Object com.quadcap.sql.file.LogEntry
All known Subclasses: com.quadcap.sql.LogStep,
LogEntry | public class LogEntry implements LogOp,Externable(Code) | | An entry in the log. For 'STEP' items, which represent actions
in the database, the first byte is the 'redo state', which is
initially zero (DONE) and is overwritten to one (UNDONE) if the
step is 'undone' as part of a rollback.
author: Stan Bailes |
BEGIN_STATEMENT | final public static int BEGIN_STATEMENT(Code) | | |
BEGIN_TRANSACTION | final public static int BEGIN_TRANSACTION(Code) | | |
BLOCK_WRITE | final public static int BLOCK_WRITE(Code) | | |
CHECKPOINT | final public static int CHECKPOINT(Code) | | |
CLOSE | final public static int CLOSE(Code) | | |
COMMIT | final public static int COMMIT(Code) | | |
DONE | final public static int DONE(Code) | | |
FLUSH | final public static int FLUSH(Code) | | |
MAX_CODES | final public static int MAX_CODES(Code) | | |
ROLLBACK | final public static int ROLLBACK(Code) | | |
STEP | final public static int STEP(Code) | | |
SYNC | final public static int SYNC(Code) | | |
UNDONE | final public static int UNDONE(Code) | | |
position | transient int position(Code) | | |
LogEntry | public LogEntry()(Code) | | |
LogEntry | public LogEntry(int code)(Code) | | |
LogEntry | public LogEntry(long transId, int code)(Code) | | |
LogEntry | public LogEntry(long transId, int stmtId, int code)(Code) | | |
getCode | final public int getCode()(Code) | | |
getPosition | final public int getPosition()(Code) | | |
getPrev | final int getPrev()(Code) | | |
getRedoState | final public int getRedoState()(Code) | | |
getStatementId | final public int getStatementId()(Code) | | Return the statement ID for this entry
|
getTransactionId | final public long getTransactionId()(Code) | | Return the transaction ID for this entry
|
setPosition | final void setPosition(int position)(Code) | | |
setPrev | final void setPrev(int prev)(Code) | | |
setRedoState | final public void setRedoState(int redo)(Code) | | |
setStatementId | final public void setStatementId(int stmtId)(Code) | | Bind this LogEntry to a statement
|
setTransactionId | final public void setTransactionId(long transId)(Code) | | Bind this LogEntry to a transaction
|
|
|