Package com.illumon.iris.db.v2
Interface ShiftAwareListener
- All Superinterfaces:
ListenerBase,LivenessManager,LivenessNode,LivenessReferent
- All Known Implementing Classes:
AddedTableLoggingListener,AppendOnlyAssertionInstrumentedListenerAdapter,BaseTable.ShiftAwareListenerImpl,FullTableLoggingListener,InstrumentedShiftAwareListener,InstrumentedShiftAwareListenerAdapter,JoinListenerRecorder,ListenerRecorder,PrintListener,ShiftAwareSwapListener,SnapshotInternalListener,SortedAssertionInstrumentedListenerAdapter,SortListener,ToMapListener
public interface ShiftAwareListener extends ListenerBase
Shift-aware listener for table changes.
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static classShiftAwareListener.UpdateA shift aware update structure, containing the rows and columns that were added, modified, removed, and shifted on a given cycle. -
Method Summary
Modifier and Type Method Description NotificationQueue.IndexUpdateNotificationgetNotification(ShiftAwareListener.Update upstream)Creates a notification for the table changes.voidonUpdate(ShiftAwareListener.Update upstream)Process notification of table changes.Methods inherited from interface com.illumon.iris.db.v2.ListenerBase
getErrorNotification, onFailureMethods inherited from interface com.illumon.iris.db.util.liveness.LivenessManager
manage, tryManageMethods inherited from interface com.illumon.iris.db.util.liveness.LivenessReferent
dropReference, getReferentDescription, getWeakReference, retainReference, tryRetainReference
-
Method Details
-
onUpdate
Process notification of table changes.- Parameters:
upstream- The set of upstream table updates.
-
getNotification
Creates a notification for the table changes.- Parameters:
upstream- The set of upstream table updates.- Returns:
- table change notification
-