Method Summary |
|
public void | cancel() |
public void | compareAll() Setup this SchemaDiff object to compare all tables that the user
can access in the reference connection with all matching (=same name)
tables in the target connection. |
public boolean | getCompareJdbcTypes() |
public String | getEncoding() |
public boolean | getIncludeForeignKeys() |
public boolean | getIncludeIndex() |
public boolean | getIncludePrimaryKeys() |
public boolean | getIncludeSequences() |
public boolean | getIncludeTableConstraints() |
public boolean | getIncludeTableGrants() |
public String | getMigrateTargetXml() Return the XML that describes how the target schema needs to be
modified in order to get the same structure as the reference schema.
For this, each defined table in the reference schema will be compared
to the corresponding table in the target schema. |
public boolean | isCancelled() |
public void | setCompareJdbcTypes(boolean flag) |
public void | setEncoding(String encoding) Set the encoding that is used for writing the XML. |
public void | setExcludeTables(List<String> tables) Define a list of table names that should not be compared. |
public void | setIncludeForeignKeys(boolean flag) Control whether foreign keys should be compared as well. |
public void | setIncludeIndex(boolean flag) Control whether index definitions should be compared as well. |
public void | setIncludePrimaryKeys(boolean flag) Control whether primary keys should be compared as well. |
public void | setIncludeProcedures(boolean flag) |
public void | setIncludeSequences(boolean flag) |
public void | setIncludeTableConstraints(boolean flag) Control whether table constraints should be compared as well. |
public void | setIncludeTableGrants(boolean flag) |
public void | setIncludeViews(boolean flag) |
public void | setMonitor(RowActionMonitor mon) |
public void | setSchemas(String rSchema, String tSchema) Setup this SchemaDiff object to compare all tables that the user
can access in the reference connection with all matching (=same name)
tables in the target connection. |
public void | setTableNames(List<String> referenceList, List<String> targetList) Define table names to be compared. |
public void | setTables(List<TableIdentifier> referenceList, List<TableIdentifier> targetList) Define the tables to be compared. |
public void | setTables(List<TableIdentifier> reference) Define the reference tables to be compared with the matching
tables (based on the name) in the target connection. |
public void | writeXml(Writer out) Write the XML of the schema differences to the supplied writer.
This writes some meta information about the compare, and then
creates a
TableDiff object for each pair of tables that
needs to be compared. |