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
PDBCatalog Class Reference

#include <PDBCatalog.h>

+ Collaboration diagram for PDBCatalog:

Public Member Functions

 PDBCatalog (PDBLoggerPtr logger, string location)
 
 ~PDBCatalog ()
 
void open ()
 
bool registerUserDefinedObject (int16_t typeCode, pdb::Handle< CatalogUserTypeMetadata > &objectToRegister, const string &objectBytes, const string &typeName, const string &fileName, const string &tableName, string &errorMessage)
 
template<class CatalogMetadataType >
bool addMetadataToCatalog (Handle< CatalogMetadataType > &metadataValue, int &metadataCategory, string &errorMessage)
 
template<class CatalogMetadataType >
bool addItemToVector (Handle< CatalogMetadataType > &item, int &key)
 
template<class CatalogMetadataType >
bool updateMetadataInCatalog (pdb::Handle< CatalogMetadataType > &metadataValue, int &metadataCategory, string &errorMessage)
 
template<class CatalogMetadataType >
bool deleteMetadataInCatalog (pdb::Handle< CatalogMetadataType > metadataValue, int &metadataCategory, string &errorMessage)
 
template<class CatalogMetadataType >
bool updateItemInVector (int &index, Handle< CatalogMetadataType > &item)
 
template<class CatalogMetadataType >
bool deleteItemInVector (int &index, Handle< CatalogMetadataType > &item)
 
map< string, CatalogNodeMetadatagetListOfNodesInCluster ()
 
bool getSerializedCatalog (string fileName, string version, string &returnedBytes, string &errorMessage)
 
void setCatalogVersion (string version)
 
string getCatalogVersion ()
 
void getModifiedMetadata (Handle< CatalogPrintMetadata > &itemMetadata)
 
template<class CatalogMetadataType >
bool getMetadataFromCatalog (bool onlyModified, string key, Handle< pdb::Vector< CatalogMetadataType >> &returnedEntries, string &errorMessage, int metadataCategory)
 
int getLastId (int &metadataCategory)
 
string itemName2ItemId (int &metadataCategory, string &key)
 
bool keyIsFound (int &metadataCategory, string &key, string &value)
 
PDBLoggerPtr getLogger ()
 
map< string,
CatalogUserTypeMetadata
getUserDefinedTypesList ()
 
void printsAllCatalogMetadata (std::string &outputString, std::string &errMsg)
 
void listRegisteredDatabases (std::string &outputString, std::string &errMsg)
 
void listRegisteredSetsForADatabase (std::string databaseName, std::string &outputString, std::string &errMsg)
 
void listNodesInCluster (std::string &outputString, std::string &errMsg)
 
void listUserDefinedTypes (std::string &outputString, std::string &errMsg)
 
bool retrievesDynamicLibrary (string fileName, string tableName, Handle< CatalogUserTypeMetadata > &returnedItem, string &returnedSoLibrary, string &errorName)
 
void getListOfDatabases (Handle< Vector< CatalogDatabaseMetadata >> &databasesInCatalog, const string &key)
 
void getListOfSets (Handle< Vector< CatalogSetMetadata >> &setsInCatalog, const string &key)
 
void getListOfNodes (Handle< Vector< CatalogNodeMetadata >> &nodesInCatalog, const string &key)
 
void closeSQLiteHandler ()
 
template<>
bool addItemToVector (Handle< CatalogDatabaseMetadata > &item, int &key)
 
template<>
bool addItemToVector (Handle< CatalogNodeMetadata > &item, int &key)
 
template<>
bool addItemToVector (Handle< CatalogSetMetadata > &item, int &key)
 
template<>
bool addItemToVector (Handle< CatalogUserTypeMetadata > &item, int &key)
 
template<>
bool updateItemInVector (int &index, Handle< CatalogDatabaseMetadata > &item)
 
template<>
bool updateItemInVector (int &index, Handle< CatalogSetMetadata > &item)
 
template<>
bool updateItemInVector (int &index, Handle< CatalogNodeMetadata > &item)
 
template<>
bool updateItemInVector (int &index, Handle< CatalogUserTypeMetadata > &item)
 
template<>
bool deleteItemInVector (int &index, Handle< CatalogSetMetadata > &item)
 
template<>
bool deleteItemInVector (int &index, Handle< CatalogNodeMetadata > &item)
 
template<>
bool deleteItemInVector (int &index, Handle< CatalogDatabaseMetadata > &item)
 
