|
SQLFire 1.0.2 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface Event
Encapsulates information about an event captured by a callback object.
| Nested Class Summary | |
|---|---|
static class |
Event.Type
Enumeration of the types of callback events. |
| Method Summary | |
|---|---|
int[] |
getModifiedColumns()
Get the positions of the columns that were updated. |
List<Object> |
getNewRow()
Get the new or updated row as a List |
List<Object> |
getOldRow()
Get the old row being updated as a List |
Object[] |
getPrimaryKey()
Returns the Primary key of the manipulated row. |
ResultSetMetaData |
getResultSetMetaData()
Gets the metadata information for the table being updated. |
Event.Type |
getType()
Get the Type |
boolean |
isEviction()
Returns whether the event is generated due to eviction of a row. |
boolean |
isExpiration()
Returns whether the event is generated due to expiration of a row. |
boolean |
isLoad()
Returns whether the event is generated due to a RowLoader
invocation |
boolean |
isOriginRemote()
Indicates whether this event originated in a VM other than this one. |
boolean |
isPossibleDuplicate()
Indicates whether the event received is possibly a duplicate. |
| Method Detail |
|---|
Event.Type getType()
Type of the event.
- Returns:
- the Type of the event.
List<Object> getOldRow()
List<Object> getNewRow()
ResultSetMetaData getResultSetMetaData()
ResultSetMetaData of the table being updated.boolean isOriginRemote()
boolean isPossibleDuplicate()
int[] getModifiedColumns()
getResultSetMetaData(). The modified column values can be obtained
from the new value from getNewRow() using index as column
position -1.
Object[] getPrimaryKey()
boolean isLoad()
RowLoader
invocation
RowLoader
invocation or false otherwiseboolean isExpiration()
boolean isEviction()
|
SQLFire 1.0.2 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||