![]() |
ATLAS Offline Software
|
#include <CollectionBase/ICollection.h>
Public Types | |
| enum | OpenMode { CREATE, CREATE_AND_OVERWRITE, UPDATE, READ } |
| Enumeration of the possible open modes of the collection. More... | |
Public Member Functions | |
| virtual ICollection::OpenMode | openMode () const =0 |
| Returns the open mode of the collection for the present transaction. More... | |
| virtual void | open ()=0 |
| Opens the collection and initializes it if necessary. More... | |
| virtual bool | isOpen () const =0 |
| Checks if the collection is open. More... | |
| virtual void | initNewRow (pool::CollectionRowBuffer &row) const |
| Initialize a new RowBuffer by adding all Attributes adn Tokens of this collection to it. More... | |
| virtual void | insertRow (const pool::CollectionRowBuffer &inputRowBuffer)=0 |
| Adds a new row of data to the collection. More... | |
| virtual void | commit (bool restartTransaction=true)=0 |
| Commits the latest changes made to the collection. More... | |
| virtual void | close ()=0 |
| Closes the collection and terminates any database connections. More... | |
| virtual const ICollectionDescription & | description () const =0 |
| Returns an object used to describe the collection properties. More... | |
| virtual ICollectionQuery * | newQuery ()=0 |
| Returns an object used to query the collection. More... | |
| virtual | ~ICollection ()=default |
| Empty destructor. More... | |
An interface to a storage technology specific collection of event references and attributes
Definition at line 22 of file ICollection.h.
Enumeration of the possible open modes of the collection.
| Enumerator | |
|---|---|
| CREATE | |
| CREATE_AND_OVERWRITE | |
| UPDATE | |
| READ | |
Definition at line 26 of file ICollection.h.
|
virtualdefault |
Empty destructor.
|
pure virtual |
Closes the collection and terminates any database connections.
Implemented in pool::RootCollection::RootCollection, pool::RootCollection::RNTCollection, and pool::ImplicitCollection.
|
pure virtual |
Commits the latest changes made to the collection.
Implemented in pool::RootCollection::RootCollection, pool::RootCollection::RNTCollection, and pool::ImplicitCollection.
|
pure virtual |
Returns an object used to describe the collection properties.
Implemented in pool::RootCollection::RootCollection, pool::RootCollection::RNTCollection, and pool::ImplicitCollection.
|
virtual |
Initialize a new RowBuffer by adding all Attributes adn Tokens of this collection to it.
|
pure virtual |
Adds a new row of data to the collection.
Implemented in pool::RootCollection::RootCollection, pool::RootCollection::RNTCollection, and pool::ImplicitCollection.
|
pure virtual |
Checks if the collection is open.
Implemented in pool::RootCollection::RootCollection, pool::RootCollection::RNTCollection, and pool::ImplicitCollection.
|
pure virtual |
Returns an object used to query the collection.
Implemented in pool::RootCollection::RootCollection, pool::RootCollection::RNTCollection, and pool::ImplicitCollection.
|
pure virtual |
Opens the collection and initializes it if necessary.
Implemented in pool::RootCollection::RootCollection, pool::RootCollection::RNTCollection, and pool::ImplicitCollection.
|
pure virtual |
Returns the open mode of the collection for the present transaction.
Implemented in pool::RootCollection::RootCollection, pool::RootCollection::RNTCollection, and pool::ImplicitCollection.
1.8.18