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> >&
~RunInfoSchema() override
IRunInfoTable & runInfoTable() 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()
RunInfoSchema(coral::ISchema &schema)
static std::string fullyQualifiedName()
static std::string tableName()
#define conddb_table(NAME)