Lance C/C++ Bindings
C ABI and header-only C++ RAII wrappers for the Lance columnar data format
Loading...
Searching...
No Matches
lance::CommitLease Class Referenceabstract

#include <lance/detail/declarations.hpp>

Public Member Functions

virtual ~CommitLease () noexcept=default
 
virtual void release (bool success)=0
 

Detailed Description

One acquired commit lease.

release mirrors native CommitLease::release: success is true after the manifest is published and false when the attempt is abandoned. It may be called more than once and must be idempotent. Throw lance::Error to report a specific code; any other exception maps to LANCE_ERR_INTERNAL. The object is destroyed exactly once, after the final release callback.

Definition at line 1843 of file declarations.hpp.

Constructor & Destructor Documentation

◆ ~CommitLease()

virtual lance::CommitLease::~CommitLease ( )
virtualdefaultnoexcept

Member Function Documentation

◆ release()

virtual void lance::CommitLease::release ( bool success)
pure virtual

The documentation for this class was generated from the following file: