Package org.apache.gravitino.file
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.
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.apache.gravitino.file.FilesetChange
FilesetChange.RemoveComment, FilesetChange.RemoveProperty, FilesetChange.RenameFileset, FilesetChange.SetProperty, FilesetChange.UpdateFilesetComment
-
Method Summary
Modifier and TypeMethodDescriptionboolean
Compares this UpdateFilesetComment instance with another object for equality.Retrieves the new comment intended for the fileset.int
hashCode()
Generates a hash code for this UpdateFileComment instance.toString()
Provides a string representation of the UpdateFilesetComment instance.
-
Method Details
-
getNewComment
Retrieves the new comment intended for the fileset.- Returns:
- The new comment that has been set for the fileset.
-
equals
Compares this UpdateFilesetComment instance with another object for equality. Two instances are considered equal if they designate the same new comment for the fileset. -
hashCode
public int hashCode()Generates a hash code for this UpdateFileComment instance. The hash code is based on the new comment for the fileset. -
toString
Provides a string representation of the UpdateFilesetComment instance. This string format includes the class name followed by the new comment for the fileset.
-