Skip to content

PostCommitHook

PostCommitHook is an abstraction of post-commit hooks to be executed right after a successful transaction commit).

Contract

Name

name: String

User-friendly name of the hook (for error reporting)

See:

Used when:

Executing Post-Commit Hook

run(
  spark: SparkSession,
  txn: OptimisticTransactionImpl,
  committedVersion: Long,
  postCommitSnapshot: Snapshot,
  committedActions: Seq[Action]): Unit

See:

Used when:

Implementations