Class RowSetShiftDataExpander

java.lang.Object
io.deephaven.engine.table.impl.util.RowSetShiftDataExpander
All Implemented Interfaces:
SafeCloseable, AutoCloseable

public class RowSetShiftDataExpander extends Object implements SafeCloseable
Converts table updates used for standard table update listeners's into row sets compatible with legacy-style shift-oblivious listeners by expanding keyspace shifts. Using this is almost always less efficient than using the TableUpdate directly.
  • Field Details

  • Constructor Details

    • RowSetShiftDataExpander

      public RowSetShiftDataExpander(TableUpdate update, TrackingRowSet sourceRowSet)
      Generates the backwards compatible ARM from an ARMS update.
      Parameters:
      update - The upstream update.
  • Method Details

    • getAdded

      public RowSet getAdded()
      Fetch the resulting RowSet of added values.
      Returns:
      added RowSet
    • getRemoved

      public RowSet getRemoved()
      Fetch the resulting RowSet of removed values.
      Returns:
      removed RowSet
    • getModified

      public RowSet getModified()
      Fetch the resulting RowSet of modified values.
      Returns:
      modified RowSet
    • close

      public void close()
      Specified by:
      close in interface AutoCloseable
      Specified by:
      close in interface SafeCloseable