org.apache.derby.iapi.store.logical.log
Interface LogicalLoggable

All Superinterfaces:
java.io.Serializable
All Known Implementing Classes:
LogicalOperation

public interface LogicalLoggable
extends java.io.Serializable

Interface for a logical loggable operation

Author:
egil

Field Summary
static int ABORT_OPERATION
           
static int COMMIT_OPERATION
           
static int DELETE_OPERATION
           
static int INSERT_OPERATION
           
static int UPDATE_OPERATION
           
 
Method Summary
 org.apache.derby.iapi.types.DataValueDescriptor getNewKey()
           
 org.apache.derby.iapi.types.DataValueDescriptor getOldKey()
           
 LogicalImage getRedoImage()
           
 java.lang.String getTableName()
           
 LogicalImage getUndoImage()
           
 int group()
           
 boolean isRedoable()
           
 boolean isUndoable()
           
 int redoMe(java.sql.Connection conn)
           
 int undoMe(java.sql.Connection conn)
           
 

Field Detail

UPDATE_OPERATION

public static final int UPDATE_OPERATION
See Also:
Constant Field Values

DELETE_OPERATION

public static final int DELETE_OPERATION
See Also:
Constant Field Values

INSERT_OPERATION

public static final int INSERT_OPERATION
See Also:
Constant Field Values

COMMIT_OPERATION

public static final int COMMIT_OPERATION
See Also:
Constant Field Values

ABORT_OPERATION

public static final int ABORT_OPERATION
See Also:
Constant Field Values
Method Detail

group

public int group()

isRedoable

public boolean isRedoable()

isUndoable

public boolean isUndoable()

getUndoImage

public LogicalImage getUndoImage()

getRedoImage

public LogicalImage getRedoImage()

getTableName

public java.lang.String getTableName()

getOldKey

public org.apache.derby.iapi.types.DataValueDescriptor getOldKey()

getNewKey

public org.apache.derby.iapi.types.DataValueDescriptor getNewKey()

redoMe

public int redoMe(java.sql.Connection conn)
           throws java.sql.SQLException
Throws:
java.sql.SQLException

undoMe

public int undoMe(java.sql.Connection conn)
           throws java.sql.SQLException
Throws:
java.sql.SQLException