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.
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
CatalogStandardDatabaseMetadata Class Reference

#include <CatalogStandardDatabaseMetadata.h>

+ Collaboration diagram for CatalogStandardDatabaseMetadata:

Public Member Functions

 CatalogStandardDatabaseMetadata ()
 
 CatalogStandardDatabaseMetadata (string dbIdIn, string dbNameIn, string userCreatorIn, string createdOnIn, string lastModifiedIn)
 
 CatalogStandardDatabaseMetadata (const CatalogStandardDatabaseMetadata &pdbDatabaseToCopy)
 
void setValues (string dbIdIn, string dbNameIn, string userCreatorIn, string createdOnIn, string lastModifiedIn)
 
 ~CatalogStandardDatabaseMetadata ()
 
void addPermission (CatalogStandardPermissionsMetadata &permissionsIn)
 
void addNode (string &nodeIn)
 
void addSet (string &setIn)
 
void addSetToMap (string &setName, string &nodeIP)
 
void addNodeToMap (string &nodeIP, string &setName)
 
void addType (string &typeIn)
 
void replaceListOfSets (vector< string > &newList)
 
void replaceListOfNodes (vector< string > &newList)
 
void replaceMapOfSets (map< string, vector< string >> &newMap)
 
void replaceMapOfNodes (map< string, vector< string >> &newMap)
 
void deleteSet (string setName)
 
void removeNodeFromSet (string node, string set)
 
void deleteNodeFromMap (string &nodeIP, string &setName)
 
void deleteType (string &typeIn)
 
vector< string > getListOfNodes ()
 
vector< string > getListOfSets ()
 
vector< string > getListOfTypes ()
 
vector
< CatalogStandardPermissionsMetadata
getListOfPermissions ()
 
string getItemId ()
 
string getItemName ()
 
string getItemKey ()
 
string getUserCreator ()
 
string getCreatedOn ()
 
string getLastModified ()
 
void setItemKey (string &itemKeyIn)
 
void setItemId (string &idIn)
 
void setItemName (string &itemNameIn)
 
map< string, vector< string > > getSetsInDB ()
 
map< string, vector< string > > getNodesInDB ()
 
string printShort ()
 

Private Member Functions

void deleteSetFromSetList (string &setName)
 
void deleteSetFromSetMap (string &setName)
 
void deleteNodeFromSingleSet (string &node, string &setName)
 
void deleteSetFromSingleNode (string &setName, string &node)
 
void deleteSetFromNodeMap (string &setName)
 

Private Attributes

string dbId
 
string dbName
 
string userCreator
 
string createdOn
 
string lastModified
 
map< string, vector< string > > setsInDB
 
map< string, vector< string > > nodesInDB
 
vector< string > listOfNodes
 
vector< string > listOfSets
 
vector< string > listOfTypes
 
vector
< CatalogStandardPermissionsMetadata
listOfPermissions
 

Friends

std::ostream & operator<< (std::ostream &out, CatalogStandardDatabaseMetadata &database)
 

Detailed Description

Definition at line 42 of file CatalogStandardDatabaseMetadata.h.

Constructor & Destructor Documentation

CatalogStandardDatabaseMetadata::CatalogStandardDatabaseMetadata ( )

Definition at line 33 of file CatalogStandardDatabaseMetadata.cc.

CatalogStandardDatabaseMetadata::CatalogStandardDatabaseMetadata ( string  dbIdIn,
string  dbNameIn,
string  userCreatorIn,
string  createdOnIn,
string  lastModifiedIn 
)

Definition at line 35 of file CatalogStandardDatabaseMetadata.cc.

CatalogStandardDatabaseMetadata::CatalogStandardDatabaseMetadata ( const CatalogStandardDatabaseMetadata pdbDatabaseToCopy)

Definition at line 41 of file CatalogStandardDatabaseMetadata.cc.

CatalogStandardDatabaseMetadata::~CatalogStandardDatabaseMetadata ( )

Definition at line 66 of file CatalogStandardDatabaseMetadata.cc.

Member Function Documentation

void CatalogStandardDatabaseMetadata::addNode ( string &  nodeIn)

Definition at line 73 of file CatalogStandardDatabaseMetadata.cc.

void CatalogStandardDatabaseMetadata::addNodeToMap ( string &  nodeIP,
string &  setName 
)

