|
MySQL 5.6.14 Source Code Document
|


Static Public Member Functions | |
| static NdbEventImpl & | getImpl (NdbDictionary::Event &t) |
| static NdbEventImpl & | getImpl (const NdbDictionary::Event &t) |
Static Public Member Functions inherited from NdbDictObjectImpl | |
| static NdbDictObjectImpl & | getImpl (NdbDictionary::ObjectId &t) |
| static const NdbDictObjectImpl & | getImpl (const NdbDictionary::ObjectId &t) |
Public Attributes | |
| Uint32 | m_eventId |
| Uint32 | m_eventKey |
| AttributeMask | m_attrListBitmask |
| Uint32 | m_table_id |
| Uint32 | m_table_version |
| BaseString | m_name |
| Uint32 | mi_type |
| NdbDictionary::Event::EventDurability | m_dur |
| NdbDictionary::Event::EventReport | m_rep |
| bool | m_mergeEvents |
| BaseString | m_tableName |
| Vector< NdbColumnImpl * > | m_columns |
| Vector< unsigned > | m_attrIds |
| NdbDictionary::Event * | m_facade |
Public Attributes inherited from NdbDictObjectImpl | |
| int | m_id |
| Uint32 | m_version |
| NdbDictionary::Object::Type | m_type |
| NdbDictionary::Object::Status | m_status |
Friends | |
| class | NdbDictInterface |
| class | NdbDictionaryImpl |
| class | NdbEventOperation |
| class | NdbEventOperationImpl |
| class | NdbEventBuffer |
| class | EventBufData_hash |
| class | NdbBlob |
Additional Inherited Members | |
Public Types inherited from NdbDictionary::Event | |
| enum | TableEvent { TE_INSERT = 1<<0, TE_DELETE = 1<<1, TE_UPDATE = 1<<2, TE_SCAN = 1<<3, TE_FIRST_NON_DATA_EVENT = 1<<4, TE_DROP = 1<<4, TE_ALTER = 1<<5, TE_CREATE = 1<<6, TE_GCP_COMPLETE = 1<<7, TE_CLUSTER_FAILURE = 1<<8, TE_STOP = 1<<9, TE_NODE_FAILURE = 1<<10, TE_SUBSCRIBE = 1<<11, TE_UNSUBSCRIBE = 1<<12, TE_ALL = 0xFFFF } |
| enum | _TableEvent { _TE_INSERT = 0, _TE_DELETE = 1, _TE_UPDATE = 2, _TE_SCAN = 3, _TE_FIRST_NON_DATA_EVENT = 4, _TE_DROP = 4, _TE_ALTER = 5, _TE_CREATE = 6, _TE_GCP_COMPLETE = 7, _TE_CLUSTER_FAILURE = 8, _TE_STOP = 9, _TE_NODE_FAILURE = 10, _TE_SUBSCRIBE = 11, _TE_UNSUBSCRIBE = 12, _TE_NUL = 13, _TE_ACTIVE = 14 } |
| enum | EventDurability { ED_UNDEFINED = 0, ED_PERMANENT = 3 } |
| enum | EventReport { ER_UPDATED = 0, ER_ALL = 1, ER_SUBSCRIBE = 2, ER_DDL = 4 } |
Protected Member Functions inherited from NdbDictObjectImpl | |
| NdbDictObjectImpl (NdbDictionary::Object::Type type) | |
Definition at line 400 of file NdbDictionaryImpl.hpp.
| NdbEventImpl::NdbEventImpl | ( | ) |
Definition at line 1748 of file NdbDictionaryImpl.cpp.
| void NdbEventImpl::addTableEvent | ( | const NdbDictionary::Event::TableEvent | te = NdbDictionary::Event::TE_ALL | ) |
Add type of event that should be detected
Reimplemented from NdbDictionary::Event.
Definition at line 1842 of file NdbDictionaryImpl.cpp.
| NdbDictionary::Event::EventDurability NdbEventImpl::getDurability | ( | ) | const |
Get durability of the event
Reimplemented from NdbDictionary::Event.
Definition at line 1860 of file NdbDictionaryImpl.cpp.
| const NdbDictionary::Column * NdbEventImpl::getEventColumn | ( | unsigned | no | ) | const |
Get a specific column in the event
Reimplemented from NdbDictionary::Event.
Definition at line 1883 of file NdbDictionaryImpl.cpp.
| const char * NdbEventImpl::getName | ( | ) | const |
Get unique identifier for the event
Reimplemented from NdbDictionary::Event.
Definition at line 1795 of file NdbDictionaryImpl.cpp.

| int NdbEventImpl::getNoOfEventColumns | ( | ) | const |
Get no of columns defined in an Event
Reimplemented from NdbDictionary::Event.
Definition at line 1877 of file NdbDictionaryImpl.cpp.
| NdbDictionary::Event::EventReport NdbEventImpl::getReport | ( | ) | const |
Get report option of the event
Reimplemented from NdbDictionary::Event.
Definition at line 1872 of file NdbDictionaryImpl.cpp.
| const NdbDictionary::Table * NdbEventImpl::getTable | ( | ) | const |
Get table that the event is defined on
Reimplemented from NdbDictionary::Event.
Definition at line 1821 of file NdbDictionaryImpl.cpp.
| bool NdbEventImpl::getTableEvent | ( | const NdbDictionary::Event::TableEvent | te | ) | const |
Check if a specific table event will be detected
Reimplemented from NdbDictionary::Event.
Definition at line 1848 of file NdbDictionaryImpl.cpp.
| const char * NdbEventImpl::getTableName | ( | ) | const |
Get table name for events
Reimplemented from NdbDictionary::Event.
Definition at line 1836 of file NdbDictionaryImpl.cpp.

| void NdbEventImpl::setDurability | ( | NdbDictionary::Event::EventDurability | d | ) |
Set durability of the event
Reimplemented from NdbDictionary::Event.
Definition at line 1854 of file NdbDictionaryImpl.cpp.
| int NdbEventImpl::setName | ( | const char * | name | ) |
Set unique identifier for the event
Reimplemented from NdbDictionary::Event.
Definition at line 1790 of file NdbDictionaryImpl.cpp.


| void NdbEventImpl::setReport | ( | NdbDictionary::Event::EventReport | r | ) |
Set report option of the event
Reimplemented from NdbDictionary::Event.
Definition at line 1866 of file NdbDictionaryImpl.cpp.
| int NdbEventImpl::setTable | ( | const NdbDictionary::Table & | table | ) |
Define table on which events should be detected
| table | reference retrieved from NdbDictionary |
Reimplemented from NdbDictionary::Event.
Definition at line 1801 of file NdbDictionaryImpl.cpp.

| int NdbEventImpl::setTable | ( | const char * | tableName | ) |
Set table for which events should be detected
Reimplemented from NdbDictionary::Event.
Definition at line 1830 of file NdbDictionaryImpl.cpp.
