public final class TupleAddedEvent extends AbstractTupleEvent
keyData, tuple
Constructor and Description |
---|
TupleAddedEvent(java.lang.Object source,
java.lang.Long key,
Tuple tuple)
Deprecated.
|
TupleAddedEvent(java.lang.Object source,
java.lang.Long oldKey,
Tuple tuple,
Tuple keyData,
java.util.List<com.streambase.liveview.client.internal.TupleFieldComparator> fieldComparators) |
Modifier and Type | Method and Description |
---|---|
void |
dispatch(QueryListener listener)
Dispatches this event to the listener
|
getKey, getKeyValue, getTuple
public TupleAddedEvent(java.lang.Object source, java.lang.Long key, Tuple tuple)
source
- the source of the eventkey
- the key of the tupletuple
- the tuplepublic TupleAddedEvent(java.lang.Object source, java.lang.Long oldKey, Tuple tuple, Tuple keyData, java.util.List<com.streambase.liveview.client.internal.TupleFieldComparator> fieldComparators)
source
- the source of the eventoldKey
- the key of the tupletuple
- the tuplekeyData
- The data for the full key. May be null only if oldKey is not 0.fieldComparators
- The pre-built set of comparators for comparing complex keys. May be null only if oldKey is not 0.public void dispatch(QueryListener listener)
dispatch
in class AbstractQueryEvent
listener
- the query listener