![]() |
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 <StorageClient.h>
Inheritance diagram for pdb::StorageClient:
Collaboration diagram for pdb::StorageClient:Public Member Functions | |
| StorageClient (int port, std::string address, PDBLoggerPtr myLogger, bool usePangea=false) | |
| virtual void | registerHandlers (PDBServer &forMe) override |
| bool | registerType (std::string fileContainingSharedLib, std::string &errMsg) |
| std::string | getObjectType (std::string databaseName, std::string setName, std::string &errMsg) |
| bool | createDatabase (std::string databaseName, std::string &errMsg) |
| bool | shutDownServer (std::string &errMsg) |
| bool | flushData (std::string &errMsg) |
| template<class DataType > | |
| bool | createSet (std::string databaseName, std::string setName, std::string &errMsg) |
| template<class DataType > | |
| bool | removeSet (std::string databaseName, std::string setName, std::string &errMsg) |
| template<class DataType > | |
| bool | storeData (Handle< Vector< Handle< DataType >>> data, std::string databaseName, std::string setName, std::string &errMsg, bool typeCheck=true) |
| bool | storeData (Handle< Vector< Handle< Object >>> data, std::string databaseName, std::string setName, std::string typeName, std::string &errMsg) |
| template<class DataType > | |
| bool | retrieveData (std::string databaseName, std::string setName, std::string &errMsg) |
| template<class DataType > | |
| bool | scanData (std::string databaseName, std::string setName, std::string &errMsg) |
| template<class DataType > | |
| bool | copyData (std::string srcDatabaseName, std::string srcSetName, std::string destDatabaseName, std::string destSetName, 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 Attributes | |
| CatalogClient | myHelper |
| int | port |
| std::string | address |
| PDBLoggerPtr | myLogger |
| bool | usePangea |
Definition at line 37 of file StorageClient.h.
| pdb::StorageClient::StorageClient | ( | int | port, |
| std::string | address, | ||
| PDBLoggerPtr | myLogger, | ||
| bool | usePangea = false |
||
| ) |
Definition at line 27 of file StorageClient.cc.
| bool pdb::StorageClient::copyData | ( | std::string | srcDatabaseName, |
| std::string | srcSetName, | ||
| std::string | destDatabaseName, | ||
| std::string | destSetName, | ||
| std::string & | errMsg | ||
| ) |
Definition at line 229 of file StorageClientTemplate.cc.
| bool pdb::StorageClient::createDatabase | ( | std::string | databaseName, |
| std::string & | errMsg | ||
| ) |
| bool pdb::StorageClient::createSet | ( | std::string | databaseName, |
| std::string | setName, | ||
| std::string & | errMsg | ||
| ) |
| bool pdb::StorageClient::flushData | ( | std::string & | errMsg | ) |
Definition at line 52 of file StorageClient.cc.
| std::string pdb::StorageClient::getObjectType | ( | std::string | databaseName, |
| std::string | setName, | ||
| std::string & | errMsg | ||
| ) |
|
overridevirtual |
Implements pdb::ServerFunctionality.
Definition at line 40 of file StorageClient.cc.
| bool pdb::StorageClient::registerType | ( | std::string | fileContainingSharedLib, |
| std::string & | errMsg | ||
| ) |
| bool pdb::StorageClient::removeSet | ( | std::string | databaseName, |
| std::string | setName, | ||
| std::string & | errMsg | ||
| ) |
Definition at line 101 of file StorageClientTemplate.cc.
| bool pdb::StorageClient::retrieveData | ( | std::string | databaseName, |
| std::string | setName, | ||
| std::string & | errMsg | ||
| ) |
| bool pdb::StorageClient::scanData | ( | std::string | databaseName, |
| std::string | setName, | ||
| std::string & | errMsg | ||
| ) |
Definition at line 199 of file StorageClientTemplate.cc.
| bool pdb::StorageClient::shutDownServer | ( | std::string & | errMsg | ) |
| bool pdb::StorageClient::storeData | ( | Handle< Vector< Handle< Object >>> | data, |
| std::string | databaseName, | ||
| std::string | setName, | ||
| std::string | typeName, | ||
| std::string & | errMsg | ||
| ) |
Definition at line 97 of file StorageClient.cc.
|
private |
Definition at line 107 of file StorageClient.h.
|
private |
Definition at line 104 of file StorageClient.h.
|
private |
Definition at line 108 of file StorageClient.h.
|
private |
Definition at line 106 of file StorageClient.h.
|
private |
Definition at line 110 of file StorageClient.h.