Package io.delta.kernel.internal.hook
Class ChecksumSimpleHook
Object
io.delta.kernel.internal.hook.ChecksumSimpleHook
- All Implemented Interfaces:
PostCommitHook
A post-commit hook that writes a new checksum file at the version committed by the transaction.
This hook performs a simple checksum operation without requiring previous checkpoint or log
reading.
-
Nested Class Summary
Nested classes/interfaces inherited from interface io.delta.kernel.hook.PostCommitHook
PostCommitHook.PostCommitHookType -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetType()voidthreadSafeInvoke(Engine engine) Invokes the post commit operation whose implementation must be thread safe.
-
Constructor Details
-
ChecksumSimpleHook
-
-
Method Details
-
threadSafeInvoke
Description copied from interface:PostCommitHookInvokes the post commit operation whose implementation must be thread safe.- Specified by:
threadSafeInvokein interfacePostCommitHook- Throws:
IOException
-
getType
- Specified by:
getTypein interfacePostCommitHook
-