public interface AQSchemaComparator
Modifier and Type | Method and Description |
---|---|
void |
addArrayLeft(AQServerObject[] serverObjects)
Adds an array of server objects to the left side.
|
void |
addArrayRight(AQServerObject[] serverObjects)
Adds an array of server objects to the right side.
|
void |
addLeft(AQServerObject serverObject)
Adds an object to the left side.
|
void |
addRight(AQServerObject serverObject)
Adds an object to the right side.
|
AQSchemaDifferences |
compare()
Performs comparison of CREATE DDL scripts.
|
AQCompareOptions |
getCompareOptions()
Returns a mutable object which allows for setting comparison options.
|
AQScriptOptions |
getOptions()
Returns the script options object which controls generation of CREATE scripts
used in the comparison process.
|
void |
setIgnoreCaseForObjectDef(boolean ignoreCase)
Defines whether the case for the object name is taken into account when considering objects that
have the same name.
|
void |
setQualifySchema(boolean qualifySchema)
Defines whether the object schema name is taken into account when considering objects that
have the same name but different schema.
|
AQScriptOptions getOptions()
void addLeft(AQServerObject serverObject)
serverObject
- the server objectvoid addArrayLeft(AQServerObject[] serverObjects)
serverObjects
- the server objectsvoid addRight(AQServerObject serverObject)
serverObject
- the server objectvoid addArrayRight(AQServerObject[] serverObjects)
serverObjects
- the server objectsAQSchemaDifferences compare()
void setQualifySchema(boolean qualifySchema)
qualifySchema
- If value is set to true, then objects with the same name but different schemas
are to be considered different. Default value is false.void setIgnoreCaseForObjectDef(boolean ignoreCase)
ignoreCase
- If value is set to true, then objects with the same name but in different case
are to be considered equal. Default value is false.AQCompareOptions getCompareOptions()
Copyright © 2017 AquaFold, Inc. All Rights Reserved. Use is subject to license terms.