Definition at line 90 of file CatalogStandardDatabaseMetadata.cc.

void CatalogStandardDatabaseMetadata::addPermission ( CatalogStandardPermissionsMetadata permissionsIn)

Definition at line 68 of file CatalogStandardDatabaseMetadata.cc.

void CatalogStandardDatabaseMetadata::addSet ( string &  setIn)

Definition at line 78 of file CatalogStandardDatabaseMetadata.cc.

void CatalogStandardDatabaseMetadata::addSetToMap ( string &  setName,
string &  nodeIP 
)

Definition at line 83 of file CatalogStandardDatabaseMetadata.cc.

void CatalogStandardDatabaseMetadata::addType ( string &  typeIn)

Definition at line 97 of file CatalogStandardDatabaseMetadata.cc.

void CatalogStandardDatabaseMetadata::deleteNodeFromMap ( string &  nodeIP,
string &  setName 
)

Definition at line 138 of file CatalogStandardDatabaseMetadata.cc.

+ Here is the call graph for this function:

void CatalogStandardDatabaseMetadata::deleteNodeFromSingleSet ( string &  node,
string &  setName 
)
private

Definition at line 275 of file CatalogStandardDatabaseMetadata.cc.

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void CatalogStandardDatabaseMetadata::deleteSet ( string  setName)

Deletes a set from the listOfSets, along with the set->nodes map and the nodes->set map

Parameters
whichSetDeletes a set from the listOfSets, along with the set.nodes map and the nodes.set map
whichSet

Definition at line 126 of file CatalogStandardDatabaseMetadata.cc.

+ Here is the call graph for this function:

void CatalogStandardDatabaseMetadata::deleteSetFromNodeMap ( string &  setName)
private

Definition at line 285 of file CatalogStandardDatabaseMetadata.cc.

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void CatalogStandardDatabaseMetadata::deleteSetFromSetList ( string &  setName)
private

Definition at line 252 of file CatalogStandardDatabaseMetadata.cc.

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void CatalogStandardDatabaseMetadata::deleteSetFromSetMap ( string &  setName)
private

Definition at line 264 of file CatalogStandardDatabaseMetadata.cc.

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void CatalogStandardDatabaseMetadata::deleteSetFromSingleNode ( string &  setName,
string &  node 
)
private

Definition at line 280 of file CatalogStandardDatabaseMetadata.cc.

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void CatalogStandardDatabaseMetadata::deleteType ( string &  typeIn)
string CatalogStandardDatabaseMetadata::getCreatedOn ( )

Definition at line 177 of file CatalogStandardDatabaseMetadata.cc.

string CatalogStandardDatabaseMetadata::getItemId ( )

Definition at line 169 of file CatalogStandardDatabaseMetadata.cc.

+ Here is the caller graph for this function:

string CatalogStandardDatabaseMetadata::getItemKey ( )

Definition at line 173 of file CatalogStandardDatabaseMetadata.cc.

+ Here is the caller graph for this function:

string CatalogStandardDatabaseMetadata::getItemName ( )

Definition at line 171 of file CatalogStandardDatabaseMetadata.cc.

string CatalogStandardDatabaseMetadata::getLastModified ( )

Definition at line 179 of file CatalogStandardDatabaseMetadata.cc.

vector< string > CatalogStandardDatabaseMetadata::getListOfNodes ( )

Definition at line 152 of file CatalogStandardDatabaseMetadata.cc.

+ Here is the caller graph for this function:

vector< CatalogStandardPermissionsMetadata > CatalogStandardDatabaseMetadata::getListOfPermissions ( )

Definition at line 165 of file CatalogStandardDatabaseMetadata.cc.

vector< string > CatalogStandardDatabaseMetadata::getListOfSets ( )

Definition at line 156 of file CatalogStandardDatabaseMetadata.cc.

+ Here is the caller graph for this function:

vector< string > CatalogStandardDatabaseMetadata::getListOfTypes ( )

Definition at line 160 of file CatalogStandardDatabaseMetadata.cc.

map< string, vector< string > > CatalogStandardDatabaseMetadata::getNodesInDB ( )

Definition at line 197 of file CatalogStandardDatabaseMetadata.cc.

+ Here is the caller graph for this function:

map< string, vector< string > > CatalogStandardDatabaseMetadata::getSetsInDB ( )

