#include <TableRegister.h>
Public Member Functions | |
bool | checkColumn (const std::string &tableName, const std::string &columnName) |
bool | checkTable (const std::string &tableName) |
bool | insertColumn (const std::string &tableName, const std::string &columnName) |
bool | insertColumns (const std::string &tableName, const std::vector< std::string > &columns) |
void | insertTable (const std::string &tableName) |
size_t | numberOfColumns (const std::string &tableName) |
TableRegister (coral::ISchema &schema) | |
virtual | ~TableRegister () |
Private Member Functions | |
void | init () |
Private Attributes | |
std::set< std::string > * | m_currentColumns |
const std::string * | m_currentTable |
bool | m_init |
std::map< std::string, std::set< std::string > > | m_register |
coral::ISchema & | m_schema |
Definition at line 16 of file TableRegister.h.
|
explicit |
Definition at line 9 of file TableRegister.cc.
|
virtual |
Definition at line 13 of file TableRegister.cc.
bool ora::TableRegister::checkColumn | ( | const std::string & | tableName, |
const std::string & | columnName | ||
) |
Definition at line 47 of file TableRegister.cc.
References init.
Referenced by ora::processLeafElement().
bool ora::TableRegister::checkTable | ( | const std::string & | tableName | ) |
Definition at line 32 of file TableRegister.cc.
References init.
Referenced by ora::processLeafElement().
|
private |
Definition at line 16 of file TableRegister.cc.
References i, and TableParser::table.
bool ora::TableRegister::insertColumn | ( | const std::string & | tableName, |
const std::string & | columnName | ||
) |
Definition at line 71 of file TableRegister.cc.
References init.
Referenced by ora::processLeafElement().
bool ora::TableRegister::insertColumns | ( | const std::string & | tableName, |
const std::vector< std::string > & | columns | ||
) |
Definition at line 88 of file TableRegister.cc.
References init.
void ora::TableRegister::insertTable | ( | const std::string & | tableName | ) |
Definition at line 64 of file TableRegister.cc.
References init.
size_t ora::TableRegister::numberOfColumns | ( | const std::string & | tableName | ) |
Definition at line 108 of file TableRegister.cc.
References init.
|
private |
Definition at line 50 of file TableRegister.h.
|
private |
Definition at line 48 of file TableRegister.h.
|
private |
Definition at line 44 of file TableRegister.h.
|
private |
Definition at line 46 of file TableRegister.h.
|
private |
Definition at line 42 of file TableRegister.h.