public static class ConflictChecker.TransactionRebaseState
extends Object
Currently, the rebase state is just the latest winning version of the table. In future once we start supporting read-after-write, domain metadata, row tracking, etc., we will have more state to add. For example read-after-write will need to know the files deleted in the winning transactions to make sure the same files are not deleted by the current (losing) transaction.
| Constructor and Description |
|---|
TransactionRebaseState(long latestVersion,
long latestCommitTimestamp) |
| Modifier and Type | Method and Description |
|---|---|
long |
getLatestCommitTimestamp()
Return the latest commit timestamp of the table.
|
long |
getLatestVersion()
Return the latest winning version of the table.
|
public TransactionRebaseState(long latestVersion,
long latestCommitTimestamp)
public long getLatestVersion()
public long getLatestCommitTimestamp()