public abstract class AbstractTupleEvent extends AbstractQueryEvent
TupleAddedEvent
,
TupleUpdatedEvent
,
TupleRemovedEvent
,
Serialized FormModifier and Type | Field and Description |
---|---|
protected Tuple |
keyData |
protected Tuple |
tuple |
source
Constructor and Description |
---|
AbstractTupleEvent(Object source,
Long key,
Tuple tuple,
Tuple keyData,
List<com.streambase.liveview.client.internal.TupleFieldComparator> fieldComparators) |
Modifier and Type | Method and Description |
---|---|
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
|
dispatch
getSource, toString
public AbstractTupleEvent(Object source, Long key, Tuple tuple, Tuple keyData, List<com.streambase.liveview.client.internal.TupleFieldComparator> fieldComparators)
source
- the source that generated the eventkey
- the key of the tupletuple
- the tuplefieldComparators
- TODOpublic final 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