Package org.apache.gravitino.rel
Class TableChange.UpdateComment
java.lang.Object
org.apache.gravitino.rel.TableChange.UpdateComment
- All Implemented Interfaces:
TableChange
- Enclosing interface:
- TableChange
A TableChange to update a table's comment.
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.apache.gravitino.rel.TableChange
TableChange.AddColumn, TableChange.AddIndex, TableChange.After, TableChange.ColumnChange, TableChange.ColumnPosition, TableChange.Default, TableChange.DeleteColumn, TableChange.DeleteIndex, TableChange.First, TableChange.RemoveProperty, TableChange.RenameColumn, TableChange.RenameTable, TableChange.SetProperty, TableChange.UpdateColumnAutoIncrement, TableChange.UpdateColumnComment, TableChange.UpdateColumnDefaultValue, TableChange.UpdateColumnNullability, TableChange.UpdateColumnPosition, TableChange.UpdateColumnType, TableChange.UpdateComment
-
Method Summary
Modifier and TypeMethodDescriptionboolean
Compares this UpdateComment instance with another object for equality.Retrieves the new comment for the table.int
hashCode()
Generates a hash code for this UpdateComment instance.toString()
Returns a string representation of the UpdateComment instance.
-
Method Details
-
getNewComment
Retrieves the new comment for the table.- Returns:
- The new comment of the table.
-
equals
Compares this UpdateComment instance with another object for equality. The comparison is based on the new comment of the table. -
hashCode
public int hashCode()Generates a hash code for this UpdateComment instance. The hash code is based on the new comment of the table. -
toString
Returns a string representation of the UpdateComment instance. This string format includes the class name followed by the property name to be updated.
-