Class MetalakeChange.UpdateMetalakeComment

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

public static final class MetalakeChange.UpdateMetalakeComment extends Object implements MetalakeChange
A metalake change to update the metalake comment.
  • Method Details

    • getNewComment

      public String getNewComment()
      Retrieves the new comment intended for the Metalake.
      Returns:
      The new comment.
    • equals

      public boolean equals(Object o)
      Compares this UpdateMetalakeComment 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 is an UpdateMetalakeComment with the same new comment; false otherwise.
    • hashCode

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

      public String toString()
      Provides a string representation of the UpdateMetalakeComment instance. This string format includes the class name followed by the new comment.
      Overrides:
      toString in class Object
      Returns:
      A string summary of the object.