A service for creating, accessing and managing an ensemble of collections of event references.
More...
#include <CollectionSvc/CollectionService.h>
A service for creating, accessing and managing an ensemble of collections of event references.
In many cases, the individual unit managed by the service may simply consist of a collection fragment containing only a subset of the metadata of an existing collection.
Definition at line 25 of file CollectionService.h.
◆ CollectionService()
| pool::CollectionService::CollectionService |
( |
| ) |
|
|
default |
Constructor:
- Parameters
-
| context | Local context provided by the service. |
◆ ~CollectionService()
| virtual pool::CollectionService::~CollectionService |
( |
| ) |
|
|
virtualdefault |
◆ create()
Creates or overwrites a collection or collection fragment, given a description of its properties.
- Parameters
-
| description | Specification of collection or collection fragment properties. |
◆ open()
| virtual ICollection * pool::CollectionService::open |
( |
const std::string & | name, |
|
|
const std::string & | type, |
|
|
const std::string & | connection = "", |
|
|
ISession * | session = 0 ) const |
|
virtual |
Retrieves a handle to an existing collection or collection fragment for read or update transactions, given the collection or collection fragment's name, storage technology type and database connection string.
A reference to a POOL database session object must be provided as input for the case where the collection being accessed is of type "ImplicitCollection".
- Parameters
-
| name | Name of collection or collection fragment. |
| type | Storage technology type of collection or collection fragment. |
| connection | Connection to database containing collection or collection fragment. |
| session | Reference to database session (need only be set for implicit collections). |
◆ plugin()
◆ setMessageSvcQuiet()
| void pool::CollectionService::setMessageSvcQuiet |
( |
bool | quiet = true | ) |
|
|
static |
suppress (or enable) warning about a missing MessageSvc (logging)
The documentation for this class was generated from the following file: