#include <IOVSchemaUtility.h>
Public Member Functions | |
void | create () |
create iov tables if not existing | |
void | drop () |
drop iov tables if existing | |
IOVSchemaUtility (DbSession &pooldb) | |
void | truncate () |
truncate iov tables if existing | |
~IOVSchemaUtility () | |
Private Attributes | |
cond::DbSession | m_pooldb |
Definition at line 6 of file IOVSchemaUtility.h.
cond::IOVSchemaUtility::IOVSchemaUtility | ( | cond::DbSession & | pooldb | ) |
Definition at line 4 of file IOVSchemaUtility.cc.
:m_pooldb(pooldb){ }
cond::IOVSchemaUtility::~IOVSchemaUtility | ( | ) |
Definition at line 6 of file IOVSchemaUtility.cc.
{}
void cond::IOVSchemaUtility::create | ( | ) |
create iov tables if not existing
Definition at line 8 of file IOVSchemaUtility.cc.
Referenced by cond::service::PoolDBOutputService::initDB().
{
//m_pooldb.initializeMapping( cond::IOVNames::iovMappingVersion(), cond::IOVNames::iovMappingXML());
}
void cond::IOVSchemaUtility::drop | ( | ) |
drop iov tables if existing
Definition at line 12 of file IOVSchemaUtility.cc.
{
//m_pooldb.deleteMapping( cond::IOVNames::iovMappingVersion(), true );
}
void cond::IOVSchemaUtility::truncate | ( | ) |
truncate iov tables if existing
Definition at line 16 of file IOVSchemaUtility.cc.
{
//m_pooldb.deleteMapping( cond::IOVNames::iovMappingVersion(), false );
}
Definition at line 17 of file IOVSchemaUtility.h.