Documentation Home
MySQL NDB Cluster API Developer Guide
Download this Manual Event::setTable()

Description.  This method defines a table on which events are to be detected.


By default, event detection takes place on all columns in the table. Use addEventColumn() to override this behavior. For details, see Section, “Event::addEventColumn()”.


void setTable
      const NdbDictionary::Table& table

NDB 7.2.14, NDB 7.3.3, and later NDB Cluster releases support the use of a pointer with this method, as shown here:

void setTable
      const NdbDictionary::Table*; table

When so used, this version of setTable() returns -1 if the table pointer is NULL. (Bug #16329082)

Parameters.  This method requires a single parameter, a reference to the table (see Section 2.3.37, “The Table Class”) on which events are to be detected. NDB 7.2.14, NDB 7.3.3, and later: A reference or a pointer to the table can be used.

Return value.  None. NDB 7.2.14, NDB 7.3.3, and later: -1, if a null table pointer is used.

User Comments
User comments in this section are, as the name implies, provided by MySQL users. The MySQL documentation team is not responsible for, nor do they endorse, any of the information provided here.
Sign Up Login You must be logged in to post a comment.