| Package | Description |
|---|---|
| org.apache.ddlutils |
This package mainly contains the database platform abstraction,
Platform
and the factory to create instances for individual platforms,
PlatformFactory. |
| org.apache.ddlutils.alteration |
Contains the algorithm for comparing two database models and determining
what needs to be changed to migrate one to the other.
|
| org.apache.ddlutils.platform |
This package contains the platform implementations for the individual databases.
|
| org.apache.ddlutils.platform.mssql |
This package contains the platform implementation for the
Sql Server database.
|
| org.apache.ddlutils.platform.mysql |
This package contains the platform implementation for the
MySQL database.
|
| Modifier and Type | Method and Description |
|---|---|
PlatformInfo |
Platform.getPlatformInfo()
Returns the info object for this platform.
|
| Modifier and Type | Method and Description |
|---|---|
protected PlatformInfo |
ModelComparator.getPlatformInfo()
Returns the info object for the platform.
|
| Modifier and Type | Method and Description |
|---|---|
static boolean |
ColumnDefinitionChange.isChanged(PlatformInfo platformInfo,
Column sourceColumn,
Column targetColumn)
Determines whether the definition of the given target column is different from the one of the given source column.
|
static boolean |
ColumnDefinitionChange.isSizeChanged(PlatformInfo platformInfo,
Column sourceColumn,
Column targetColumn)
Determines whether the size or precision/scale of the given target column is different from that of the given source column.
|
static boolean |
ColumnDefinitionChange.isSizeReduced(PlatformInfo platformInfo,
Column sourceColumn,
Column targetColumn)
Determines whether the size or precision/scale of the given target column is smaller than that of the given source column.
|
static boolean |
ColumnDefinitionChange.isTypeChanged(PlatformInfo platformInfo,
Column sourceColumn,
Column targetColumn)
Determines whether the jdbc type of the given target column is different from the one of the given source column.
|
| Constructor and Description |
|---|
ModelComparator(PlatformInfo platformInfo,
TableDefinitionChangesPredicate tableDefChangePredicate,
boolean caseSensitive)
Creates a new model comparator object.
|
| Modifier and Type | Method and Description |
|---|---|
PlatformInfo |
PlatformImplBase.getPlatformInfo()
Returns the info object for this platform.
|
PlatformInfo |
SqlBuilder.getPlatformInfo()
Returns the platform info object.
|
PlatformInfo |
JdbcModelReader.getPlatformInfo()
Returns the platform specific settings.
|
| Constructor and Description |
|---|
MSSqlModelComparator(PlatformInfo platformInfo,
TableDefinitionChangesPredicate tableDefChangePredicate,
boolean caseSensitive)
Creates a new Sql Server model comparator object.
|
| Constructor and Description |
|---|
MySqlModelComparator(PlatformInfo platformInfo,
TableDefinitionChangesPredicate tableDefChangePredicate,
boolean caseSensitive)
Creates a new MySql model comparator object.
|
Copyright © 2010-2015 Pivotal Software, Inc. All rights reserved.