public class ColumnOrderChange extends TableChangeImplBase
| Constructor and Description |
|---|
ColumnOrderChange(String tableName,
Map newPositions)
Creates a new change object.
|
| Modifier and Type | Method and Description |
|---|---|
void |
apply(Database database,
boolean caseSensitive)
Applies this change to the given database.
|
int |
getNewPosition(String sourceColumnName,
boolean caseSensitive)
Returns the new position of the given source column.
|
findChangedTable, getChangedTablepublic int getNewPosition(String sourceColumnName, boolean caseSensitive)
sourceColumnName - The column's namecaseSensitive - Whether case of the column name matterspublic void apply(Database database, boolean caseSensitive)
database - The databasecaseSensitive - Whether the case of names mattersCopyright © 2010-2015 Pivotal Software, Inc. All rights reserved.