Class FilesetChange.UpdateFilesetComment

java.lang.Object
org.apache.gravitino.file.FilesetChange.UpdateFilesetComment
All Implemented Interfaces:
FilesetChange
Enclosing interface:
FilesetChange

public static final class FilesetChange.UpdateFilesetComment extends Object implements FilesetChange
A fileset change to update the fileset comment.
  • Method Details

    • getNewComment

      public String getNewComment()
      Retrieves the new comment intended for the fileset.
      Returns:
      The new comment that has been set for the fileset.
    • equals

      public boolean equals(Object o)
      Compares this UpdateFilesetComment instance with another object for equality. Two instances are considered equal if they designate the same new comment for the fileset.
      Overrides:
      equals in class Object
      Parameters:
      o - The object to compare with this instance.
      Returns:
      true if the given object represents the same comment update; false otherwise.
    • hashCode

      public int hashCode()
      Generates a hash code for this UpdateFileComment instance. The hash code is based on the new comment for the fileset.
      Overrides:
      hashCode in class Object
      Returns:
      A hash code representing this comment update operation.
    • toString

      public String toString()
      Provides a string representation of the UpdateFilesetComment instance. This string format includes the class name followed by the new comment for the fileset.
      Overrides:
      toString in class Object
      Returns:
      A string summary of this comment update operation.