LArSoft
v09_90_00
Liquid Argon Software toolkit - https://larsoft.org/
|
Simple service to provide a RunHistory configured to the right run. More...
#include "DBIService.h"
Public Member Functions | |
DBIService (const fhicl::ParameterSet &pset) | |
void | reconfigure (const fhicl::ParameterSet &pset) |
Table * | CreateTable (std::string tableName="", std::string schemaName="", int tableType=nutools::dbi::kConditionsTable, int dataSource=nutools::dbi::kOffline) |
void | do_reconfigure (fhicl::ParameterSet const &pset) |
Protected Attributes | |
int | fVerbosity |
bool | fTimeQueries |
bool | fTimeParsing |
std::string | fWebServiceURL |
std::string | fQueryEngineURL |
std::string | fDBUser |
Simple service to provide a RunHistory configured to the right run.
Definition at line 25 of file DBIService.h.
nutools::dbi::DBIService::DBIService | ( | const fhicl::ParameterSet & | pset | ) |
Definition at line 18 of file DBI.cc.
References reconfigure().
Table * nutools::dbi::DBIService::CreateTable | ( | std::string | tableName = "" , |
std::string | schemaName = "" , |
||
int | tableType = nutools::dbi::kConditionsTable , |
||
int | dataSource = nutools::dbi::kOffline |
||
) |
Definition at line 36 of file DBI.cc.
References fDBUser, fQueryEngineURL, fTimeParsing, fTimeQueries, fVerbosity, fWebServiceURL, nutools::dbi::kConditionsTable, nutools::dbi::kNDataSources, nutools::dbi::kNTableType, nutools::dbi::kOffline, nutools::dbi::Table::SetDataSource(), nutools::dbi::Table::SetDetector(), nutools::dbi::Table::SetQEURL(), nutools::dbi::Table::SetTableName(), nutools::dbi::Table::SetTableType(), nutools::dbi::Table::SetTimeParsing(), nutools::dbi::Table::SetTimeQueries(), nutools::dbi::Table::SetUser(), nutools::dbi::Table::SetVerbosity(), and nutools::dbi::Table::SetWSURL().
|
inlineinherited |
Definition at line 16 of file Reconfigurable.h.
References evdb::Reconfigurable::reconfigure(), and evdb::Reconfigurable::~Reconfigurable().
void nutools::dbi::DBIService::reconfigure | ( | const fhicl::ParameterSet & | pset | ) |
Definition at line 24 of file DBI.cc.
References fDBUser, fQueryEngineURL, fTimeParsing, fTimeQueries, fVerbosity, fWebServiceURL, and fhicl::ParameterSet::get().
Referenced by DBIService().
|
protected |
Definition at line 45 of file DBIService.h.
Referenced by CreateTable(), and reconfigure().
|
protected |
Definition at line 44 of file DBIService.h.
Referenced by CreateTable(), and reconfigure().
|
protected |
Definition at line 41 of file DBIService.h.
Referenced by CreateTable(), and reconfigure().
|
protected |
Definition at line 40 of file DBIService.h.
Referenced by CreateTable(), and reconfigure().
|
protected |
Definition at line 39 of file DBIService.h.
Referenced by CreateTable(), and reconfigure().
|
protected |
Definition at line 43 of file DBIService.h.
Referenced by CreateTable(), and reconfigure().