gda.data_comparator
Module for DataComparator class
Types 4
Methods
DataComparator self()Returns `this`, for use in `with` statements.DataComparatorGidBuilder builder()Get builder for [gda.data_comparator.DataComparator] Returns: New builder objectgda.data_model.DataModel newModel() @propertyvoid newModel(gda.data_model.DataModel propval) @propertygda.data_model.DataModel oldModel() @propertyvoid oldModel(gda.data_model.DataModel propval) @propertybool computeDiff()Actually computes the differences between the data models for which comp is defined.gda.diff.Diff getDiff(int pos)Get a pointer to the #GdaDiff structure representing the difference which number is posint getNDiffs()Get the number of differences as computed by the last time [gda.data_comparator.DataComparator.computeDiff] was called. Returns: the number of computed differencesvoid setKeyColumns(int[] colNumbers)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.gulong connectDiffComputed(T)(T callback, Flag!"After" after = No.After) if (isCallable!T
&& is(ReturnType!T == bool)
&& (Parameters!T.length < 1 || (ParameterStorageClassTuple!T[0] == ParameterStorageClass.none && is(Parameters!T[0] == void *)))
&& (Parameters!T.length < 2 || (ParameterStorageClassTuple!T[1] == ParameterStorageClass.none && is(Parameters!T[1] : gda.data_comparator.DataComparator)))
&& Parameters!T.length < 3)Connect to `DiffComputed` signal.Constructors
this(gda.data_model.DataModel oldModel, gda.data_model.DataModel newModel)Creates a new comparator to compute the differences from old_model to new_model: if one applies all the computed differences (as #GdaDiff structures) to old_model, the resulting data model should h...Fluent builder implementation template for gda.data_comparator.DataComparator
Fluent builder for gda.data_comparator.DataComparator
Methods
DataComparator build()Create object from builder. Returns: New objectclassDataComparatorException : ErrorWrap