73 SwatDB(std::string metadata_filename);
FileManager * getFileMgr()
Gets the SwatDB FileManager.
Definition: swatdb.h:145
void setDestroyDB()
sets the DB to be destroyed on shutdown.
DiskManager * getDiskMgr()
Gets the SwatDB DiskManager.
Definition: swatdb.h:135
bool saved
Definition: swatdb.h:182
void setSaveDB(std::string filename)
sets the DB to be saved on shutdown.
DiskManager * disk_mgr
Definition: swatdb.h:163
~SwatDB()
Shutdown SwatDB.
Catalog * cat
Definition: swatdb.h:158
FileManager * file_mgr
Definition: swatdb.h:174
BufferManager * getBufMgr()
Gets the SwatDB BufferManager.
Definition: swatdb.h:140
std::string inited_file_name
Definition: swatdb.h:187
BufferManager * buf_mgr
Definition: swatdb.h:169
Definition: catalog.h:134
std::string saved_file_name
Definition: swatdb.h:192
Catalog * getCatalog()
Gets the SwatDB Catalog.
Definition: swatdb.h:130