Description. This method defines a table on which events are to be detected.
By default, event detection takes place on all columns in the
addEventColumn() to override this
behavior. For details, see
Section 220.127.116.11, “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
returns -1 if the table pointer is
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.