Package com.streambase.liveview.client
Class AbstractTupleEvent
- java.lang.Object
-
- java.util.EventObject
-
- com.streambase.liveview.client.AbstractQueryEvent
-
- com.streambase.liveview.client.AbstractTupleEvent
-
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
TupleAddedEvent
,TupleRemovedEvent
,TupleUpdatedEvent
public abstract class AbstractTupleEvent extends AbstractQueryEvent
Base abstract class for TupleEvents- See Also:
TupleAddedEvent
,TupleUpdatedEvent
,TupleRemovedEvent
, Serialized Form
-
-
Constructor Summary
Constructors Constructor Description AbstractTupleEvent(Object source, Long key, Tuple tuple, Tuple keyData, List<TupleFieldComparator> fieldComparators)
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description Long
getKey()
Deprecated.since 1.6, usegetKeyValue()
instead; certain table types and queries have undefined return valuesKeyValue
getKeyValue()
This replacesgetKey()
now that there is support for complex keysTuple
getTuple()
Get the tuple-
Methods inherited from class com.streambase.liveview.client.AbstractQueryEvent
dispatch
-
Methods inherited from class java.util.EventObject
getSource, toString
-
-
-
-
Method Detail
-
getKey
public final Long getKey()
Deprecated.since 1.6, usegetKeyValue()
instead; certain table types and queries have undefined return valuesGet the key of the tuple in this event, if applicable- Returns:
- the key of the tuple as a Long, if applicable
-
getTuple
public final Tuple getTuple()
Get the tuple- Returns:
- the tuple
-
-