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
The event dispatched when a new Tuple is added to a query result.
- See Also:
-
Field Summary
Fields inherited from class com.streambase.liveview.client.AbstractTupleEvent
keyData, tuple
Fields inherited from class java.util.EventObject
source
-
Constructor Summary
ConstructorDescriptionTupleAddedEvent
(Object source, Long key, Tuple tuple) Deprecated.TupleAddedEvent
(Object source, Long oldKey, Tuple tuple, Tuple keyData, List<com.streambase.liveview.client.internal.TupleFieldComparator> fieldComparators) -
Method Summary
Modifier and TypeMethodDescriptionvoid
dispatch
(QueryListener listener) Dispatches this event to the listenerMethods inherited from class com.streambase.liveview.client.AbstractTupleEvent
getComparators, getKey, getKeyValue, getTuple, setKey
Methods inherited from class java.util.EventObject
getSource, toString
-
Constructor Details
-
TupleAddedEvent
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<com.streambase.liveview.client.internal.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 Details
-
dispatch
Dispatches this event to the listener- Specified by:
dispatch
in classAbstractQueryEvent
- Parameters:
listener
- the query listener
-