|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.h2.engine.UndoLogRecord
public class UndoLogRecord
An entry in a undo log.
Field Summary | |
---|---|
static short |
DELETE
Operation type meaning the row was deleted. |
static short |
INSERT
Operation type meaning the row was inserted. |
Constructor Summary | |
---|---|
UndoLogRecord(Table table,
short op,
Row row)
Create a new undo log record |
Method Summary | |
---|---|
void |
commit()
This method is called after the operation was committed. |
long |
getFilePos()
Get the position in the file. |
Row |
getRow()
Get the row that was deleted or inserted. |
Table |
getTable()
Get the table. |
void |
undo(Session session)
Un-do the operation. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final short INSERT
public static final short DELETE
Constructor Detail |
---|
public UndoLogRecord(Table table, short op, Row row)
table
- the tableop
- the operation typerow
- the row that was deleted or insertedMethod Detail |
---|
public void undo(Session session)
session
- the sessionpublic Table getTable()
public long getFilePos()
public void commit()
public Row getRow()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |