|
BOSS 8.0.0
BESIII Offline Software System
|
#include <Table.h>
Public Member Functions | |
| Table () | |
| ~Table () | |
| void | setConnection (Connection *connect) |
| const std::string & | getName () const |
| Column * | getColumnByName (const std::string &name) const |
| Index * | getIndexByName (const std::string &name) const |
| Assertion * | getAssertionByName (const std::string &name) const |
| int | insertLatest (Row &row, int *serial=0) const |
| int | insertRow (Row &row, int *serial=0) const |
| int | supersedeRow (Row &row, int oldKey, int *newKey=0) const |
| int | updateRows (Row &row, Assertion *where) const |
| InsertNew * | getInsertNew () const |
| Supersede * | getSupersede () const |
| Visitor::VisitorState | accept (Visitor *v) |
| void | sortColumns () |
| Table () | |
| ~Table () | |
| void | setConnection (Connection *connect) |
| const std::string & | getName () const |
| Column * | getColumnByName (const std::string &name) const |
| Index * | getIndexByName (const std::string &name) const |
| Assertion * | getAssertionByName (const std::string &name) const |
| int | insertLatest (Row &row, int *serial=0) const |
| int | insertRow (Row &row, int *serial=0) const |
| int | supersedeRow (Row &row, int oldKey, int *newKey=0) const |
| int | updateRows (Row &row, Assertion *where) const |
| InsertNew * | getInsertNew () const |
| Supersede * | getSupersede () const |
| Visitor::VisitorState | accept (Visitor *v) |
| void | sortColumns () |
| Table () | |
| ~Table () | |
| void | setConnection (Connection *connect) |
| const std::string & | getName () const |
| Column * | getColumnByName (const std::string &name) const |
| Index * | getIndexByName (const std::string &name) const |
| Assertion * | getAssertionByName (const std::string &name) const |
| int | insertLatest (Row &row, int *serial=0) const |
| int | insertRow (Row &row, int *serial=0) const |
| int | supersedeRow (Row &row, int oldKey, int *newKey=0) const |
| int | updateRows (Row &row, Assertion *where) const |
| InsertNew * | getInsertNew () const |
| Supersede * | getSupersede () const |
| Visitor::VisitorState | accept (Visitor *v) |
| void | sortColumns () |
Friends | |
| class | rdbModel::XercesBuilder |
| class | rdbModel::Rdb |
rdbModel representation of a(n SQL-like) table description
Definition at line 34 of file Calibration/rdbModel/include/rdbModel/Tables/Table.h.
| rdbModel::Table::Table | ( | ) |
Definition at line 21 of file Table.cxx.
| rdbModel::Table::~Table | ( | ) |
Definition at line 37 of file Table.cxx.
| rdbModel::Table::Table | ( | ) |
| rdbModel::Table::~Table | ( | ) |
| rdbModel::Table::Table | ( | ) |
| rdbModel::Table::~Table | ( | ) |
| Visitor::VisitorState rdbModel::Table::accept | ( | Visitor * | v | ) |
Definition at line 117 of file Table.cxx.
| Visitor::VisitorState rdbModel::Table::accept | ( | Visitor * | v | ) |
| Visitor::VisitorState rdbModel::Table::accept | ( | Visitor * | v | ) |
| Assertion * rdbModel::Table::getAssertionByName | ( | const std::string & | name | ) | const |
| Assertion * rdbModel::Table::getAssertionByName | ( | const std::string & | name | ) | const |
| Assertion * rdbModel::Table::getAssertionByName | ( | const std::string & | name | ) | const |
| Column * rdbModel::Table::getColumnByName | ( | const std::string & | name | ) | const |
Definition at line 67 of file Table.cxx.
Referenced by calibUtil::Metadata::checkNulls(), calibUtil::Metadata::checkValues(), rdbModel::Rdb::getColumn(), supersedeRow(), and rdbModel::Assertion::Operator::validCompareOp().
| Column * rdbModel::Table::getColumnByName | ( | const std::string & | name | ) | const |
| Column * rdbModel::Table::getColumnByName | ( | const std::string & | name | ) | const |
| Index * rdbModel::Table::getIndexByName | ( | const std::string & | name | ) | const |
Definition at line 96 of file Table.cxx.
Referenced by rdbModel::Rdb::getIndex().
| Index * rdbModel::Table::getIndexByName | ( | const std::string & | name | ) | const |
| Index * rdbModel::Table::getIndexByName | ( | const std::string & | name | ) | const |
|
inline |
Definition at line 88 of file Calibration/rdbModel/include/rdbModel/Tables/Table.h.
|
inline |
Definition at line 88 of file InstallArea/x86_64-el9-gcc13-dbg/include/rdbModel/Tables/Table.h.
|
inline |
Definition at line 88 of file InstallArea/x86_64-el9-gcc13-opt/include/rdbModel/Tables/Table.h.
|
inline |
Definition at line 41 of file Calibration/rdbModel/include/rdbModel/Tables/Table.h.
Referenced by getColumnByName(), rdbModel::Rdb::getTable(), insertLatest(), insertRow(), and rdbModel::MysqlConnection::visitTable().
|
inline |
Definition at line 41 of file InstallArea/x86_64-el9-gcc13-dbg/include/rdbModel/Tables/Table.h.
|
inline |
Definition at line 41 of file InstallArea/x86_64-el9-gcc13-opt/include/rdbModel/Tables/Table.h.
|
inline |
Definition at line 89 of file Calibration/rdbModel/include/rdbModel/Tables/Table.h.
|
inline |
Definition at line 89 of file InstallArea/x86_64-el9-gcc13-dbg/include/rdbModel/Tables/Table.h.
|
inline |
Definition at line 89 of file InstallArea/x86_64-el9-gcc13-opt/include/rdbModel/Tables/Table.h.
| int rdbModel::Table::insertLatest | ( | Row & | row, |
| int * | serial = 0 ) const |
insertLatest is smart in the following respects: o Makes some checks to see if row is self-consistent o Fills in all fields which are to be supplied by "service" o If row satisfies conditions for being "official"
If test is true, just output description of what would be done without actually doing it. Note row may be modified by the function. If a non-zero pointer is supplied for serial it will contain the primary key value (if there is one) of the new row on exit.
Definition at line 173 of file Table.cxx.
| int rdbModel::Table::insertLatest | ( | Row & | row, |
| int * | serial = 0 ) const |
insertLatest is smart in the following respects: o Makes some checks to see if row is self-consistent o Fills in all fields which are to be supplied by "service" o If row satisfies conditions for being "official"
If test is true, just output description of what would be done without actually doing it. Note row may be modified by the function. If a non-zero pointer is supplied for serial it will contain the primary key value (if there is one) of the new row on exit.
| int rdbModel::Table::insertLatest | ( | Row & | row, |
| int * | serial = 0 ) const |
insertLatest is smart in the following respects: o Makes some checks to see if row is self-consistent o Fills in all fields which are to be supplied by "service" o If row satisfies conditions for being "official"
If test is true, just output description of what would be done without actually doing it. Note row may be modified by the function. If a non-zero pointer is supplied for serial it will contain the primary key value (if there is one) of the new row on exit.
| int rdbModel::Table::insertRow | ( | Row & | row, |
| int * | serial = 0 ) const |
The less smart insertRow function fills in all fields which are to be supplied by "service" and inserts the row, without any further checks. Good return value is 0
Definition at line 271 of file Table.cxx.
Referenced by supersedeRow().
| int rdbModel::Table::insertRow | ( | Row & | row, |
| int * | serial = 0 ) const |
The less smart insertRow function fills in all fields which are to be supplied by "service" and inserts the row, without any further checks. Good return value is 0
| int rdbModel::Table::insertRow | ( | Row & | row, |
| int * | serial = 0 ) const |
The less smart insertRow function fills in all fields which are to be supplied by "service" and inserts the row, without any further checks. Good return value is 0
| void rdbModel::Table::setConnection | ( | Connection * | connect | ) |
| void rdbModel::Table::setConnection | ( | Connection * | connect | ) |
| void rdbModel::Table::setConnection | ( | Connection * | connect | ) |
| void rdbModel::Table::sortColumns | ( | ) |
Definition at line 147 of file Table.cxx.
| void rdbModel::Table::sortColumns | ( | ) |
| void rdbModel::Table::sortColumns | ( | ) |
| int rdbModel::Table::supersedeRow | ( | Row & | row, |
| int | oldKey, | ||
| int * | newKey = 0 ) const |
Given some input values and primary key of an existing row, insert a new row which will supersede the old, according to prescription laid down in <supersede> element of the xml description of the dbs. Good return value is 0
Definition at line 322 of file Table.cxx.
| int rdbModel::Table::supersedeRow | ( | Row & | row, |
| int | oldKey, | ||
| int * | newKey = 0 ) const |
Given some input values and primary key of an existing row, insert a new row which will supersede the old, according to prescription laid down in <supersede> element of the xml description of the dbs. Good return value is 0
| int rdbModel::Table::supersedeRow | ( | Row & | row, |
| int | oldKey, | ||
| int * | newKey = 0 ) const |
Given some input values and primary key of an existing row, insert a new row which will supersede the old, according to prescription laid down in <supersede> element of the xml description of the dbs. Good return value is 0
Silently fills in "service" fields as well as requested updates Good return value is 0
Definition at line 457 of file Table.cxx.
Referenced by supersedeRow().
Silently fills in "service" fields as well as requested updates Good return value is 0
Silently fills in "service" fields as well as requested updates Good return value is 0
|
friend |
Definition at line 98 of file Calibration/rdbModel/include/rdbModel/Tables/Table.h.
|
friend |
Definition at line 97 of file Calibration/rdbModel/include/rdbModel/Tables/Table.h.