Package com.streambase.liveview.client
Class TupleAddedEvent
- java.lang.Object
-
- java.util.EventObject
-
- com.streambase.liveview.client.AbstractQueryEvent
-
- com.streambase.liveview.client.AbstractTupleEvent
-
- com.streambase.liveview.client.TupleAddedEvent
-
- All Implemented Interfaces:
Serializable
public final class TupleAddedEvent extends AbstractTupleEvent
The event dispatched when a new Tuple is added to a query result.- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class com.streambase.liveview.client.AbstractTupleEvent
keyData, tuple
-
Fields inherited from class java.util.EventObject
source
-
-
Constructor Summary
Constructors Constructor Description TupleAddedEvent(Object source, Long key, Tuple tuple)
Deprecated.TupleAddedEvent(Object source, Long oldKey, Tuple tuple, Tuple keyData, List<TupleFieldComparator> fieldComparators)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
dispatch(QueryListener listener)
Dispatches this event to the listener-
Methods inherited from class com.streambase.liveview.client.AbstractTupleEvent
getKey, getKeyValue, getTuple
-
Methods inherited from class java.util.EventObject
getSource, toString
-
-
-
-
Constructor Detail
-
TupleAddedEvent
public TupleAddedEvent(Object source, Long key, Tuple tuple)
Deprecated.- Parameters:
source
- the source of the eventkey
- the key of the tupletuple
- the tuple
-
TupleAddedEvent
public TupleAddedEvent(Object source, Long oldKey, Tuple tuple, Tuple keyData, List<TupleFieldComparator> fieldComparators)
- Parameters:
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.
-
-
Method Detail
-
dispatch
public void dispatch(QueryListener listener)
Dispatches this event to the listener- Specified by:
dispatch
in classAbstractQueryEvent
- Parameters:
listener
- the query listener
-
-