Daff - Data Diff

daff.Ordering

An ordered list of units, representing a merged view of rows in a local, remote, and (optionally) parent table.

Type: class

Constructor:

new()

Methods:

add (l : Int, r : Int, ?p : Int) : Void
  Add a local/remote/parent triplet.

Parameters:

  • l the row/column number in the local table (-1 means absent)
  • r the row/column number in the remote table (-1 means absent)
  • p the row/column number in the parent table (-1 means absent, -2 means there is no parent)
getList () : Array<Unit>

Returns: the list of units in this ordering

ignoreParent () : Void
  Force any parent row/column numbers to be ignored and discarded.
setList (lst : Array<Unit>) : Void
  Replace the order with a prepared list.

Parameters: lst the new order

toString () : String

Returns: the list of units in text form