149 Catalog(std::string db_metadata_file);
209 std::string file_name);
223 void deleteEntry(
FileId file_id);
237 std::string getFileName(
FileId file_id);
252 FileId getFileId(std::string name);
304 std::vector<FileId> getFileIds();
326 void _setFile(
FileId file_id,
File *file_ptr);
334 void _saveDBStateToFile(std::string db_metadata_filename);
CatType
Definition: swatdb_types.h:98
std::string name
Definition: catalog.h:69
std::mutex cat_mux
Definition: catalog.h:355
File * file
Definition: catalog.h:84
FileId file_id
Definition: catalog.h:64
FileId next_fid
Definition: catalog.h:350
bool alloced
Definition: catalog.h:99
std::string file_name
Definition: catalog.h:89
Definition: catalog.h:134
CatType entry_type
Definition: catalog.h:74
Schema * schema
Definition: catalog.h:79
bool valid
Definition: catalog.h:94
std::uint32_t FileId
Definition: swatdb_types.h:29
std::vector< CatalogEntry > entries
Definition: catalog.h:343