Class TagChange.RenameTag

java.lang.Object
org.apache.gravitino.tag.TagChange.RenameTag
All Implemented Interfaces:
TagChange
Enclosing interface:
TagChange

public static final class TagChange.RenameTag extends Object implements TagChange
A tag change to rename the tag.
  • Method Details

    • getNewName

      public String getNewName()
      Get the new name of the tag.
      Returns:
      The new name of the tag.
    • equals

      public boolean equals(Object o)
      Compare the RenameTag instance with another object for equality. Two instances are considered equal if the new name is the same.
      Overrides:
      equals in class Object
      Parameters:
      o - The object to compare with this instance.
      Returns:
      True if the object is equal to this instance, false otherwise.
    • hashCode

      public int hashCode()
      Generates a hash code for the RenameTag instance.
      Overrides:
      hashCode in class Object
      Returns:
      The hash code for the RenameTag instance.
    • toString

      public String toString()
      Get the string representation of the RenameTag instance.
      Overrides:
      toString in class Object
      Returns:
      The string representation of the RenameTag instance.