ATLAS Offline Software
Loading...
Searching...
No Matches
pool::ICollection Class Referenceabstract

An interface to a storage technology specific collection of event references and attributes. More...

#include <Collection/ICollection.h>

Inheritance diagram for pool::ICollection:
Collaboration diagram for pool::ICollection:

Public Member Functions

virtual void open ()=0
 Opens the collection and initializes it if necessary.
virtual void initNewRow (pool::CollectionRowBuffer &row) const =0
 Initialize a new RowBuffer by adding all Attributes adn Tokens of this collection to it.
virtual void insertRow (const pool::CollectionRowBuffer &inputRowBuffer)=0
 Adds a new row of data to the collection.
virtual void commit (bool restartTransaction=true)=0
 Commits the latest changes made to the collection.
virtual void close ()=0
 Closes the collection and terminates any database connections.
virtual const CollectionDescription & description () const =0
 Returns an object used to describe the collection properties.
virtual std::unique_ptr< ICollectionCursor > cursor ()=0
 Returns an cursor for the collection.
virtual ~ICollection ()=default
 Empty destructor.

Detailed Description

An interface to a storage technology specific collection of event references and attributes.

Definition at line 23 of file ICollection.h.

Constructor & Destructor Documentation

◆ ~ICollection()

virtual pool::ICollection::~ICollection ( )
virtualdefault

Empty destructor.

Member Function Documentation

◆ close()

virtual void pool::ICollection::close ( )
pure virtual

Closes the collection and terminates any database connections.

Implemented in pool::RootCollection.

◆ commit()

virtual void pool::ICollection::commit ( bool restartTransaction = true)
pure virtual

Commits the latest changes made to the collection.

Implemented in pool::RootCollection.

◆ cursor()

virtual std::unique_ptr< ICollectionCursor > pool::ICollection::cursor ( )
pure virtual

Returns an cursor for the collection.

Implemented in pool::RootCollection.

◆ description()

virtual const CollectionDescription & pool::ICollection::description ( ) const
pure virtual

Returns an object used to describe the collection properties.

Implemented in pool::RootCollection.

◆ initNewRow()

virtual void pool::ICollection::initNewRow ( pool::CollectionRowBuffer & row) const
pure virtual

Initialize a new RowBuffer by adding all Attributes adn Tokens of this collection to it.

Implemented in pool::RootCollection.

◆ insertRow()

virtual void pool::ICollection::insertRow ( const pool::CollectionRowBuffer & inputRowBuffer)
pure virtual

Adds a new row of data to the collection.

Implemented in pool::RootCollection.

◆ open()

virtual void pool::ICollection::open ( )
pure virtual

Opens the collection and initializes it if necessary.

Implemented in pool::RootCollection.


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