Package io.delta.kernel.hook
Interface PostCommitHook
- All Known Implementing Classes:
CheckpointHook,ChecksumFullHook,ChecksumSimpleHook,LogCompactionHook
public interface PostCommitHook
A hook for executing operation after a transaction commit. Hooks are added in the Transaction and
engine need to invoke the hook explicitly for executing the operation. Supported operations are
listed in
PostCommitHook.PostCommitHookType.-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptiongetType()voidthreadSafeInvoke(Engine engine) Invokes the post commit operation whose implementation must be thread safe.
-
Method Details
-
threadSafeInvoke
Invokes the post commit operation whose implementation must be thread safe.- Throws:
IOException
-
getType
PostCommitHook.PostCommitHookType getType()
-