|
Lance C/C++ Bindings
C ABI and header-only C++ RAII wrappers for the Lance columnar data format
|
#include <lance/lance.h>
Public Attributes | |
| LanceCommitLockAcquire | lock |
| LanceCommitLockRelease | release |
| LanceCommitLeaseDestroy | destroy_lease |
| void * | callback_ctx |
| LanceCommitLockContextRelease | release_context |
Foreign commit lock.
lock and release are required; destroy_lease and release_context are optional. The table is copied by lance_commit_lock_new. callback_ctx is borrowed by every callback and may be NULL. Context ownership transfers only when construction succeeds: on failure release_context is never called.
Datasets, scanners and in-flight native jobs retain their own native context owner. Closing a LanceCommitLock handle only drops that handle's owner; retained datasets keep working. Keep the lock handle alive when staging a transaction and pass it to the matching commit entry point.
| LanceCommitLeaseDestroy LanceCommitLockCallbacks::destroy_lease |
| LanceCommitLockAcquire LanceCommitLockCallbacks::lock |
| LanceCommitLockRelease LanceCommitLockCallbacks::release |
| LanceCommitLockContextRelease LanceCommitLockCallbacks::release_context |