public static final class TableChange.RenameColumn extends java.lang.Object implements TableChange.ColumnChange
The name is used to find the field to rename. The new name will replace the leaf field name. For example, renameColumn("a.b.c", "x") should produce column a.b.x.
If the field does not exist, the change must result in an IllegalArgumentException
.
TableChange.AddColumn, TableChange.After, TableChange.ColumnChange, TableChange.ColumnPosition, TableChange.Default, TableChange.DeleteColumn, TableChange.First, TableChange.RemoveProperty, TableChange.RenameColumn, TableChange.RenameTable, TableChange.SetProperty, TableChange.UpdateColumnComment, TableChange.UpdateColumnNullability, TableChange.UpdateColumnPosition, TableChange.UpdateColumnType, TableChange.UpdateComment
Modifier and Type | Method and Description |
---|---|
java.lang.String[] |
fieldName() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
addColumn, addColumn, addColumn, addColumn, addColumn, addColumn, addColumn, deleteColumn, removeProperty, rename, renameColumn, setProperty, updateColumnComment, updateColumnNullability, updateColumnPosition, updateColumnType, updateComment
public java.lang.String[] fieldName()
fieldName
in interface TableChange.ColumnChange