public class DefaultTableDefinitionChangesPredicate extends Object implements TableDefinitionChangesPredicate
ModelComparator. It is also useful as the base class for platform
specific implementations.| Constructor and Description |
|---|
DefaultTableDefinitionChangesPredicate() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
areSupported(Table intermediateTable,
List changes)
Evaluates the given list of table changes and determines whether they are supported.
|
protected boolean |
isSupported(Table intermediateTable,
TableChange change)
Checks whether the given change is suppored.
|
public DefaultTableDefinitionChangesPredicate()
public boolean areSupported(Table intermediateTable, List changes)
areSupported in interface TableDefinitionChangesPredicateintermediateTable - The current table object which has certain non-table-definition
changes already applied (those that would come before the give
list of changes in the result of
ModelComparator.compare(org.apache.ddlutils.model.Database, org.apache.ddlutils.model.Database)changes - The non-empty list of changestrue if the current plaform supports themprotected boolean isSupported(Table intermediateTable, TableChange change)
intermediateTable - The current table to which this change would be appliedchange - The table changetrue if the change is supportedCopyright © 2010-2015 Pivotal Software, Inc. All rights reserved.