@PublicEvolving public static class TableChange.ModifyColumnComment extends TableChange.ModifyColumn
It is equal to the following statement:
ALTER TABLE <table_name> MODIFY <column_name> <original_column_type> COMMENT '<new_column_comment>'
TableChange.AddColumn, TableChange.AddUniqueConstraint, TableChange.AddWatermark, TableChange.After, TableChange.ColumnPosition, TableChange.DropColumn, TableChange.DropConstraint, TableChange.DropWatermark, TableChange.First, TableChange.ModifyColumn, TableChange.ModifyColumnComment, TableChange.ModifyColumnName, TableChange.ModifyColumnPosition, TableChange.ModifyPhysicalColumnType, TableChange.ModifyUniqueConstraint, TableChange.ModifyWatermark, TableChange.ResetOption, TableChange.SetOption
newColumn, newPosition, oldColumn
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o) |
String |
getNewComment()
Get the new comment for the column.
|
String |
toString() |
getNewColumn, getNewPosition, getOldColumn, hashCode
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
add, add, add, add, dropColumn, dropConstraint, dropWatermark, modify, modify, modify, modifyColumnComment, modifyColumnName, modifyColumnPosition, modifyPhysicalColumnType, reset, set
public String getNewComment()
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.