Class TransactionCommitResult

Object
io.delta.kernel.TransactionCommitResult

@Evolving public class TransactionCommitResult extends Object
Contains the result of a successful transaction commit. Returned by Transaction.commit(Engine, CloseableIterable).
Since:
3.2.0
  • 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 using Table.checkpoint(Engine, long)
      Returns:
      Is the table ready for checkpointing?