Class ShiftObliviousUpdateCoalescer

java.lang.Object
io.deephaven.engine.table.impl.util.ShiftObliviousUpdateCoalescer

public class ShiftObliviousUpdateCoalescer extends Object
Helper utility for coalescing multiple updates.
  • Constructor Details

    • ShiftObliviousUpdateCoalescer

      public ShiftObliviousUpdateCoalescer()
    • ShiftObliviousUpdateCoalescer

      public ShiftObliviousUpdateCoalescer(TrackingWritableRowSet added, TrackingWritableRowSet removed, TrackingWritableRowSet modified)
      The class assumes ownership of one reference to the indices passed; the caller should ensure to RowSet.copy() them before passing them if they are shared.
  • Method Details

    • update

      public void update(RowSet addedOnUpdate, RowSet removedOnUpdate, RowSet modifiedOnUpdate)
    • takeAdded

      public RowSet takeAdded()
    • takeRemoved

      public RowSet takeRemoved()
    • takeModified

      public RowSet takeModified()
    • reset

      public void reset()