Package io.delta.kernel.internal.replay
Class ConflictChecker.TransactionRebaseState
Object
io.delta.kernel.internal.replay.ConflictChecker.TransactionRebaseState
- Enclosing class:
- ConflictChecker
Class containing the rebase state from winning transactions that the current transaction
needs to rebase against before attempting the commit.
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 Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionlongReturn the latest winning version of the table.
-
Constructor Details
-
TransactionRebaseState
public TransactionRebaseState(long latestVersion)
-
-
Method Details
-
getLatestVersion
public long getLatestVersion()Return the latest winning version of the table.- Returns:
- latest winning version of the table.
-