Class StreamNetChange

java.lang.Object
dev.frostlake.metastore.model.StreamNetChange

public class StreamNetChange extends Object
One logical row's accumulated (net) change while consolidating a stream window: oldValues is the row's image at the stream offset (null when the row was born inside the window) and newValues its current image (null when the row no longer exists). Both null means the change cancelled out entirely.
  • Constructor Details

  • Method Details

    • getOldValues

      public List<Object> getOldValues()
    • getNewValues

      public List<Object> getNewValues()
    • setNewValues

      public void setNewValues(List<Object> newValues)
      Advance the row's current image (a later update in the window), or null it out (a delete).
    • getRowId

      public long getRowId()
    • getSourceTable

      public String getSourceTable()
      Bare (upper-case) base table this net change was captured from; null for single-source streams.