#include <StatisticsDB.h>
|
| StatisticsDB (ConfigurationPtr conf) |
|
| ~StatisticsDB () |
|
bool | openDB () |
|
bool | closeDB () |
|
bool | createTables () |
|
bool | execDB (std::string cmdString) |
|
bool | createDir () |
|
bool | createData (std::string databaseName, std::string setName, std::string created_jobId, std::string setType, std::string className, int typeId, size_t pageSize, long &id) |
|
bool | updateDataForSize (long id, size_t size) |
|
bool | updateDataForRemoval (long id) |
|
bool | createDataTransformation (long input_data_id, long output_data_id, int num_partitions, int num_nodes, std::string transformationType, std::string tcap, Handle< Vector< Handle< Computation >>> computations, long &id) |
|
std::vector< std::shared_ptr
< TransformedSet > > | getTransformedSets (std::pair< std::string, std::string > databaseAndSetName) |
|
long | getLatestId (std::string tableName) |
|
long | getLatestDataId (std::pair< std::string, std::string > databaseAndSetName) |
|
long | getLatestTransformationId () |
|
|
std::string | quoteStr (std::string &s) |
|
void | replaceStr (std::string &str, const std::string &oldStr, const std::string &newStr) |
|
Definition at line 19 of file StatisticsDB.h.
pdb::StatisticsDB::~StatisticsDB |
( |
| ) |
|
bool pdb::StatisticsDB::closeDB |
( |
| ) |
|
bool pdb::StatisticsDB::createData |
( |
std::string |
databaseName, |
|
|
std::string |
setName, |
|
|
std::string |
created_jobId, |
|
|
std::string |
setType, |
|
|
std::string |
className, |
|
|
int |
typeId, |
|
|
size_t |
pageSize, |
|
|
long & |
id |
|
) |
| |
bool pdb::StatisticsDB::createDataTransformation |
( |
long |
input_data_id, |
|
|
long |
output_data_id, |
|
|
int |
num_partitions, |
|
|
int |
num_nodes, |
|
|
std::string |
transformationType, |
|
|
std::string |
tcap, |
|
|
Handle< Vector< Handle< Computation >>> |
computations, |
|
|
long & |
id |
|
) |
| |
bool pdb::StatisticsDB::createDir |
( |
| ) |
|
bool pdb::StatisticsDB::createTables |
( |
| ) |
|
bool pdb::StatisticsDB::execDB |
( |
std::string |
cmdString | ) |
|
long pdb::StatisticsDB::getLatestDataId |
( |
std::pair< std::string, std::string > |
databaseAndSetName | ) |
|
long pdb::StatisticsDB::getLatestId |
( |
std::string |
tableName | ) |
|
long pdb::StatisticsDB::getLatestTransformationId |
( |
| ) |
|
std::vector< std::shared_ptr< TransformedSet > > pdb::StatisticsDB::getTransformedSets |
( |
std::pair< std::string, std::string > |
databaseAndSetName | ) |
|
bool pdb::StatisticsDB::openDB |
( |
| ) |
|
std::string pdb::StatisticsDB::quoteStr |
( |
std::string & |
s | ) |
|
|
protected |
void pdb::StatisticsDB::replaceStr |
( |
std::string & |
str, |
|
|
const std::string & |
oldStr, |
|
|
const std::string & |
newStr |
|
) |
| |
|
protected |
bool pdb::StatisticsDB::updateDataForRemoval |
( |
long |
id | ) |
|
bool pdb::StatisticsDB::updateDataForSize |
( |
long |
id, |
|
|
size_t |
size |
|
) |
| |
long pdb::StatisticsDB::dataId = 0 |
|
private |
std::string pdb::StatisticsDB::pathToDBFile = "dbFile" |
|
private |
sqlite3* pdb::StatisticsDB::statisticsDBHandler = nullptr |
|
private |
long pdb::StatisticsDB::transformationId = 0 |
|
private |
The documentation for this class was generated from the following files: