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

#include <lance/detail/declarations.hpp>

Public Types

using Acquire = std::function<std::unique_ptr<CommitLease>(uint64_t)>
 

Public Member Functions

 CommitLock (Acquire acquire)
 
 ~CommitLock ()
 
 CommitLock (CommitLock &&) noexcept
 
CommitLock & operator= (CommitLock &&) noexcept
 
 CommitLock (const CommitLock &)=delete
 
CommitLock & operator= (const CommitLock &)=delete
 
const LanceCommitLock * c_handle () const
 

Detailed Description

Definition at line 1853 of file declarations.hpp.

Member Typedef Documentation

◆ Acquire

using lance::CommitLock::Acquire = std::function<std::unique_ptr<CommitLease>(uint64_t)>

Acquire a lease for a manifest base version. Returning nullptr is a stateless lock. Throw lance::Error to report a specific code.

Definition at line 1860 of file declarations.hpp.

Constructor & Destructor Documentation

◆ CommitLock() [1/3]

lance::CommitLock::CommitLock ( Acquire acquire)
explicit

◆ ~CommitLock()

lance::CommitLock::~CommitLock ( )
inlinedefault

◆ CommitLock() [2/3]

lance::CommitLock::CommitLock ( CommitLock && )
inlinedefaultnoexcept

◆ CommitLock() [3/3]

lance::CommitLock::CommitLock ( const CommitLock & )
delete

Member Function Documentation

◆ c_handle()

const LanceCommitLock * lance::CommitLock::c_handle ( ) const

◆ operator=() [1/2]

CommitLock & lance::CommitLock::operator= ( CommitLock && )
inlinedefaultnoexcept

◆ operator=() [2/2]

CommitLock & lance::CommitLock::operator= ( const CommitLock & )
delete

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