|
ATLAS Offline Software
|
Go to the documentation of this file.
5 #ifndef RNTCOLLECTION_H
6 #define RNTCOLLECTION_H
15 #include "CoralBase/MessageStream.h"
17 #include "GaudiKernel/IFileMgr.h"
18 #include "GaudiKernel/SmartIF.h"
19 #include "Gaudi/PluginService.h"
36 namespace RootCollection {
40 class AttributeSpecification;
97 virtual void commit(
bool restartTransaction =
false );
virtual ICollection::OpenMode openMode() const
Return openMode.
std::string retrieveFID()
CollectionDescription m_description
void retrieveFileCatalog() const
ROOT::Experimental::RNTupleReader RNTupleReader
std::unique_ptr< RNTCollectionSchemaEditor > m_schemaEditor
std::unique_ptr< pool::IFileCatalog > m_fileCatalog
RNTCollection(const pool::ICollectionDescription *description, pool::ICollection::OpenMode mode, pool::ISession *)
Constructor.
virtual void open()
Explicitly re-opens the collection after it has been closed.
SmartIF< IFileMgr > m_fileMgr
RNTCollection(const RNTCollection &)=delete
copying unimplemented in this class.
virtual ICollectionSchemaEditor & schemaEditor()
Returns an object used to modify the collection schema.
Collection (and CollectionProxy) implementation based on RNTuple.
bool fileCatalogRequired() const
std::string retrieveUniquePFN(const FileCatalog::FileID &fid)
ROOT::Experimental::RNTupleReader RNTupleReader
OpenMode
Enumeration of the possible open modes of the collection.
RNTCollection & operator=(const RNTCollection &)=delete
Gaudi::PluginService::Factory< ICollection *(const ICollectionDescription *, ICollection::OpenMode, ISession *)> Factory
virtual void close()
Explicitly closes the collection.
virtual bool isOpen() const
Checks if the collection is open.
std::string retrievePFN() const
std::unique_ptr< RNTupleReader > m_reader
virtual ICollectionQuery * newQuery()
Returns an object used to query the collection.
coral::MessageStream m_poolOut
virtual void commit(bool restartTransaction=false)
Commits the last changes made to the collection.
virtual ICollectionDataEditor & dataEditor()
Returns an object used to add, update or delete rows of the collection.
std::string retrieveBestPFN(const FileCatalog::FileID &fid) const
void delayedFileOpen(const std::string &method)
virtual const ICollectionDescription & description() const
Returns an object used to describe the collection properties.
ICollectionDataEditor * m_dataEditor
~RNTCollection()
Destructor.
std::unique_ptr< RNTupleReader > getCollectionRNTuple()
ICollection::OpenMode m_mode