Class TableChange.RenameTable

java.lang.Object
org.apache.gravitino.rel.TableChange.RenameTable
All Implemented Interfaces:
TableChange
Enclosing interface:
TableChange

public static final class TableChange.RenameTable extends Object implements TableChange
A TableChange to rename a table.
  • Method Details

    • getNewName

      public String getNewName()
      Retrieves the new name for the table.
      Returns:
      The new name of the table.
    • equals

      public boolean equals(Object o)
      Compares this RenameTable instance with another object for equality. The comparison is based on the new name of the table.
      Overrides:
      equals in class Object
      Parameters:
      o - The object to compare with this instance.
      Returns:
      true if the given object represents the same table renaming; false otherwise.
    • hashCode

      public int hashCode()
      Generates a hash code for this RenameTable instance. The hash code is based on the new name of the table.
      Overrides:
      hashCode in class Object
      Returns:
      A hash code value for this table renaming operation.
    • toString

      public String toString()
      Returns a string representation of the RenameTable instance. This string format includes the class name followed by the property name to be renamed.
      Overrides:
      toString in class Object
      Returns:
      A string summary of the property rename instance.