1 #ifndef CondCore_CondDB_IOVSchema_h 2 #define CondCore_CondDB_IOVSchema_h 7 #include <boost/date_time/posix_time/posix_time.hpp> 11 namespace persistency {
27 explicit Table(coral::ISchema& schema);
29 bool exists()
override;
38 int& protectionCode)
override;
41 boost::posix_time::ptime& insertionTime,
42 boost::posix_time::ptime& modificationTime)
override;
50 const boost::posix_time::ptime& insertionTime)
override;
55 const boost::posix_time::ptime& updateTime)
override;
58 const boost::posix_time::ptime& updateTime)
override;
61 const boost::posix_time::ptime& updateTime)
override;
69 bool m_isProtectable =
false;
85 explicit Table(coral::ISchema& schema);
87 bool exists()
override;
99 const boost::posix_time::ptime& insertionTime);
103 const boost::posix_time::ptime& insertionTime)
override;
118 static constexpr
size_t size = 0;
123 return "CAST(" + SINCE::fullyQualifiedName() +
"/" + sgroupSize +
" AS INT )*" + sgroupSize;
129 static constexpr
size_t size = 0;
136 static constexpr
size_t size = 0;
143 static constexpr
size_t size = 0;
150 explicit Table(coral::ISchema& schema);
152 bool exists()
override;
156 unsigned long long groupSize,
157 std::vector<cond::Time_t>& groups)
override;
162 std::vector<std::tuple<cond::Time_t, cond::Hash> >& iovs)
override;
172 std::vector<std::tuple<cond::Time_t, cond::Hash> >& iovs)
override;
176 const boost::posix_time::ptime& insertTime)
override;
179 const std::vector<std::tuple<cond::Time_t, cond::Hash, boost::posix_time::ptime> >& iovs)
override;
197 explicit Table(coral::ISchema& schema);
199 bool exists()
override;
204 int accessType)
override;
208 int accessType)
override;
211 int credentialType)
override;
212 void removeEntriesForCredential(
const std::string& credential,
int credentialType)
override;
230 explicit Table(coral::ISchema& schema);
232 bool exists()
override;
235 const boost::posix_time::ptime& eventTime,
249 explicit IOVSchema(coral::ISchema& schema);
static std::string tableName()
def create(alignables, pedeDump, additionalData, outputFile, config)
coral::ISchema & m_schema
coral::ISchema & m_schema
static constexpr unsigned int PAYLOAD_HASH_SIZE
static std::string tableName()
#define conddb_column(...)
static std::string to_string(const XMLCh *ch)
PAYLOAD::Table m_payloadTable
coral::ISchema & m_schema
static std::string group(unsigned long long groupSize)
IPayloadTable & payloadTable() override
coral::ISchema & m_schema
TAG_AUTHORIZATION::Table m_tagAccessPermissionTable
unsigned long long Time_t
bool insert(Storage &iStorage, ItemType *iItem, const IdTag &iIdTag)
ITagLogTable & tagLogTable() override
static std::string fullyQualifiedName()
static std::string tableName()
static std::string tableName()
TAG_LOG::Table m_tagLogTable
static std::string fullyQualifiedName()
IOVSchema(coral::ISchema &schema)
coral::ISchema & m_schema
static std::string fullyQualifiedName()
IIOVTable & iovTable() override
ITagAccessPermissionTable & tagAccessPermissionTable() override
ITagTable & tagTable() override
#define conddb_table(NAME)
static std::string fullyQualifiedName()