Class TupleRemovedEvent

All Implemented Interfaces:
Serializable

public final class TupleRemovedEvent extends AbstractTupleEvent
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:
  • Constructor Details

    • TupleRemovedEvent

      public TupleRemovedEvent(Object source, Long key, Tuple tuple)
      Deprecated.
      Parameters:
      source - the source of the event
      key - the key of the tuple
      tuple - the tuple being removed
    • 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 event
      oldKey - the key of the tuple
      tuple - the tuple being removed
      keyData - 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