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

  • Method Details

    • getVersion

      public long getVersion()
      Contains the version of the transaction committed as.
      Returns:
      version the transaction is committed as.
    • getPostCommitHooks

      public List<PostCommitHook> getPostCommitHooks()
      Operations for connector to trigger post-commit.

      Usage:

      Returns:
      list of post-commit operations
    • getTransactionReport

      public TransactionReport getTransactionReport()
      Returns:
      the report and metrics for this transaction
    • getPostCommitSnapshot

      public Optional<Snapshot> getPostCommitSnapshot()
      Return the snapshot at the committed version.

      Currently, Kernel does not support getting the post-commit snapshot for transactions that experienced conflicts.