5#ifndef ROOTCOLLECTION_ROOTCOLLECTION_H
6#define ROOTCOLLECTION_ROOTCOLLECTION_H
52 virtual void open() final override;
58 virtual
void commit(
bool restartTransaction = false ) final override;
61 virtual
void close() final override;
APRMessaging(const std::string &name)
An implementation used to define the properties of a collection to be constructed and to retrieve the...
A class representing a row of a collection.
An interface used to navigate the result of a query on a collection.
An interface to a storage technology specific collection of event references and attributes.
OpenMode
Enumeration of the possible open modes of the collection.
ISession is the interface class for user (macroscopic) sessions Every transaction and connection to a...
The IStorageSvc interface is able to handle user request for.
virtual const CollectionDescription & description() const final override
Returns an object used to describe the collection properties.
virtual void close() final override
Explicitly closes the collection.
virtual void insertRow(const pool::CollectionRowBuffer &inputRowBuffer) final override
Adds a new row of data to the collection.
void writeColumn(const std::string &columnName, const void *data, const std::type_info &typeInfo)
ContainerMap m_containerMap
CollectionDescription m_description
pool::FileDescriptor m_fileDescr
virtual std::unique_ptr< ICollectionCursor > cursor() final override
Returns a cursor for the collection.
std::string m_containerPrefix
The common prefix for branch container names for attributes.
std::unique_ptr< IStorageSvc > m_storageSvc
virtual void commit(bool restartTransaction=false) final override
Commits the last changes made to the collection.
RootCollection(const pool::CollectionDescription *description, pool::ICollection::OpenMode mode)
Constructor.
virtual void open() final override
Explicitly re-opens the collection after it has been closed.
~RootCollection()
Destructor.
ICollection::OpenMode m_mode
const Io::IoFlag collModeToPoolMode[]
std::map< std::string, DbContainer > ContainerMap
constexpr const char *const poolOptToRootOpt[]