Package org.apache.gravitino.rel
Class TableChange.RenameTable
java.lang.Object
org.apache.gravitino.rel.TableChange.RenameTable
- All Implemented Interfaces:
TableChange
- Enclosing interface:
- TableChange
A TableChange to rename a table.
-
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
-
Method Details
-
getNewName
Retrieves the new name for the table.- Returns:
- The new name of the table.
-
equals
Compares this RenameTable instance with another object for equality. The comparison is based on the new name of the table. -
hashCode
public int hashCode()Generates a hash code for this RenameTable instance. The hash code is based on the new name of the table. -
toString
Returns a string representation of the RenameTable instance. This string format includes the class name followed by the property name to be renamed.
-