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 {
35 boost::posix_time::ptime& insertionTime, boost::posix_time::ptime& modificationTime );
38 cond::Time_t lastValidatedTime,
const boost::posix_time::ptime& insertionTime );
40 cond::Time_t lastValidatedTime,
const boost::posix_time::ptime& updateTime );
41 void updateValidity(
const std::string& name,
cond::Time_t lastValidatedTime,
const boost::posix_time::ptime& updateTime );
71 const boost::posix_time::ptime& insertionTime);
73 const cond::Binary& streamerInfoData,
const boost::posix_time::ptime& insertionTime );
91 return "MIN("+SINCE::fullyQualifiedName()+
")";
95 return "CAST("+SINCE::fullyQualifiedName()+
"/"+sgroupSize+
" AS INT )*"+sgroupSize;
113 return "MIN("+SINCE::fullyQualifiedName()+
")";
122 return "MAX("+SINCE::fullyQualifiedName()+
")";
133 std::vector<cond::Time_t>& groups );
135 const boost::posix_time::ptime& snapshotTime,
136 std::vector<std::tuple<cond::Time_t,cond::Hash> >& iovs);
138 bool getSize(
const std::string& tag,
const boost::posix_time::ptime& snapshotTime,
size_t&
size );
140 const boost::posix_time::ptime& snapshotTime, std::vector<std::tuple<cond::Time_t,cond::Hash> >& iovs );
142 void insertMany(
const std::string& tag,
const std::vector<std::tuple<cond::Time_t,cond::Hash,boost::posix_time::ptime> >& iovs );
static std::string tableName()
static constexpr unsigned int SINCE_GROUP_SIZE
static std::string group()
def create(alignables, pedeDump, additionalData, outputFile, config)
coral::ISchema & m_schema
static std::string tableName()
#define conddb_column(...)
PAYLOAD::Table m_payloadTable
coral::ISchema & m_schema
coral::ISchema & m_schema
unsigned long long Time_t
bool insert(Storage &iStorage, ItemType *iItem, const IdTag &iIdTag)
static std::string fullyQualifiedName()
static std::string tableName()
static std::string tableName()
TAG_LOG::Table m_tagLogTable
static std::string fullyQualifiedName()
coral::ISchema & m_schema
static unsigned int PAYLOAD_HASH_SIZE
static std::string fullyQualifiedName()
#define conddb_table(NAME)
static std::string fullyQualifiedName()