Package org.apache.flink.table.catalog
Class TableChange.ModifyColumnComment
- java.lang.Object
-
- org.apache.flink.table.catalog.TableChange.ModifyColumn
-
- org.apache.flink.table.catalog.TableChange.ModifyColumnComment
-
- All Implemented Interfaces:
TableChange
- Enclosing interface:
- TableChange
@PublicEvolving public static class TableChange.ModifyColumnComment extends TableChange.ModifyColumn
A table change to modify the column comment.It is equal to the following statement:
ALTER TABLE <table_name> MODIFY <column_name> <original_column_type> COMMENT '<new_column_comment>'
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.apache.flink.table.catalog.TableChange
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
-
-
Field Summary
-
Fields inherited from class org.apache.flink.table.catalog.TableChange.ModifyColumn
newColumn, newPosition, oldColumn
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object o)
String
getNewComment()
Get the new comment for the column.String
toString()
-
Methods inherited from class org.apache.flink.table.catalog.TableChange.ModifyColumn
getNewColumn, getNewPosition, getOldColumn, hashCode
-
-
-
-
Method Detail
-
getNewComment
public String getNewComment()
Get the new comment for the column.
-
equals
public boolean equals(Object o)
- Overrides:
equals
in classTableChange.ModifyColumn
-
toString
public String toString()
- Overrides:
toString
in classTableChange.ModifyColumn
-
-