17namespace transaction {
34 std::unique_ptr<CatalogEntry> entry);
40 std::lock_guard lck{mtx};
54 std::unique_ptr<CatalogEntry> entry);
59 const std::string& name)
const;
61 void emplaceNoLock(std::unique_ptr<CatalogEntry> entry);
62 void eraseNoLock(
const std::string& name);
64 std::unique_ptr<CatalogEntry> createDummyEntryNoLock(std::string name)
const;
#define KUZU_API
Definition api.h:25
Definition catalog_entry.h:18
Definition catalog_set.h:24
uint64_t assignNextOID()
Definition catalog_set.h:39
static std::unique_ptr< CatalogSet > deserialize(common::Deserializer &deserializer)
void serialize(common::Serializer serializer) const
CatalogEntry * getEntry(transaction::Transaction *transaction, const std::string &name)
bool containsEntry(transaction::Transaction *transaction, const std::string &name)
KUZU_API void createEntry(transaction::Transaction *transaction, std::unique_ptr< CatalogEntry > entry)
void alterEntry(transaction::Transaction *transaction, const binder::BoundAlterInfo &alterInfo)
CatalogEntrySet getEntries(transaction::Transaction *transaction)
void dropEntry(transaction::Transaction *transaction, const std::string &name)
Definition deserializer.h:15
Definition serializer.h:15
Definition undo_buffer.h:71
Definition transaction.h:28
std::unordered_map< std::string, T, CaseInsensitiveStringHashFunction, CaseInsensitiveStringEquality > case_insensitive_map_t
Definition case_insensitive_map.h:21
Definition alter_type.h:5
common::case_insensitive_map_t< catalog::CatalogEntry * > CatalogEntrySet
Definition catalog_set.h:21
Definition bound_alter_info.h:25