![]() |
A platform for high-performance distributed tool and library development written in C++. It can be deployed in two different cluster modes: standalone or distributed. API for v0.5.0, released on June 13, 2018.
|
#include <DistributedStorageManagerClient.h>
Inheritance diagram for pdb::DistributedStorageManagerClient:
Collaboration diagram for pdb::DistributedStorageManagerClient:Public Member Functions | |
| DistributedStorageManagerClient () | |
| DistributedStorageManagerClient (int portIn, std::string addressIn, PDBLoggerPtr myLoggerIn) | |
| ~DistributedStorageManagerClient () | |
| void | registerHandlers (PDBServer &forMe) |
| bool | createDatabase (const std::string &databaseName, std::string &errMsg) |
| bool | createSet (const std::string &databaseName, const std::string &setName, const std::string &typeName, std::string &errMsg, size_t pageSize=DEFAULT_PAGE_SIZE) |
| bool | createTempSet (const std::string &databaseName, const std::string &setName, const std::string &typeName, std::string &errMsg, size_t pageSize=DEFAULT_PAGE_SIZE) |
| template<class DataType > | |
| bool | createSet (const std::string &databaseName, const std::string &setName, std::string &errMsg, size_t pageSize=DEFAULT_PAGE_SIZE) |
| bool | flushData (std::string &errMsg) |
| bool | removeDatabase (const std::string &databaseName, std::string &errMsg) |
| bool | removeSet (const std::string &databaseName, const std::string &setName, std::string &errMsg) |
| bool | clearSet (const std::string &databaseName, const std::string &setName, const std::string &typeName, std::string &errMsg) |
| bool | removeTempSet (const std::string &databaseName, const std::string &setName, const std::string &typeName, std::string &errMsg) |
| bool | exportSet (const std::string &databaseName, const std::string &setName, const std::string &outputFilePath, const std::string &format, std::string &errMsg) |
Public Member Functions inherited from pdb::ServerFunctionality | |
| virtual void | cleanup () |
| template<class Functionality > | |
| Functionality & | getFunctionality () |
| void | recordServer (PDBServer &recordMe) |
| PDBWorkerPtr | getWorker () |
| PDBLoggerPtr | getLogger () |
Private Member Functions | |
| std::function< bool(Handle < SimpleRequestResult >)> | generateResponseHandler (std::string description, std::string &errMsg) |
Private Attributes | |
| int | port |
| std::string | address |
| PDBLoggerPtr | logger |
Definition at line 33 of file DistributedStorageManagerClient.h.
| pdb::DistributedStorageManagerClient::DistributedStorageManagerClient | ( | ) |
Definition at line 36 of file DistributedStorageManagerClient.cc.
| pdb::DistributedStorageManagerClient::DistributedStorageManagerClient | ( | int | portIn, |
| std::string | addressIn, | ||
| PDBLoggerPtr | myLoggerIn | ||
| ) |
Definition at line 38 of file DistributedStorageManagerClient.cc.
| pdb::DistributedStorageManagerClient::~DistributedStorageManagerClient | ( | ) |
Definition at line 45 of file DistributedStorageManagerClient.cc.
| bool pdb::DistributedStorageManagerClient::clearSet | ( | const std::string & | databaseName, |
| const std::string & | setName, | ||
| const std::string & | typeName, | ||
| std::string & | errMsg | ||
| ) |
Definition at line 165 of file DistributedStorageManagerClient.cc.
Here is the call graph for this function:| bool pdb::DistributedStorageManagerClient::createDatabase | ( | const std::string & | databaseName, |
| std::string & | errMsg | ||
| ) |
Definition at line 53 of file DistributedStorageManagerClient.cc.
Here is the call graph for this function:
Here is the caller graph for this function:| bool pdb::DistributedStorageManagerClient::createSet | ( | const std::string & | databaseName, |
| const std::string & | setName, | ||
| const std::string & | typeName, | ||
| std::string & | errMsg, | ||
| size_t | pageSize = DEFAULT_PAGE_SIZE |
||
| ) |
Definition at line 65 of file DistributedStorageManagerClient.cc.
Here is the call graph for this function:| bool pdb::DistributedStorageManagerClient::createSet | ( | const std::string & | databaseName, |
| const std::string & | setName, | ||
| std::string & | errMsg, | ||
| size_t | pageSize = DEFAULT_PAGE_SIZE |
||
| ) |
Definition at line 38 of file DistributedStorageManagerClientTemplate.cc.
Here is the call graph for this function:| bool pdb::DistributedStorageManagerClient::createTempSet | ( | const std::string & | databaseName, |
| const std::string & | setName, | ||
| const std::string & | typeName, | ||
| std::string & | errMsg, | ||
| size_t | pageSize = DEFAULT_PAGE_SIZE |
||
| ) |
Definition at line 83 of file DistributedStorageManagerClient.cc.
Here is the call graph for this function:
Here is the caller graph for this function:| bool pdb::DistributedStorageManagerClient::exportSet | ( | const std::string & | databaseName, |
| const std::string & | setName, | ||
| const std::string & | outputFilePath, | ||
| const std::string & | format, | ||
| std::string & | errMsg | ||
| ) |
Definition at line 146 of file DistributedStorageManagerClient.cc.
Here is the call graph for this function:| bool pdb::DistributedStorageManagerClient::flushData | ( | std::string & | errMsg | ) |
Definition at line 182 of file DistributedStorageManagerClient.cc.
Here is the call graph for this function:
|
private |
Definition at line 195 of file DistributedStorageManagerClient.cc.
Here is the caller graph for this function:
|
virtual |
Implements pdb::ServerFunctionality.
Definition at line 49 of file DistributedStorageManagerClient.cc.
| bool pdb::DistributedStorageManagerClient::removeDatabase | ( | const std::string & | databaseName, |
| std::string & | errMsg | ||
| ) |
Definition at line 102 of file DistributedStorageManagerClient.cc.
Here is the call graph for this function:| bool pdb::DistributedStorageManagerClient::removeSet | ( | const std::string & | databaseName, |
| const std::string & | setName, | ||
| std::string & | errMsg | ||
| ) |
Definition at line 115 of file DistributedStorageManagerClient.cc.
Here is the call graph for this function:| bool pdb::DistributedStorageManagerClient::removeTempSet | ( | const std::string & | databaseName, |
| const std::string & | setName, | ||
| const std::string & | typeName, | ||
| std::string & | errMsg | ||
| ) |
Definition at line 129 of file DistributedStorageManagerClient.cc.
Here is the call graph for this function:
Here is the caller graph for this function:
|
private |
Definition at line 103 of file DistributedStorageManagerClient.h.
|
private |
Definition at line 104 of file DistributedStorageManagerClient.h.
|
private |
Definition at line 102 of file DistributedStorageManagerClient.h.