@PublicEvolving public static class TableChange.ModifyColumnName extends TableChange.ModifyColumn
It is equal to the following statement:
ALTER TABLE <table_name> RENAME <old_column_name> TO <new_column_name>
TableChange.AddColumn, TableChange.AddDistribution, TableChange.AddUniqueConstraint, TableChange.AddWatermark, TableChange.After, TableChange.ColumnPosition, TableChange.DropColumn, TableChange.DropConstraint, TableChange.DropDistribution, TableChange.DropWatermark, TableChange.First, TableChange.MaterializedTableChange, TableChange.ModifyColumn, TableChange.ModifyColumnComment, TableChange.ModifyColumnName, TableChange.ModifyColumnPosition, TableChange.ModifyDistribution, TableChange.ModifyPhysicalColumnType, TableChange.ModifyRefreshHandler, TableChange.ModifyRefreshStatus, TableChange.ModifyUniqueConstraint, TableChange.ModifyWatermark, TableChange.ResetOption, TableChange.SetOption
newColumn, newPosition, oldColumn
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o) |
String |
getNewColumnName()
Returns the new column name after renaming the column name.
|
String |
getOldColumnName()
Returns the origin column name.
|
String |
toString() |
getNewColumn, getNewPosition, getOldColumn, hashCode
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
add, add, add, add, add, dropColumn, dropConstraint, dropDistribution, dropWatermark, modify, modify, modify, modify, modifyColumnComment, modifyColumnName, modifyColumnPosition, modifyPhysicalColumnType, modifyRefreshHandler, modifyRefreshStatus, reset, set
public String getOldColumnName()
public String getNewColumnName()
public boolean equals(Object o)
equals
in class TableChange.ModifyColumn
public String toString()
toString
in class TableChange.ModifyColumn
Copyright © 2014–2024 The Apache Software Foundation. All rights reserved.