Package io.delta.kernel
Class TransactionCommitResult
Object
io.delta.kernel.TransactionCommitResult
Contains the result of a successful transaction commit. Returned by
Transaction.commit(Engine, CloseableIterable).- Since:
- 3.2.0
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionlongContains the version of the transaction committed as.booleanIs the table ready for checkpoint (i.e.
-
Constructor Details
-
TransactionCommitResult
public TransactionCommitResult(long version, boolean isReadyForCheckpoint)
-
-
Method Details
-
getVersion
public long getVersion()Contains the version of the transaction committed as.- Returns:
- version the transaction is committed as.
-
isReadyForCheckpoint
public boolean isReadyForCheckpoint()Is the table ready for checkpoint (i.e. there are enough commits since the last checkpoint)? If yes the connector can choose to checkpoint as the version the transaction is committed as usingTable.checkpoint(Engine, long)- Returns:
- Is the table ready for checkpointing?
-