Database Class Reference

The Database class provides an interface to a database. More...

#include <MemoryX/components/CommonStorage/Database.h>

+ Inheritance diagram for Database:

Public Member Functions

 Database (const CommonStorageInterfacePtr &dbConn, const std::string &dbName)
 
void dropCollection (const ::std::string &collName, const ::Ice::Current &=Ice::emptyCurrent) override
 
Ice::Identity getIceId () const
 
std::string getName (const ::Ice::Current &=Ice::emptyCurrent) override
 
void releaseCollection (const ::memoryx::CollectionInterfacePrx &coll, const ::Ice::Current &=Ice::emptyCurrent) override
 
CollectionInterfacePrx requestCollection (const ::std::string &collName, const ::Ice::Current &=Ice::emptyCurrent) override
 
 ~Database () override
 

Detailed Description

The Database class provides an interface to a database.

Definition at line 35 of file Database.h.

Constructor & Destructor Documentation

◆ Database()

Database ( const CommonStorageInterfacePtr &  dbConn,
const std::string &  dbName 
)

Definition at line 29 of file Database.cpp.

◆ ~Database()

~Database ( )
overridedefault

Member Function Documentation

◆ dropCollection()

void dropCollection ( const ::std::string &  collName,
const ::Ice::Current &  c = Ice::emptyCurrent 
)
override

Definition at line 51 of file Database.cpp.

◆ getIceId()

Ice::Identity getIceId ( ) const

Definition at line 62 of file Database.cpp.

◆ getName()

std::string getName ( const ::Ice::Current &  = Ice::emptyCurrent)
override

Definition at line 57 of file Database.cpp.

◆ releaseCollection()

void releaseCollection ( const ::memoryx::CollectionInterfacePrx &  coll,
const ::Ice::Current &  c = Ice::emptyCurrent 
)
override

Definition at line 45 of file Database.cpp.

◆ requestCollection()

CollectionInterfacePrx requestCollection ( const ::std::string &  collName,
const ::Ice::Current &  = Ice::emptyCurrent 
)
override

Definition at line 39 of file Database.cpp.


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