public class ColumnOrderChange extends TableChangeImplBase
| Constructor and Description |
|---|
ColumnOrderChange(Table table,
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(Column sourceColumn)
Returns the new position of the given source column.
|
getChangedTablepublic int getNewPosition(Column sourceColumn)
sourceColumn - The columnpublic void apply(Database database, boolean caseSensitive)
database - The databasecaseSensitive - Whether the case of names mattersCopyright © 2005-2013 Apache Software Foundation. All Rights Reserved.