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 {
20 static constexpr
size_t size = 0;
27 static constexpr
size_t size = 0;
33 typedef boost::posix_time::ptime
type;
34 static constexpr
size_t size = 0;
41 explicit Table(coral::ISchema& schema);
43 bool exists()
override;
46 cond::Time_t getLastInserted(boost::posix_time::ptime&
start, boost::posix_time::ptime&
end)
override;
47 bool getInclusiveRunRange(
50 std::vector<std::tuple<cond::Time_t, boost::posix_time::ptime, boost::posix_time::ptime> >& runData)
52 bool getInclusiveTimeRange(
53 const boost::posix_time::ptime& lower,
54 const boost::posix_time::ptime&
upper,
55 std::vector<std::tuple<cond::Time_t, boost::posix_time::ptime, boost::posix_time::ptime> >& runData)
58 const boost::posix_time::ptime&
start,
59 const boost::posix_time::ptime&
end)
override;
60 void insert(
const std::vector<std::tuple<cond::Time_t, boost::posix_time::ptime, boost::posix_time::ptime> >&