-
-
Notifications
You must be signed in to change notification settings - Fork 67
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #88 from paulfitz/diff_summary
add TableDiff.getSummary() for summary stats of diff
- Loading branch information
Showing
5 changed files
with
207 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
// -*- mode:java; tab-width:4; c-basic-offset:4; indent-tabs-mode:nil -*- | ||
|
||
#if !TOPLEVEL | ||
package coopy; | ||
#end | ||
|
||
/** | ||
* | ||
* Summarize the changes in a diff of a pair of tables | ||
* | ||
*/ | ||
@:expose | ||
class DiffSummary { | ||
public var row_deletes : Int; | ||
public var row_inserts : Int; | ||
public var row_updates : Int; | ||
public var row_reorders : Int; | ||
|
||
public var col_deletes : Int; | ||
public var col_inserts : Int; | ||
public var col_updates : Int; | ||
public var col_renames : Int; | ||
public var col_reorders : Int; | ||
|
||
public var row_count_initial_with_header : Int; | ||
public var row_count_final_with_header : Int; | ||
public var row_count_initial : Int; | ||
public var row_count_final : Int; | ||
public var col_count_initial : Int; | ||
public var col_count_final : Int; | ||
|
||
public function new() { | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters