#include <NdbDictionary.hpp>
Specifies reporting options for table events
Specifies the type of database operations an Event listens to
NdbDictionary::NdbDictionary::Event::Event | ( | const char * | name | ) |
Constructor
name | Name of event |
NdbDictionary::NdbDictionary::Event::Event | ( | const char * | name, | |
const NdbDictionary::Table & | table | |||
) |
Constructor
name | Name of event | |
table | Reference retrieved from NdbDictionary |
void NdbDictionary::NdbDictionary::Event::addEventColumn | ( | const char * | columnName | ) |
Add a column on which events should be detected
columnName | Column name |
void NdbDictionary::NdbDictionary::Event::addEventColumn | ( | unsigned | attrId | ) |
Add a column on which events should be detected
attrId | Column id |
void NdbDictionary::NdbDictionary::Event::addEventColumns | ( | int | n, | |
const char ** | columnNames | |||
) |
Add several columns on which events should be detected
n | Number of columns | |
columnNames | Column names |
void NdbDictionary::NdbDictionary::Event::addTableEvent | ( | const TableEvent | te | ) |
Add type of event that should be detected
EventDurability NdbDictionary::NdbDictionary::Event::getDurability | ( | ) | const |
Get durability of the event
const Column* NdbDictionary::NdbDictionary::Event::getEventColumn | ( | unsigned | no | ) | const |
Get a specific column in the event
const char* NdbDictionary::NdbDictionary::Event::getName | ( | ) | const |
Get unique identifier for the event
int NdbDictionary::NdbDictionary::Event::getNoOfEventColumns | ( | ) | const |
virtual int NdbDictionary::NdbDictionary::Event::getObjectId | ( | ) | const [virtual] |
Get object id
Implements NdbDictionary::NdbDictionary::Object.
virtual Object::Status NdbDictionary::NdbDictionary::Event::getObjectStatus | ( | ) | const [virtual] |
Get object status
Implements NdbDictionary::NdbDictionary::Object.
virtual int NdbDictionary::NdbDictionary::Event::getObjectVersion | ( | ) | const [virtual] |
Get object version
Implements NdbDictionary::NdbDictionary::Object.
EventReport NdbDictionary::NdbDictionary::Event::getReport | ( | ) | const |
Get report option of the event
const NdbDictionary::Table* NdbDictionary::NdbDictionary::Event::getTable | ( | ) | const |
Get table that the event is defined on
bool NdbDictionary::NdbDictionary::Event::getTableEvent | ( | const TableEvent | te | ) | const |
Check if a specific table event will be detected
const char* NdbDictionary::NdbDictionary::Event::getTableName | ( | ) | const |
Get table name for events
void NdbDictionary::NdbDictionary::Event::mergeEvents | ( | bool | flag | ) |
The merge events flag is false by default. Setting it true implies that events are merged in following ways:
NOTE: Currently this flag is not inherited by NdbEventOperation and must be set on NdbEventOperation explicitly.
void NdbDictionary::NdbDictionary::Event::setDurability | ( | EventDurability | ) |
Set durability of the event
int NdbDictionary::NdbDictionary::Event::setName | ( | const char * | name | ) |
Set unique identifier for the event
void NdbDictionary::NdbDictionary::Event::setReport | ( | EventReport | ) |
Set report option of the event
int NdbDictionary::NdbDictionary::Event::setTable | ( | const char * | tableName | ) |
Set table for which events should be detected
void NdbDictionary::NdbDictionary::Event::setTable | ( | const NdbDictionary::Table & | table | ) |
Define table on which events should be detected
table | reference retrieved from NdbDictionary |