1 #ifndef CondCore_CondDB_GTSchema_h
2 #define CondCore_CondDB_GTSchema_h
7 #include <boost/date_time/posix_time/posix_time.hpp>
11 namespace persistency {
19 column( SNAPSHOT_TIME, boost::posix_time::ptime );
20 column( INSERTION_TIME, boost::posix_time::ptime );
24 explicit Table( coral::ISchema&
schema );
32 const boost::posix_time::ptime& snapshotTime,
const boost::posix_time::ptime& insertionTime );
34 const boost::posix_time::ptime& snapshotTime,
const boost::posix_time::ptime& insertionTime );
36 coral::ISchema& m_schema;
42 static constexpr unsigned int PAYLOAD_HASH_SIZE = 40;
53 explicit Table( coral::ISchema&
schema );
56 bool select(
const std::string& gtName, std::vector<std::tuple<std::string,std::string,std::string> >&
tags );
58 std::vector<std::tuple<std::string,std::string,std::string> >&
tags );
59 void insert(
const std::string& gtName,
const std::vector<std::tuple<std::string,std::string,std::string> >&
tags );
61 coral::ISchema& m_schema;
GLOBAL_TAG::Table & gtTable()
GLOBAL_TAG::Table m_gtTable
GTSchema(coral::ISchema &schema)
unsigned long long Time_t
GLOBAL_TAG_MAP::Table & gtMapTable()
bool insert(Storage &iStorage, ItemType *iItem, const IdTag &iIdTag)
GLOBAL_TAG_MAP::Table m_gtMapTable