public final class TupleAddedEvent extends AbstractTupleEvent
keyData, tuple
source
Constructor and Description |
---|
TupleAddedEvent(Object source,
Long key,
Tuple tuple)
Deprecated.
|
TupleAddedEvent(Object source,
Long oldKey,
Tuple tuple,
Tuple keyData,
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
getSource, toString
public TupleAddedEvent(Object source, Long key, Tuple tuple)
source
- the source of the eventkey
- the key of the tupletuple
- the tuplepublic TupleAddedEvent(Object source, Long oldKey, Tuple tuple, Tuple keyData, 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