Documentation Home
MySQL NDB Cluster API Developer Guide
Download this Manual

2.3.6.18 Event::mergeEvents()

Description.  This method is used to set the merge events flag, which is false by default. Setting it to true implies that events are merged as follows:

  • For a given NdbEventOperation associated with this event, events on the same primary key within the same global checkpoint index (GCI) are merged into a single event.

  • A blob table event is created for each blob attribute, and blob events are handled as part of main table events.

  • Blob post/pre data from blob part events can be read via NdbBlob methods as a single value.

Note

Currently this flag is not inherited by NdbEventOperation, and must be set on NdbEventOperation explicitly. See Section 2.3.21, “The NdbEventOperation Class”.

Signature. 

void mergeEvents
    (
      bool flag
    )

Parameters.  A Boolean flag value.

Return value.  None.


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