Abstract: No Structure:
Creates a new comparator to compute the differences from old_model to new_model: if one applies all the computed differences (as
Gda.Diffstructures) to old_model, the resulting data model should have the same contents as new_model.
Trueif all the differences have been successfully computed, and
Falseif an error occurred
Actually computes the differences between the data models for which self is defined.
For each difference computed, stored in a
Gda.Diffstructure, the “diff-computed” signal is emitted. If one connects to this signal and returns
Falsein the signal handler, then computing differences will be stopped and an error will be returned.
Parameters: pos (
int) – the requested difference number (starting at 0)
Returns: a pointer to a
Noneif pos is invalid
Get a pointer to the
Gda.Diffstructure representing the difference which number is pos
Returns: the number of computed differences Return type:
Get the number of differences as computed by the last time
Gda.DataComparator.compute_diff() was called.
Parameters: col_numbers ([
int]) – an array of nb_cols values
Defines the columns which will be used as a key when searching data. This is not mandatory but will speed things up as less data will be processed.