Class MetalakeChange.RenameMetalake

java.lang.Object
org.apache.gravitino.MetalakeChange.RenameMetalake
All Implemented Interfaces:
MetalakeChange
Enclosing interface:
MetalakeChange

public static final class MetalakeChange.RenameMetalake extends Object implements MetalakeChange
A metalake change to rename the metalake.
  • Method Details

    • getNewName

      public String getNewName()
      Retrieves the new name intended for the Metalake.
      Returns:
      The new name to be set for the Metalake.
    • equals

      public boolean equals(Object o)
      Compares this RenameMetalake instance with another object for equality.
      Overrides:
      equals in class Object
      Parameters:
      o - The object to compare with this instance.
      Returns:
      true if the given object represents an identical renaming operation; false otherwise.
    • hashCode

      public int hashCode()
      Generates a hash code for this RenameMetalake instance.
      Overrides:
      hashCode in class Object
      Returns:
      A hash code representing this renaming operation.
    • toString

      public String toString()
      Provides a string representation of the RenameMetalake instance. This string includes the class name and the new name set for the Metalake
      Overrides:
      toString in class Object
      Returns:
      A string summary of this renaming operation.