public class RecreateTableChange extends TableChangeImplBase
| Constructor and Description |
|---|
RecreateTableChange(String tableName,
Table targetTable,
List originalChanges)
Creates a new change object for recreating a table.
|
| Modifier and Type | Method and Description |
|---|---|
void |
apply(Database database,
boolean caseSensitive)
Applies this change to the given database.
|
List |
getOriginalChanges()
Returns the original table changes, one of which is unsupported by the current platform.
|
Table |
getTargetTable()
Returns the target table definition.
|
findChangedTable, getChangedTablepublic RecreateTableChange(String tableName, Table targetTable, List originalChanges)
tableName - The name of the tabletargetTable - The table as it should be; note that the change object will keep a reference
to this table which means that it should not be changed after creating this
change objectoriginalChanges - The original changes that this change object replacespublic List getOriginalChanges()
public Table getTargetTable()
public void apply(Database database, boolean caseSensitive)
database - The databasecaseSensitive - Whether the case of names mattersCopyright © 2010-2015 Pivotal Software, Inc. All rights reserved.