|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.mckoi.database.TableCommitModificationEvent
public class TableCommitModificationEvent
An object that encapsulates all row modification information about a table when a change to the table is about to be committed. The object provides information about what rows in the table were changed (inserted/updated/deleted).
Constructor Summary | |
---|---|
TableCommitModificationEvent(SimpleTransaction transaction,
TableName table_name,
int[] added,
int[] removed)
Constructs the event. |
Method Summary | |
---|---|
int[] |
getAddedRows()
Returns the normalized list of all rows that were inserted or updated in this table of the transaction being committed. |
int[] |
getRemovedRows()
Returns the normalized list of all rows that were deleted or updated in this table of the transaction being committed. |
TableName |
getTableName()
Returns the name of the table. |
SimpleTransaction |
getTransaction()
Returns the Transaction that represents the view of the database when the changes to the table have been committed. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public TableCommitModificationEvent(SimpleTransaction transaction, TableName table_name, int[] added, int[] removed)
Method Detail |
---|
public SimpleTransaction getTransaction()
public TableName getTableName()
public int[] getAddedRows()
public int[] getRemovedRows()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |