![]() |
ATLAS Offline Software
|
#include <CoraCoolFolder.h>
Public Types | |
| typedef std::vector< coral::AttributeList >::const_iterator | const_iterator |
Public Member Functions | |
| CoraCoolFolder (const std::string &coolfolder, coral::ISessionProxy *proxy, cool::IDatabasePtr cooldb, CoraCoolDatabase *coradb, coral::MessageStream &log) | |
| ~CoraCoolFolder () | |
| CoraCoolFolder (const CoraCoolFolder &)=delete | |
| CoraCoolFolder & | operator= (const CoraCoolFolder &)=delete |
| std::string | coralTableName () const |
| const std::string & | coralFKey () const |
| const std::string & | coralPKey () const |
| const cool::IRecordSpecification & | fkSpecification () const |
| const cool::RecordSpecification | payloadSpecification () const |
| coral::AttributeList | emptyAttrList () const |
| cool::IFolderPtr | coolFolder () |
| int | storeObject (const cool::ValidityKey &since, const cool::ValidityKey until, const_iterator begin, const_iterator end, const cool::ChannelId &channelId=0, const std::string &tagName="", const bool userTagOnly=false) |
| bool | setupStorageBuffer () |
| void | flushStorageBuffer () |
| void | referenceObject (const cool::ValidityKey &since, const cool::ValidityKey &until, const coral::Attribute &fkey, const cool::ChannelId &channelId=0, const std::string &tagName="", const bool userTagOnly=false) |
| void | referenceObject (const cool::ValidityKey &since, const cool::ValidityKey &until, const int ifkey, const cool::ChannelId &channelId=0, const std::string &tagName="", const bool userTagOnly=false) |
| void | addPayload (const_iterator begin, const_iterator end) |
| CoraCoolObjectPtr | findObject (const cool::ValidityKey &pointInTime, const cool::ChannelId &channelId=0, const std::string &tagName="") |
| CoraCoolObjectIterPtr | browseObjects (const cool::ValidityKey &pointInTime, const cool::ChannelSelection &channels, const std::string &tagName="") |
| CoraCoolObjectIterPtr | browseObjects (const cool::ValidityKey &since=cool::ValidityKeyMin, const cool::ValidityKey &until=cool::ValidityKeyMax, const cool::ChannelSelection &channels=cool::ChannelSelection(0), const std::string &tagName="") |
| void | setPrefetchAll (const bool prefetchAll) |
| bool | setAttrKey (coral::Attribute &attr, const int keyval) |
| bool | setFieldKey (cool::IField &attr, const int keyval) |
| bool | setFieldAttr (cool::IField &attr, const coral::Attribute &keyval) |
| int | getAttrKey (const coral::Attribute &attr) |
Private Types | |
| typedef std::vector< std::pair< std::string, std::string > > | AttrVec |
| typedef AttrVec::const_iterator | AttrItr |
Private Member Functions | |
| coral::ISessionProxy * | proxy () |
| const coral::ISessionProxy * | proxy () const |
| coral::ITable * | table () |
| void | setOutputSpec (coral::IQuery *query) |
| bool | decodeAttrSpec () |
| cool::StorageType::TypeId | nameToCoolType (const std::string &coolName) const |
| void | bulkInsert (const_iterator begin, const_iterator end, const int fkey, bool updatefk) |
Private Attributes | |
| std::string | m_foldername |
| std::string | m_dbname |
| coral::ISessionProxy * | m_proxy |
| cool::IDatabasePtr | m_cooldb |
| CoraCoolDatabase * | m_coradb |
| coral::MessageStream & | m_log |
| std::string | m_tablename |
| std::string | m_keycolcoral |
| std::string | m_keycolcool |
| std::string | m_pkeycolcoral |
| bool | m_pkey |
| cool::IFolderPtr | m_coolfolder |
| coral::ITable * | m_table |
| const coral::ITableDescription * | m_tabledesc |
| AttrVec | m_attrvec |
| bool | m_bulkactive |
| coral::AttributeList * | m_payloadbuf |
| coral::IBulkOperation * | m_bulki |
| CoraCoolSequence * | m_seqpk |
| CoraCoolSequence * | m_seqfk |
| int | m_nextpk |
| int | m_usedpk |
| int | m_nextfk |
| int | m_usedfk |
Friends | |
| class | CoraCoolObjectIter |
Definition at line 37 of file CoraCoolFolder.h.
|
private |
Definition at line 174 of file CoraCoolFolder.h.
|
private |
Definition at line 173 of file CoraCoolFolder.h.
| typedef std::vector<coral::AttributeList>::const_iterator CoraCoolFolder::const_iterator |
Definition at line 42 of file CoraCoolFolder.h.
| CoraCoolFolder::CoraCoolFolder | ( | const std::string & | coolfolder, |
| coral::ISessionProxy * | proxy, | ||
| cool::IDatabasePtr | cooldb, | ||
| CoraCoolDatabase * | coradb, | ||
| coral::MessageStream & | log ) |
Definition at line 40 of file CoraCoolFolder.cxx.
| CoraCoolFolder::~CoraCoolFolder | ( | ) |
Definition at line 95 of file CoraCoolFolder.cxx.
|
delete |
| void CoraCoolFolder::addPayload | ( | const_iterator | begin, |
| const_iterator | end ) |
Definition at line 293 of file CoraCoolFolder.cxx.
| CoraCoolObjectIterPtr CoraCoolFolder::browseObjects | ( | const cool::ValidityKey & | pointInTime, |
| const cool::ChannelSelection & | channels, | ||
| const std::string & | tagName = "" ) |
Definition at line 550 of file CoraCoolFolder.cxx.
| CoraCoolObjectIterPtr CoraCoolFolder::browseObjects | ( | const cool::ValidityKey & | since = cool::ValidityKeyMin, |
| const cool::ValidityKey & | until = cool::ValidityKeyMax, | ||
| const cool::ChannelSelection & | channels = cool::ChannelSelection(0), | ||
| const std::string & | tagName = "" ) |
Definition at line 557 of file CoraCoolFolder.cxx.
|
private |
Definition at line 496 of file CoraCoolFolder.cxx.
|
inline |
Definition at line 197 of file CoraCoolFolder.h.
|
inline |
Definition at line 191 of file CoraCoolFolder.h.
|
inline |
Definition at line 194 of file CoraCoolFolder.h.
|
inline |
Definition at line 188 of file CoraCoolFolder.h.
|
private |
Definition at line 423 of file CoraCoolFolder.cxx.
| coral::AttributeList CoraCoolFolder::emptyAttrList | ( | ) | const |
Definition at line 116 of file CoraCoolFolder.cxx.
| CoraCoolObjectPtr CoraCoolFolder::findObject | ( | const cool::ValidityKey & | pointInTime, |
| const cool::ChannelId & | channelId = 0, | ||
| const std::string & | tagName = "" ) |
Definition at line 519 of file CoraCoolFolder.cxx.
| const cool::IRecordSpecification & CoraCoolFolder::fkSpecification | ( | ) | const |
Definition at line 102 of file CoraCoolFolder.cxx.
| void CoraCoolFolder::flushStorageBuffer | ( | ) |
Definition at line 243 of file CoraCoolFolder.cxx.
| int CoraCoolFolder::getAttrKey | ( | const coral::Attribute & | attr | ) |
Definition at line 406 of file CoraCoolFolder.cxx.
|
private |
Definition at line 469 of file CoraCoolFolder.cxx.
|
delete |
| const cool::RecordSpecification CoraCoolFolder::payloadSpecification | ( | ) | const |
Definition at line 107 of file CoraCoolFolder.cxx.
|
inlineprivate |
Definition at line 200 of file CoraCoolFolder.h.
|
inlineprivate |
Definition at line 201 of file CoraCoolFolder.h.
| void CoraCoolFolder::referenceObject | ( | const cool::ValidityKey & | since, |
| const cool::ValidityKey & | until, | ||
| const coral::Attribute & | fkey, | ||
| const cool::ChannelId & | channelId = 0, | ||
| const std::string & | tagName = "", | ||
| const bool | userTagOnly = false ) |
Definition at line 261 of file CoraCoolFolder.cxx.
| void CoraCoolFolder::referenceObject | ( | const cool::ValidityKey & | since, |
| const cool::ValidityKey & | until, | ||
| const int | ifkey, | ||
| const cool::ChannelId & | channelId = 0, | ||
| const std::string & | tagName = "", | ||
| const bool | userTagOnly = false ) |
Definition at line 280 of file CoraCoolFolder.cxx.
| bool CoraCoolFolder::setAttrKey | ( | coral::Attribute & | attr, |
| const int | keyval ) |
Definition at line 342 of file CoraCoolFolder.cxx.
| bool CoraCoolFolder::setFieldAttr | ( | cool::IField & | attr, |
| const coral::Attribute & | keyval ) |
Definition at line 384 of file CoraCoolFolder.cxx.
| bool CoraCoolFolder::setFieldKey | ( | cool::IField & | attr, |
| const int | keyval ) |
Definition at line 363 of file CoraCoolFolder.cxx.
|
private |
Definition at line 489 of file CoraCoolFolder.cxx.
| void CoraCoolFolder::setPrefetchAll | ( | const bool | prefetchAll | ) |
Definition at line 570 of file CoraCoolFolder.cxx.
| bool CoraCoolFolder::setupStorageBuffer | ( | ) |
Definition at line 211 of file CoraCoolFolder.cxx.
| int CoraCoolFolder::storeObject | ( | const cool::ValidityKey & | since, |
| const cool::ValidityKey | until, | ||
| const_iterator | begin, | ||
| const_iterator | end, | ||
| const cool::ChannelId & | channelId = 0, | ||
| const std::string & | tagName = "", | ||
| const bool | userTagOnly = false ) |
Definition at line 125 of file CoraCoolFolder.cxx.
|
private |
Definition at line 575 of file CoraCoolFolder.cxx.
|
friend |
Definition at line 39 of file CoraCoolFolder.h.
|
private |
Definition at line 175 of file CoraCoolFolder.h.
|
private |
Definition at line 177 of file CoraCoolFolder.h.
|
private |
Definition at line 179 of file CoraCoolFolder.h.
|
private |
Definition at line 160 of file CoraCoolFolder.h.
|
private |
Definition at line 169 of file CoraCoolFolder.h.
|
private |
Definition at line 161 of file CoraCoolFolder.h.
|
private |
Definition at line 158 of file CoraCoolFolder.h.
|
private |
Definition at line 157 of file CoraCoolFolder.h.
|
private |
Definition at line 166 of file CoraCoolFolder.h.
|
private |
Definition at line 165 of file CoraCoolFolder.h.
|
private |
Definition at line 162 of file CoraCoolFolder.h.
|
private |
Definition at line 184 of file CoraCoolFolder.h.
|
private |
Definition at line 182 of file CoraCoolFolder.h.
|
private |
Definition at line 178 of file CoraCoolFolder.h.
|
private |
Definition at line 168 of file CoraCoolFolder.h.
|
private |
Definition at line 167 of file CoraCoolFolder.h.
|
private |
Definition at line 159 of file CoraCoolFolder.h.
|
private |
Definition at line 181 of file CoraCoolFolder.h.
|
private |
Definition at line 180 of file CoraCoolFolder.h.
|
private |
Definition at line 170 of file CoraCoolFolder.h.
|
private |
Definition at line 171 of file CoraCoolFolder.h.
|
private |
Definition at line 164 of file CoraCoolFolder.h.
|
private |
Definition at line 185 of file CoraCoolFolder.h.
|
private |
Definition at line 183 of file CoraCoolFolder.h.