Package com.streambase.liveview.client
Class TupleRemovedEvent
java.lang.Object
java.util.EventObject
com.streambase.liveview.client.AbstractQueryEvent
com.streambase.liveview.client.AbstractTupleEvent
com.streambase.liveview.client.TupleRemovedEvent
- All Implemented Interfaces:
 Serializable
The event dispatched when an existing Tuple is removed.
 The inherited method 
AbstractTupleEvent.getTuple() will return null unless the event was propagated from a LiveResult.
 The LiveResult will propagate the removed tuple since it maintains a local copy of all tuples in the query result.- See Also:
 
- 
Field Summary
Fields inherited from class com.streambase.liveview.client.AbstractTupleEvent
keyData, tupleFields inherited from class java.util.EventObject
source - 
Constructor Summary
ConstructorsConstructorDescriptionTupleRemovedEvent(Object source, Long key, Tuple tuple) Deprecated.TupleRemovedEvent(Object source, Long oldKey, Tuple tuple, Tuple keyData, List<com.streambase.liveview.client.internal.TupleFieldComparator> fieldComparators)  - 
Method Summary
Modifier and TypeMethodDescriptionvoiddispatch(QueryListener listener) Dispatches this event to the listenerMethods inherited from class com.streambase.liveview.client.AbstractTupleEvent
getKey, getKeyValue, getTupleMethods inherited from class java.util.EventObject
getSource, toString 
- 
Constructor Details
- 
TupleRemovedEvent
 - 
TupleRemovedEvent
public TupleRemovedEvent(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 tuple being removedkeyData- 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:
 dispatchin classAbstractQueryEvent- Parameters:
 listener- the query listener
 
 -