10#ifndef _SWATDB_SWATDB_H_
11#define _SWATDB_SWATDB_H_
84 SwatDB(std::string metadata_filename,
const char *result_path,
Definition relopsmgr.h:46
void setDestroyDB()
sets the DB to be destroyed on shutdown.
FileManager * getFileMgr()
Gets the SwatDB FileManager.
Definition swatdb.h:157
BufferManager * buf_mgr
Definition swatdb.h:190
BufferManager * getBufMgr()
Gets the SwatDB BufferManager.
Definition swatdb.h:152
RelOpsManager * getRelOpsMgr()
Gets the SwatDB RelopsManager.
Definition swatdb.h:162
SwatDB(std::string metadata_filename, const char *result_path, RepType rep_pol=ClockT)
Constructor to init SwatDB from a metadata file.
std::string inited_file_name
Definition swatdb.h:213
void setSaveDB(std::string filename)
sets the DB to be saved on shutdown.
~SwatDB()
Shutdown SwatDB.
SwatDB(const char *result_path, RepType rep_pol=ClockT)
Constructor.
Catalog * cat
Definition swatdb.h:175
std::string saved_file_name
Definition swatdb.h:218
DiskManager * disk_mgr
Definition swatdb.h:180
bool saved
Definition swatdb.h:208
DiskManager * getDiskMgr()
Gets the SwatDB DiskManager.
Definition swatdb.h:147
FileManager * file_mgr
Definition swatdb.h:195
RelOpsManager * relops_mgr
Definition swatdb.h:200
Catalog * getCatalog()
Gets the SwatDB Catalog.
Definition swatdb.h:142
RepType
Definition swatdb_types.h:167