|
MySQL 5.6.14 Source Code Document
|
Public Member Functions | |
| void | setRows (int rows) |
| void | addRows (int rows) |
| int | getNoOfRows () const |
| int | getNoOfColumns () const |
| int | getNoOfPKs () const |
| const NDBT_Attribute * | getColumn (int index) |
| const NDBT_Attribute * | getColumn (const char *name) |
| bool | hasPK (int row) |
| bool | hasData (int row) |
| bool | hasPK () |
| bool | hasData () |
| Uint32 | getUInt (int row, int index) const |
| Uint32 | getUInt (int row, const char *attribute) const |
| Int32 | getInt (int row, int index) const |
| Int32 | getInt (int row, const char *attribute) const |
| const char * | getString (int row, int index) const |
| const char * | getString (int row, const char *attribute) const |
| bool | getIsNull (int row, int index) const |
| bool | getIsNull (int row, const char *attribute) const |
| void | set (int row, int index, Int32 value) |
| void | set (int row, const char *attr, Int32 value) |
| void | set (int row, int index, Uint32 value) |
| void | set (int row, const char *attr, Uint32 value) |
| void | set (int row, int index, const char *value) |
| void | set (int row, const char *attr, const char *value) |
| bool | equal (const NDBT_DataSet &other) const |
| bool | equalPK (const NDBT_DataSet &other) const |
Friends | |
| class | NDBT_DataSetFactory |
Definition at line 39 of file NDBT_DataSet.hpp.
| bool NDBT_DataSet::equal | ( | const NDBT_DataSet & | other | ) | const |
Comparators Is this dataset identical to other dataset
If either of the datasets have "undefined" rows the answer is false
| bool NDBT_DataSet::equalPK | ( | const NDBT_DataSet & | other | ) | const |
Do these dataset have identical PK's
I.e noOfRows equal
and for each row there is a corresponding row in the other ds with the same pk
| int NDBT_DataSet::getNoOfColumns | ( | ) | const |
Columns for a row in the data set
| Uint32 NDBT_DataSet::getUInt | ( | int | row, |
| int | index | ||
| ) | const |
Getters for data
| bool NDBT_DataSet::hasData | ( | ) |
Do all rows in the dataset has data
| bool NDBT_DataSet::hasPK | ( | int | row | ) |
Data status in dataset
| bool NDBT_DataSet::hasPK | ( | ) |
Do all rows in the dataset have a PK
| void NDBT_DataSet::set | ( | int | row, |
| int | index, | ||
| Int32 | value | ||
| ) |
Setters for data
| void NDBT_DataSet::setRows | ( | int | rows | ) |
Rows in the data set