OmniSciDB
a5dc49c757
|
Functions | |
ChunkKey | chunk_key_for_table (const Catalog_Namespace::Catalog &cat, const std::string &tableName) |
template<typename LOCK_TYPE , typename LOCK_MGR_TYPE > | |
LOCK_TYPE | getLockForKeyImpl (const ChunkKey &chunk_key) |
template<typename LOCK_TYPE , typename LOCK_MGR_TYPE > | |
LOCK_TYPE | getLockForTableImpl (const Catalog_Namespace::Catalog &cat, const std::string &table_name) |
ChunkKey lockmgr::helpers::chunk_key_for_table | ( | const Catalog_Namespace::Catalog & | cat, |
const std::string & | tableName | ||
) |
Definition at line 25 of file LockMgr.cpp.
References Catalog_Namespace::DBMetadata::dbId, Catalog_Namespace::DBMetadata::dbName, Catalog_Namespace::Catalog::getCurrentDB(), and Catalog_Namespace::Catalog::getTableId().
Referenced by getLockForTableImpl().
LOCK_TYPE lockmgr::helpers::getLockForKeyImpl | ( | const ChunkKey & | chunk_key | ) |
Definition at line 116 of file LockMgrImpl.h.
References lockmgr::instance().
LOCK_TYPE lockmgr::helpers::getLockForTableImpl | ( | const Catalog_Namespace::Catalog & | cat, |
const std::string & | table_name | ||
) |
Definition at line 122 of file LockMgrImpl.h.
References chunk_key_for_table(), and lockmgr::instance().