Package dev.frostlake.metastore.model
Class StreamNetChange
java.lang.Object
dev.frostlake.metastore.model.StreamNetChange
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 Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionlonggetRowId()Bare (upper-case) base table this net change was captured from; null for single-source streams.voidsetNewValues(List<Object> newValues) Advance the row's current image (a later update in the window), or null it out (a delete).
-
Constructor Details
-
StreamNetChange
-
StreamNetChange
-
-
Method Details
-
getOldValues
-
getNewValues
-
setNewValues
Advance the row's current image (a later update in the window), or null it out (a delete). -
getRowId
public long getRowId() -
getSourceTable
Bare (upper-case) base table this net change was captured from; null for single-source streams.
-