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 {
29 bool exists()
override;
35 boost::posix_time::ptime& insertionTime, boost::posix_time::ptime& modificationTime )
override;
38 cond::Time_t lastValidatedTime,
const boost::posix_time::ptime& insertionTime )
override;
40 cond::Time_t lastValidatedTime,
const boost::posix_time::ptime& updateTime )
override;
41 void updateValidity(
const std::string& name,
cond::Time_t lastValidatedTime,
const boost::posix_time::ptime& updateTime )
override;
63 bool exists()
override;
71 const boost::posix_time::ptime& insertionTime);
73 const cond::Binary& streamerInfoData,
const boost::posix_time::ptime& insertionTime )
override;
91 return "MIN("+SINCE::fullyQualifiedName()+
")";
95 return "CAST("+SINCE::fullyQualifiedName()+
"/"+sgroupSize+
" AS INT )*"+sgroupSize;
113 return "MIN("+SINCE::fullyQualifiedName()+
")";
122 return "MAX("+SINCE::fullyQualifiedName()+
")";
130 bool exists()
override;
133 std::vector<cond::Time_t>& groups )
override;
135 const boost::posix_time::ptime& snapshotTime,
136 std::vector<std::tuple<cond::Time_t,cond::Hash> >& iovs)
override;
138 bool getSize(
const std::string& tag,
const boost::posix_time::ptime& snapshotTime,
size_t&
size )
override;
140 const boost::posix_time::ptime& snapshotTime, std::vector<std::tuple<cond::Time_t,cond::Hash> >& iovs )
override;
142 void insertMany(
const std::string& tag,
const std::vector<std::tuple<cond::Time_t,cond::Hash,boost::posix_time::ptime> >& iovs )
override;
163 bool exists()
override;
176 bool exists()
override;
static std::string tableName()
def create(alignables, pedeDump, additionalData, outputFile, config)
void setValidationMode() override
coral::ISchema & m_schema
static std::string tableName()
#define conddb_column(...)
PAYLOAD::Table m_payloadTable
coral::ISchema & m_schema
static std::string group(unsigned long long groupSize)
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()