Definition at line 193 of file CatalogStandardDatabaseMetadata.cc.

+ Here is the caller graph for this function:

string CatalogStandardDatabaseMetadata::getUserCreator ( )

Definition at line 175 of file CatalogStandardDatabaseMetadata.cc.

string CatalogStandardDatabaseMetadata::printShort ( )

Definition at line 201 of file CatalogStandardDatabaseMetadata.cc.

+ Here is the call graph for this function:

void CatalogStandardDatabaseMetadata::removeNodeFromSet ( string  node,
string  set 
)

Definition at line 132 of file CatalogStandardDatabaseMetadata.cc.

+ Here is the call graph for this function:

void CatalogStandardDatabaseMetadata::replaceListOfNodes ( vector< string > &  newList)

Definition at line 106 of file CatalogStandardDatabaseMetadata.cc.

+ Here is the caller graph for this function:

void CatalogStandardDatabaseMetadata::replaceListOfSets ( vector< string > &  newList)

Definition at line 101 of file CatalogStandardDatabaseMetadata.cc.

+ Here is the caller graph for this function:

void CatalogStandardDatabaseMetadata::replaceMapOfNodes ( map< string, vector< string >> &  newMap)

Definition at line 116 of file CatalogStandardDatabaseMetadata.cc.

+ Here is the caller graph for this function:

void CatalogStandardDatabaseMetadata::replaceMapOfSets ( map< string, vector< string >> &  newMap)

Definition at line 111 of file CatalogStandardDatabaseMetadata.cc.

+ Here is the caller graph for this function:

void CatalogStandardDatabaseMetadata::setItemId ( string &  idIn)

Definition at line 187 of file CatalogStandardDatabaseMetadata.cc.

void CatalogStandardDatabaseMetadata::setItemKey ( string &  itemKeyIn)

Definition at line 183 of file CatalogStandardDatabaseMetadata.cc.

void CatalogStandardDatabaseMetadata::setItemName ( string &  itemNameIn)

Definition at line 189 of file CatalogStandardDatabaseMetadata.cc.

void CatalogStandardDatabaseMetadata::setValues ( string  dbIdIn,
string  dbNameIn,
string  userCreatorIn,
string  createdOnIn,
string  lastModifiedIn 
)

Definition at line 55 of file CatalogStandardDatabaseMetadata.cc.

Friends And Related Function Documentation

std::ostream& operator<< ( std::ostream &  out,
CatalogStandardDatabaseMetadata database 
)
friend

Definition at line 123 of file CatalogStandardDatabaseMetadata.h.

Member Data Documentation

string CatalogStandardDatabaseMetadata::createdOn
private

Definition at line 147 of file CatalogStandardDatabaseMetadata.h.

string CatalogStandardDatabaseMetadata::dbId
private

Definition at line 144 of file CatalogStandardDatabaseMetadata.h.

string CatalogStandardDatabaseMetadata::dbName
private

Definition at line 145 of file CatalogStandardDatabaseMetadata.h.

string CatalogStandardDatabaseMetadata::lastModified
private

Definition at line 148 of file CatalogStandardDatabaseMetadata.h.

vector<string> CatalogStandardDatabaseMetadata::listOfNodes
private

Definition at line 160 of file CatalogStandardDatabaseMetadata.h.

vector<CatalogStandardPermissionsMetadata> CatalogStandardDatabaseMetadata::listOfPermissions
private

Definition at line 173 of file CatalogStandardDatabaseMetadata.h.

vector<string> CatalogStandardDatabaseMetadata::listOfSets
private

Definition at line 165 of file CatalogStandardDatabaseMetadata.h.

vector<string> CatalogStandardDatabaseMetadata::listOfTypes
private

Definition at line 170 of file CatalogStandardDatabaseMetadata.h.

map<string, vector<string> > CatalogStandardDatabaseMetadata::nodesInDB
private

Definition at line 156 of file CatalogStandardDatabaseMetadata.h.

map<string, vector<string> > CatalogStandardDatabaseMetadata::setsInDB
private

Definition at line 152 of file CatalogStandardDatabaseMetadata.h.

string CatalogStandardDatabaseMetadata::userCreator
private

Definition at line 146 of file CatalogStandardDatabaseMetadata.h.


The documentation for this class was generated from the following files: