OmniSciDB
a5dc49c757
|
#include <LockMgr.h>
Static Public Member Functions | |
static auto | acquireTableDescriptor (Catalog_Namespace::Catalog &cat, const std::string &table_name, const bool populate_fragmenter=true) |
static auto | acquireTableDescriptor (Catalog_Namespace::Catalog &cat, const int table_id) |
Private Member Functions | |
TableSchemaLockContainer (const TableDescriptor *obj, WriteLock &&lock) | |
Additional Inherited Members | |
Public Member Functions inherited from lockmgr::LockContainerImpl< const TableDescriptor *, WriteLock > | |
const TableDescriptor * | operator() () const final |
Public Member Functions inherited from lockmgr::AbstractLockContainer< const TableDescriptor * > | |
virtual | ~AbstractLockContainer () |
Protected Member Functions inherited from lockmgr::LockContainerImpl< const TableDescriptor *, WriteLock > | |
LockContainerImpl (const TableDescriptor *obj, WriteLock &&lock) | |
Protected Attributes inherited from lockmgr::LockContainerImpl< const TableDescriptor *, WriteLock > | |
const TableDescriptor * | obj_ |
WriteLock | lock_ |
|
inlineprivate |
|
inlinestatic |
Definition at line 156 of file LockMgr.h.
References Catalog_Namespace::Catalog::getMetadataForTable(), lockmgr::TableLockMgrImpl< TableSchemaLockMgr >::getWriteLockForTable(), lockmgr::validate_table_descriptor_after_lock(), and VLOG.
|
inlinestatic |
Definition at line 167 of file LockMgr.h.
References Catalog_Namespace::DBMetadata::dbName, Catalog_Namespace::Catalog::getCurrentDB(), Catalog_Namespace::Catalog::getTableName(), and to_string().