1 #ifndef CondCore_CondDB_RunInfoSchema_h 2 #define CondCore_CondDB_RunInfoSchema_h 7 #include <boost/date_time/posix_time/posix_time.hpp> 11 namespace persistency {
24 return "MAX("+RUN_NUMBER::fullyQualifiedName()+
")";
33 return "MIN("+RUN_NUMBER::fullyQualifiedName()+
")";
38 typedef boost::posix_time::ptime
type;
42 return "MIN("+START_TIME::fullyQualifiedName()+
")";
50 bool exists()
override;
55 std::vector<std::tuple<cond::Time_t,boost::posix_time::ptime,boost::posix_time::ptime> >& runData )
override;
56 bool getInclusiveTimeRange(
const boost::posix_time::ptime& lower ,
const boost::posix_time::ptime& upper,
57 std::vector<std::tuple<cond::Time_t,boost::posix_time::ptime,boost::posix_time::ptime> >& runData )
override;
58 void insertOne(
cond::Time_t runNumber,
const boost::posix_time::ptime& start,
const boost::posix_time::ptime& end)
override;
59 void insert(
const std::vector<std::tuple<cond::Time_t,boost::posix_time::ptime,boost::posix_time::ptime> >&
runs )
override;
60 void updateEnd(
cond::Time_t runNumber,
const boost::posix_time::ptime& end )
override;
72 bool exists()
override;
~RunInfoSchema() override
coral::ISchema & m_schema
def create(alignables, pedeDump, additionalData, outputFile, config)
boost::posix_time::ptime type
static std::string tableName()
RUN_INFO::Table m_runInfoTable
static std::string fullyQualifiedName()
#define conddb_column(...)
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 fullyQualifiedName()
static std::string tableName()
#define conddb_table(NAME)