Package org.apache.gravitino.file
Class FilesetChange.RenameFileset
java.lang.Object
org.apache.gravitino.file.FilesetChange.RenameFileset
- All Implemented Interfaces:
FilesetChange
- Enclosing interface:
- FilesetChange
A fileset change to rename the fileset.
-
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 RenameFileset instance with another object for equality.Retrieves the new name set for the fileset.int
hashCode()
Generates a hash code for this RenameFileset instance.toString()
Provides a string representation of the RenameFile instance.
-
Method Details
-
getNewName
Retrieves the new name set for the fileset.- Returns:
- The new name of the fileset.
-
equals
Compares this RenameFileset instance with another object for equality. Two instances are considered equal if they designate the same new name for the fileset. -
hashCode
public int hashCode()Generates a hash code for this RenameFileset instance. The hash code is primarily based on the new name for the fileset. -
toString
Provides a string representation of the RenameFile instance. This string includes the class name followed by the new name of the fileset.
-