public abstract class AbstractTupleEvent extends AbstractQueryEvent
TupleAddedEvent,
TupleUpdatedEvent,
TupleRemovedEvent,
Serialized Form| Modifier and Type | Field and Description |
|---|---|
protected Tuple |
keyData |
protected Tuple |
tuple |
| Constructor and Description |
|---|
AbstractTupleEvent(java.lang.Object source,
java.lang.Long key,
Tuple tuple,
Tuple keyData,
java.util.List<com.streambase.liveview.client.internal.TupleFieldComparator> fieldComparators) |
| Modifier and Type | Method and Description |
|---|---|
java.lang.Long |
getKey()
Deprecated.
since 1.6, use
AbstractTupleEvent.getKeyValue() instead; certain table types and queries have undefined return values |
KeyValue |
getKeyValue()
This replaces
AbstractTupleEvent.getKey() now that there is support for complex keys |
Tuple |
getTuple()
Get the tuple
|
dispatchpublic AbstractTupleEvent(java.lang.Object source,
java.lang.Long key,
Tuple tuple,
Tuple keyData,
java.util.List<com.streambase.liveview.client.internal.TupleFieldComparator> fieldComparators)
source - the source that generated the eventkey - the key of the tupletuple - the tuplefieldComparators - TODOpublic final java.lang.Long getKey()
AbstractTupleEvent.getKeyValue() instead; certain table types and queries have undefined return valuespublic final Tuple getTuple()
public final KeyValue getKeyValue()
AbstractTupleEvent.getKey() now that there is support for complex keys