Documentation Home
MySQL NDB Cluster API Developer Guide
Download this Manual

2.3.21.2 NdbEventOperation::execute()

Description.  Activates the NdbEventOperation, so that it can begin receiving events. Changed attribute values may be retrieved after Ndb::nextEvent() has returned a value other than NULL.

One of getValue(), getPreValue(), getBlobValue(), or getPreBlobValue() must be called before invoking execute().

Important

Before attempting to use this method, you should have read the explanations provided in Section 2.3.16.25, “Ndb::nextEvent()”, and Section 2.3.21.13, “NdbEventOperation::getValue()”. Also see Section 2.3.21, “The NdbEventOperation Class”.

Signature. 

int execute
    (
      void
    )

Parameters.  None.

Return value.  This method returns 0 on success and -1 on failure.


User Comments
Sign Up Login You must be logged in to post a comment.