MySQL 5.6.14 Source Code Document
|
Public Member Functions | |
NdbEventOperationImpl (NdbEventOperation &f, Ndb *theNdb, const char *eventName) | |
NdbEventOperationImpl (Ndb *theNdb, NdbEventImpl &evnt) | |
void | init (NdbEventImpl &evnt) |
NdbEventOperationImpl (NdbEventOperationImpl &) | |
NdbEventOperationImpl & | operator= (const NdbEventOperationImpl &) |
NdbEventOperation::State | getState () |
int | execute () |
int | execute_nolock () |
int | stop () |
NdbRecAttr * | getValue (const char *colName, char *aValue, int n) |
NdbRecAttr * | getValue (const NdbColumnImpl *, char *aValue, int n) |
NdbBlob * | getBlobHandle (const char *colName, int n) |
NdbBlob * | getBlobHandle (const NdbColumnImpl *, int n) |
Uint32 | get_blob_part_no (bool hasDist) |
int | readBlobParts (char *buf, NdbBlob *blob, Uint32 part, Uint32 count, Uint16 *lenLoc) |
int | receive_event () |
bool | tableNameChanged () const |
bool | tableFrmChanged () const |
bool | tableFragmentationChanged () const |
bool | tableRangeListChanged () const |
Uint64 | getGCI () |
Uint32 | getAnyValue () const |
Uint64 | getLatestGCI () |
Uint64 | getTransId () const |
bool | execSUB_TABLE_DATA (const NdbApiSignal *signal, const LinearSectionPtr ptr[3]) |
NdbDictionary::Event::TableEvent | getEventType () |
void | print () |
void | printAll () |
const NdbError & | getNdbError () const |
Public Member Functions inherited from NdbEventOperation | |
void | mergeEvents (bool flag) |
NdbRecAttr * | getValue (const char *anAttrName, char *aValue=0) |
NdbRecAttr * | getPreValue (const char *anAttrName, char *aValue=0) |
NdbBlob * | getBlobHandle (const char *anAttrName) |
NdbBlob * | getPreBlobHandle (const char *anAttrName) |
int | isOverrun () const |
bool | isConsistent () const |
NdbDictionary::Event::TableEvent | getEventType () const |
Uint64 | getGCI () const |
Uint64 | getLatestGCI () const |
const NdbDictionary::Table * | getTable () const |
const NdbDictionary::Event * | getEvent () const |
const NdbRecAttr * | getFirstPkAttr () const |
const NdbRecAttr * | getFirstPkPreAttr () const |
const NdbRecAttr * | getFirstDataAttr () const |
const NdbRecAttr * | getFirstDataPreAttr () const |
void | setCustomData (void *data) |
void * | getCustomData () const |
void | clearError () |
int | hasError () const |
int | getReqNodeId () const |
int | getNdbdNodeId () const |
Public Attributes | |
NdbEventOperation * | m_facade |
Uint32 | m_magic_number |
NdbError | m_error |
Ndb * | m_ndb |
NdbEventImpl * | m_eventImpl |
NdbRecAttr * | theFirstPkAttrs [2] |
NdbRecAttr * | theCurrentPkAttrs [2] |
NdbRecAttr * | theFirstDataAttrs [2] |
NdbRecAttr * | theCurrentDataAttrs [2] |
NdbBlob * | theBlobList |
NdbEventOperationImpl * | theBlobOpList |
NdbEventOperationImpl * | theMainOp |
int | theBlobVersion |
NdbEventOperation::State | m_state |
Uint32 | mi_type |
Uint32 | m_eventId |
Uint32 | m_oid |
Uint64 | m_stop_gci |
int | m_ref_count |
bool | m_mergeEvents |
EventBufData * | m_data_item |
void * | m_custom_data |
int | m_has_error |
Uint32 | m_fragmentId |
UtilBuffer | m_buffer |
Uint32 | m_change_mask |
NdbEventOperationImpl * | m_next |
NdbEventOperationImpl * | m_prev |
Additional Inherited Members | |
Public Types inherited from NdbEventOperation | |
enum | State { EO_CREATED, EO_EXECUTING, EO_DROPPED, EO_ERROR } |
Definition at line 353 of file NdbEventOperationImpl.hpp.
int NdbEventOperationImpl::execute | ( | ) |
Activates the NdbEventOperation to start receiving events. The changed attribute values may be retrieved after Ndb::nextEvent() has returned not NULL. The getValue() methods must be called prior to execute().
Reimplemented from NdbEventOperation.
Definition at line 570 of file NdbEventOperationImpl.cpp.
Uint32 NdbEventOperationImpl::getAnyValue | ( | ) | const |
Retrieve the AnyValue of the latest retrieved event
Reimplemented from NdbEventOperation.
Definition at line 784 of file NdbEventOperationImpl.cpp.
const NdbError & NdbEventOperationImpl::getNdbError | ( | ) | const |
Get the latest error
Reimplemented from NdbEventOperation.
Definition at line 73 of file Ndberr.cpp.
NdbEventOperation::State NdbEventOperationImpl::getState | ( | ) |
Retrieve current state of the NdbEventOperation object
Reimplemented from NdbEventOperation.
Definition at line 228 of file NdbEventOperationImpl.cpp.
Uint64 NdbEventOperationImpl::getTransId | ( | ) | const |
Retrieve the TransId of the latest retrieved event
Only valid for data events. If the kernel does not support transaction ids with events, the max Uint64 value is returned.
Reimplemented from NdbEventOperation.
Definition at line 796 of file NdbEventOperationImpl.cpp.
bool NdbEventOperationImpl::tableFragmentationChanged | ( | ) | const |
Check if table fragmentation has changed, for event TE_ALTER
Reimplemented from NdbEventOperation.
Definition at line 765 of file NdbEventOperationImpl.cpp.
bool NdbEventOperationImpl::tableFrmChanged | ( | ) | const |
Check if table frm has changed, for event TE_ALTER
Reimplemented from NdbEventOperation.
Definition at line 760 of file NdbEventOperationImpl.cpp.
bool NdbEventOperationImpl::tableNameChanged | ( | ) | const |
Check if table name has changed, for event TE_ALTER
Reimplemented from NdbEventOperation.
Definition at line 755 of file NdbEventOperationImpl.cpp.
bool NdbEventOperationImpl::tableRangeListChanged | ( | ) | const |
Check if table range partition list name has changed, for event TE_ALTER
Reimplemented from NdbEventOperation.
Definition at line 770 of file NdbEventOperationImpl.cpp.