template<>
bool deleteItemInVector (int &index, Handle< CatalogUserTypeMetadata > &item)
 

Private Member Functions

string getMapsPDBOjbect2SQLiteTable (int typeOfObject)
 
void loadsMetadataIntoMemory ()
 
bool catalogSqlQuery (string statement)
 
bool catalogSqlStep (sqlite3_stmt *stmt, string &errorMsg)
 
int createsTempPath ()
 
void setUriPath (string thePath)
 
void deleteTempSoFiles (string filePath)
 

Private Attributes

pthread_mutex_t registerMetadataMutex
 
string catalogVersion
 
PDBLoggerPtr logger
 
sqlite3 * sqliteDBHandler = NULL
 
vector< CatalogDatabaseMetadatadbList
 
Handle< pdb::Vector< Handle
< CatalogUserTypeMetadata > > > 
listUsersInCluster
 
multimap< string,
CatalogUserTypeMetadata
mapUsersInCluster
 
map< string, int16_t > mapTypeNameToTypeID
 
map< int16_t, string > mapTypeIdToTypeName
 
map< string, CatalogNodeMetadataregisteredNodes
 
Handle< Vector
< CatalogNodeMetadata > > 
registeredNodesMetadata
 
map< string, CatalogSetMetadataregisteredSets
 
Handle< Vector
< CatalogSetMetadata > > 
registeredSetsMetadata
 
map< string,
CatalogDatabaseMetadata
registeredDatabases
 
Handle< Vector
< CatalogDatabaseMetadata > > 
registeredDatabasesMetadata
 
map< string,
CatalogUserTypeMetadata
registeredUserDefinedTypes
 
Handle< Vector
< CatalogUserTypeMetadata > > 
registeredUserDefinedTypesMetadata
 
Handle< Map< String, Handle
< Vector< Object > > > > 
catalogContents
 
string uriPath
 
string catalogRootPath
 
string catalogFilename
 
string tempPath
 
map< int, string > mapsPDBOjbect2SQLiteTable
 
map< int, string > mapsPDBArrayOjbect2SQLiteTable
 

Friends

std::ostream & operator<< (std::ostream &out, PDBCatalog &catalog)
 

Detailed Description

Definition at line 80 of file PDBCatalog.h.

Constructor & Destructor Documentation

PDBCatalog::PDBCatalog ( PDBLoggerPtr  logger,
string  location 
)

Constructor

Parameters
loggerthe catalog logger
locationthe path to the location of the catalog (is relative to the pdb root directory

Definition at line 165 of file PDBCatalog.cc.

+ Here is the call graph for this function:

PDBCatalog::~PDBCatalog ( )

Destructor, deletes temporary files.

Definition at line 255 of file PDBCatalog.cc.

Member Function Documentation

template<>
bool PDBCatalog::addItemToVector ( Handle< CatalogDatabaseMetadata > &  item,
int &  key 
)

Definition at line 22 of file PDBCatalog.cc.

template<>
bool PDBCatalog::addItemToVector ( Handle< CatalogNodeMetadata > &  item,
int &  key 
)

Definition at line 30 of file PDBCatalog.cc.

template<>
bool PDBCatalog::addItemToVector ( Handle< CatalogSetMetadata > &  item,
int &  key 
)

Definition at line 38 of file PDBCatalog.cc.

template<>
bool PDBCatalog::addItemToVector ( Handle< CatalogUserTypeMetadata > &  item,
int &  key 
)

Definition at line 46 of file PDBCatalog.cc.

template<class CatalogMetadataType >
bool PDBCatalog::addItemToVector ( Handle< CatalogMetadataType > &  item,
int &  key 
)

loads a registered Metadata item into memory so it can be accessed by the CatalogServer

Parameters
itemencapsulates the object with the metadata
keyis a string key used for maps
Returns
true on success

+ Here is the caller graph for this function:

template<class CatalogMetadataType >
template bool PDBCatalog::addMetadataToCatalog ( Handle< CatalogMetadataType > &  metadataValue,
int &  metadataCategory,
string &  errorMessage 
)

addMetadataToCatalog registers a Metadata item into the Catalog, basically saving it as serialized bytes in an Sqlite table, it then adds that metadata item into memory.

Parameters
metadataValueencapsulates the object with the metadata
metadataCategoryidentifies the metadata category (values are defined in PDBCatalogMsgType)
errorMessageerror message
Returns
true on success

Definition at line 941 of file PDBCatalog.cc.

+ Here is the call graph for this function:

bool PDBCatalog::catalogSqlQuery ( string  statement)
private

Creates a statement from a string and executes the query, returning true if successful

Definition at line 1325 of file PDBCatalog.cc.

+ Here is the caller graph for this function:

bool PDBCatalog::catalogSqlStep ( sqlite3_stmt *  stmt,
string &  errorMsg 
)
private

Executes an sql statement in sqlite3 (insert, update or delete)

Definition at line 1349 of file PDBCatalog.cc.

+ Here is the caller graph for this function:

void PDBCatalog::closeSQLiteHandler ( )

closes the SQLite DB handler once is no longer needed

Definition at line 271 of file PDBCatalog.cc.

int PDBCatalog::createsTempPath ( )
private

Creates a temporary folder to place the shared library files, returns 0 if success

template<>
bool PDBCatalog::deleteItemInVector ( int &  index,
Handle< CatalogSetMetadata > &  item 
)

Definition at line 93 of file PDBCatalog.cc.

template<>
bool PDBCatalog::deleteItemInVector ( int &  index,
Handle< CatalogNodeMetadata > &  item 
)

Definition at line 110 of file PDBCatalog.cc.

template<>
bool PDBCatalog::deleteItemInVector ( int &  index,
Handle< CatalogDatabaseMetadata > &  item 
)

Definition at line 127 of file PDBCatalog.cc.

template<>
bool PDBCatalog::deleteItemInVector ( int &  index,
Handle< CatalogUserTypeMetadata > &  item 
)

Definition at line 145 of file PDBCatalog.cc.

template<class CatalogMetadataType >
bool PDBCatalog::deleteItemInVector ( int &  index,
Handle< CatalogMetadataType > &  item 
)

deletes a registered Metadata item in memory so the changes are visible to the CatalogServer

Parameters
indexis the position in the container
itemis the new metadata content
Returns
true on success

+ Here is the caller graph for this function:

template<class CatalogMetadataType >
template bool PDBCatalog::deleteMetadataInCatalog ( pdb::Handle< CatalogMetadataType >  metadataValue,
int &  metadataCategory,
string &  errorMessage 
)

deletes an existing Metadata item in Sqlite along with its content in memory

Parameters
metadataValueencapsulates the object with the metadata
metadataCategoryidentifies the metadata category (values are defined in PDBCatalogMsgType)
errorMessageerror message
Returns
true on success

Definition at line 1094 of file PDBCatalog.cc.

+ Here is the call graph for this function:

void PDBCatalog::deleteTempSoFiles ( string  filePath)
private

Deletes all shared library files from the temp directory (is called by the destructor)

Definition at line 923 of file PDBCatalog.cc.

string PDBCatalog::getCatalogVersion ( )

gets the version of the catalog as a string

Definition at line 280 of file PDBCatalog.cc.

int PDBCatalog::getLastId ( int &  metadataCategory)

gets the number of items in a given Metadata category, so the id can be properly set prior to the addition of a new item.

Parameters
metadataCategoryis an enum to identify the category of metadata (values are defined in PDBCatalogMsgType)
Returns
the number of items as an int

Definition at line 1157 of file PDBCatalog.cc.

+ Here is the caller graph for this function:

void PDBCatalog::getListOfDatabases ( Handle< Vector< CatalogDatabaseMetadata >> &  databasesInCatalog,
const string &  key 
)

returns the metadata for all Databases registered in the catalog. The information is retrieved from memory rather than disk (SQLite).

Parameters
keyto search for
Returns
a Vector of items

Definition at line 1365 of file PDBCatalog.cc.

void PDBCatalog::getListOfNodes ( Handle< Vector< CatalogNodeMetadata >> &  nodesInCatalog,
const string &  key 
)

returns the metadata for all Nodes registered in the catalog. The information is retrieved from memory rather than disk (SQLite).

Parameters
keyto search for
Returns
a Vector of items

Definition at line 1400 of file PDBCatalog.cc.

map< string, CatalogNodeMetadata > PDBCatalog::getListOfNodesInCluster ( )

returns the list of nodes in the cluster registered in the catalog

Definition at line 1149 of file PDBCatalog.cc.

void PDBCatalog::getListOfSets ( Handle< Vector< CatalogSetMetadata >> &  setsInCatalog,
const string &  key 
)

returns the metadata for all Sets registered in the catalog. The information is retrieved from memory rather than disk (SQLite).

Parameters
keyto search for
Returns
a Vector of items

Definition at line 1385 of file PDBCatalog.cc.

PDBLoggerPtr PDBCatalog::getLogger ( )

Gets the logger for the Catalog

Definition at line 269 of file PDBCatalog.cc.

string PDBCatalog::getMapsPDBOjbect2SQLiteTable ( int  typeOfObject)
private

returns the name of a Sqlite table for a given category of metadata

Definition at line 1153 of file PDBCatalog.cc.

template<class CatalogMetadataType >
bool PDBCatalog::getMetadataFromCatalog ( bool  onlyModified,
string  key,
Handle< pdb::Vector< CatalogMetadataType >> &  returnedEntries,
string &  errorMessage,
int  metadataCategory 
)

retrieves all Metadata from Sqlite for a given category and returns it in a container

Parameters
onlyModified,iftrue will return only entries that were created after a given timestamp, which is passed with the "key" parameter
keyif blank returns all items in the category, otherwise, only the one matching the key (in the case of timestamp the format is Timestamp in milliseconds, for example January 1, 2014 12:00:00 AM is passed as: 1388534400000) and will return all entries created after that given timestamp
returnedEntriesis a Vector of the Objects
errorMessageerror message
metadataCategoryidentifies the metadata category (values are defined in PDBCatalogMsgType)
Returns
true on success

Definition at line 637 of file PDBCatalog.cc.

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void PDBCatalog::getModifiedMetadata ( Handle< CatalogPrintMetadata > &  itemMetadata)

gets a version of the content of the catalog as a printable object

Definition at line 477 of file PDBCatalog.cc.

+ Here is the call graph for this function:

bool PDBCatalog::getSerializedCatalog ( string  fileName,
string  version,
string &  returnedBytes,
string &  errorMessage 
)

retrieves the bytes of the entire catalog, this could be used it one wants to ship the catalog from the manager node to a different machine

Parameters
fileNameis the name of the catalog file
versionis the version to retrieve
returnedBytescontains the bytes encapsulated in a string
errorMessagethe error returned
Returns
true on success

Definition at line 284 of file PDBCatalog.cc.

map< string, CatalogUserTypeMetadata > PDBCatalog::getUserDefinedTypesList ( )

Returns a map with metadata for all user-defined types registered in the catalog

Definition at line 828 of file PDBCatalog.cc.

string PDBCatalog::itemName2ItemId ( int &  metadataCategory,
string &  key 
)

maps the id of a Metadata item given its name

Parameters
metadataCategoryis an enum to identify the category of metadata (values are defined in PDBCatalogMsgType)
Returns
the value of the item

Definition at line 1245 of file PDBCatalog.cc.

bool PDBCatalog::keyIsFound ( int &  metadataCategory,
string &  key,
string &  value 
)

checks if a Metadata item is found in its container

Parameters
metadataCategoryis an enum to identify the category of metadata (values are defined in PDBCatalogMsgType)
keyto search for
Returns
the value of the item

Definition at line 1275 of file PDBCatalog.cc.

void PDBCatalog::listNodesInCluster ( std::string &  outputString,
std::string &  errMsg 
)

Lists the Nodes registered in the catalog.

Definition at line 579 of file PDBCatalog.cc.

+ Here is the caller graph for this function:

void PDBCatalog::listRegisteredDatabases ( std::string &  outputString,
std::string &  errMsg 
)

Lists the Databases registered in the catalog.

Definition at line 593 of file PDBCatalog.cc.

+ Here is the caller graph for this function:

void PDBCatalog::listRegisteredSetsForADatabase ( std::string  databaseName,
std::string &  outputString,
std::string &  errMsg 
)

Lists the Sets for a given database registered in the catalog.

Definition at line 607 of file PDBCatalog.cc.

void PDBCatalog::listUserDefinedTypes ( std::string &  outputString,
std::string &  errMsg 
)

Lists the user-defined types registered in the catalog.

Definition at line 622 of file PDBCatalog.cc.

+ Here is the caller graph for this function:

void PDBCatalog::loadsMetadataIntoMemory ( )
private

loads all Metadata stored in Sqlite and populates the corresponding containers

Definition at line 359 of file PDBCatalog.cc.

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void PDBCatalog::open ( )

Opens an instance of the catalog, retrieves metadata from the sqlite instance and invokes a method for loading retrieved metadata into memory.

Definition at line 309 of file PDBCatalog.cc.

+ Here is the call graph for this function:

void PDBCatalog::printsAllCatalogMetadata ( std::string &  outputString,
std::string &  errMsg 
)

Prints all metadata registered in the catalog

Definition at line 570 of file PDBCatalog.cc.

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

bool PDBCatalog::registerUserDefinedObject ( int16_t  typeCode,
pdb::Handle< CatalogUserTypeMetadata > &  objectToRegister,
const string &  objectBytes,
const string &  typeName,
const string &  fileName,
const string &  tableName,
string &  errorMessage 
)

registers a user-defined type in the Catalog is the typeID already assigned

Parameters
objectToRegistercontains the metadata for this object
objectBytesare the binary bytes of the Shared Library encapsulated as an string
typeNameis a string obtained from the shared library, which identifies the type (e.g. myCoolType)
fileNameis the path+filename of the Shared Library in the local file system (e.g. mypath/mylibs/libMyCoolType.so
tableNameis a string identifying the type of the object (e.g. metrics, data_type)
Returns
true on success

Definition at line 712 of file PDBCatalog.cc.

+ Here is the call graph for this function:

bool PDBCatalog::retrievesDynamicLibrary ( string  fileName,
string  tableName,
Handle< CatalogUserTypeMetadata > &  returnedItem,
string &  returnedSoLibrary,
string &  errorName 
)

Retrieves a dynamic library stored as BLOB in the Catalog returns 1 if success, 0 otherwise.

Definition at line 835 of file PDBCatalog.cc.

+ Here is the call graph for this function:

void PDBCatalog::setCatalogVersion ( string  version)

sets the version of the catalog, this is typically called when updates are made to the catalog

Parameters
versioncontains the signature of the version

Definition at line 276 of file PDBCatalog.cc.

void PDBCatalog::setUriPath ( string  thePath)
inlineprivate

Sets the URI path where the SQLite database is located

Definition at line 563 of file PDBCatalog.h.

+ Here is the caller graph for this function:

template<>
bool PDBCatalog::updateItemInVector ( int &  index,
Handle< CatalogDatabaseMetadata > &  item 
)

Definition at line 60 of file PDBCatalog.cc.

template<>
bool PDBCatalog::updateItemInVector ( int &  index,
Handle< CatalogSetMetadata > &  item 
)

Definition at line 69 of file PDBCatalog.cc.

template<>
bool PDBCatalog::updateItemInVector ( int &  index,
Handle< CatalogNodeMetadata > &  item 
)

Definition at line 77 of file PDBCatalog.cc.

template<>
bool PDBCatalog::updateItemInVector ( int &  index,
Handle< CatalogUserTypeMetadata > &  item 
)

Definition at line 85 of file PDBCatalog.cc.

template<class CatalogMetadataType >
bool PDBCatalog::updateItemInVector ( int &  index,
Handle< CatalogMetadataType > &  item 
)

updates a registered Metadata item in memory so the changes are visible to the CatalogServer

Parameters
indexis the position in the container
itemis the new metadata content
Returns
true on success

+ Here is the caller graph for this function:

template<class CatalogMetadataType >
template bool PDBCatalog::updateMetadataInCatalog ( pdb::Handle< CatalogMetadataType > &  metadataValue,
int &  metadataCategory,
string &  errorMessage 
)

updates an existing Metadata item in Sqlite along with its content in memory

Parameters
metadataValueencapsulates the object with the metadata
metadataCategoryidentifies the metadata category (values are defined in PDBCatalogMsgType)
errorMessageerror message
Returns
true on success

Definition at line 1021 of file PDBCatalog.cc.

+ Here is the call graph for this function:

Friends And Related Function Documentation

std::ostream& operator<< ( std::ostream &  out,
PDBCatalog catalog 
)
friend

Overloads the << operator so other classes can print the content of the catalog metadata

Definition at line 1179 of file PDBCatalog.cc.

Member Data Documentation

Handle<Map<String, Handle<Vector<Object> > > > PDBCatalog::catalogContents
private

Container for keeping in memory all the metadata registered in the catalog. Used when a remote catalog (i.e. non-manager catalog) requests an update "pull" of newly registered metadata.

Definition at line 518 of file PDBCatalog.h.

string PDBCatalog::catalogFilename
private

String that contains the full name of the catalog file, to be used in SQLite statements

Definition at line 535 of file PDBCatalog.h.

string PDBCatalog::catalogRootPath
private

Root path where the catalog resides, relative to where PlinyCompute runs

Definition at line 529 of file PDBCatalog.h.

string PDBCatalog::catalogVersion
private

A string that indicates the version of this catalog instance

Definition at line 428 of file PDBCatalog.h.

vector<CatalogDatabaseMetadata> PDBCatalog::dbList
private

List unique metadata entries

Definition at line 443 of file PDBCatalog.h.

Handle<pdb::Vector<Handle<CatalogUserTypeMetadata> > > PDBCatalog::listUsersInCluster
private

Contains information of users registered in the catalog. (To be implemented)

Definition at line 449 of file PDBCatalog.h.

PDBLoggerPtr PDBCatalog::logger
private

The logger for this catalog instance

Definition at line 433 of file PDBCatalog.h.

map<int, string> PDBCatalog::mapsPDBArrayOjbect2SQLiteTable
private

Maps the name of an SQLite table given the type of metadata it contains. Used for composing prepared SQL statements in SQLite, given a tyep of Metadata in a container

Definition at line 582 of file PDBCatalog.h.

map<int, string> PDBCatalog::mapsPDBOjbect2SQLiteTable
private

Maps the name of an SQLite table given the type of metadata it contains. Used for composing prepared SQL statements in SQLite, given a type Metadata

Definition at line 575 of file PDBCatalog.h.

map<int16_t, string> PDBCatalog::mapTypeIdToTypeName
private

Maps a typeID to its typeName for a user-defined type registered in the catalog

Definition at line 467 of file PDBCatalog.h.

map<string, int16_t> PDBCatalog::mapTypeNameToTypeID
private

Maps a typeName to its typeID for a user-defined type registered in the catalog

Definition at line 461 of file PDBCatalog.h.

multimap<string, CatalogUserTypeMetadata> PDBCatalog::mapUsersInCluster
private

Map of users, given the name of a user as a string, lists all databases belonging to that user. (To be implemented)

Definition at line 455 of file PDBCatalog.h.

map<string, CatalogDatabaseMetadata> PDBCatalog::registeredDatabases
private

Maps a database name to its Metadata

Definition at line 494 of file PDBCatalog.h.

Handle<Vector<CatalogDatabaseMetadata> > PDBCatalog::registeredDatabasesMetadata
private

Container for keeping in memory metadata for all registered databases in the catalog

Definition at line 500 of file PDBCatalog.h.

map<string, CatalogNodeMetadata> PDBCatalog::registeredNodes
private

Maps a node IP:Port to its Metadata

Definition at line 472 of file PDBCatalog.h.

Handle<Vector<CatalogNodeMetadata> > PDBCatalog::registeredNodesMetadata
private

Container for keeping in memory metadata for all registered nodes in the catalog

Definition at line 478 of file PDBCatalog.h.

map<string, CatalogSetMetadata> PDBCatalog::registeredSets
private

Maps a set ID to its Metadata

Definition at line 483 of file PDBCatalog.h.

Handle<Vector<CatalogSetMetadata> > PDBCatalog::registeredSetsMetadata
private

Container for keeping in memory metadata for all registered sets in the catalog

Definition at line 489 of file PDBCatalog.h.

map<string, CatalogUserTypeMetadata> PDBCatalog::registeredUserDefinedTypes
private

Maps a user-defined type to its Metadata

Definition at line 505 of file PDBCatalog.h.

Handle<Vector<CatalogUserTypeMetadata> > PDBCatalog::registeredUserDefinedTypesMetadata
private

Container for keeping in memory metadata for all registered user-defined types in the catalog

Definition at line 511 of file PDBCatalog.h.

pthread_mutex_t PDBCatalog::registerMetadataMutex
private

Mutex for ensuring proper synchronization of catalog metadata access

Definition at line 423 of file PDBCatalog.h.

sqlite3* PDBCatalog::sqliteDBHandler = NULL
private

Handler for the SQLite instance, which stores all catalog metadata

Definition at line 438 of file PDBCatalog.h.

string PDBCatalog::tempPath
private

String that represents the temporary location where shared library files will be stored at runtime

Definition at line 541 of file PDBCatalog.h.

string PDBCatalog::uriPath
private

URI string that represents the location of the plinyCatalog.db instance so it can be use for opening connections to the SQLite catalog file

Definition at line 524 of file PDBCatalog.h.


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