Class FilesetChange.RenameFileset

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

public static final class FilesetChange.RenameFileset extends Object implements FilesetChange
A fileset change to rename the fileset.
  • Method Details

    • getNewName

      public String getNewName()
      Retrieves the new name set for the fileset.
      Returns:
      The new name of the fileset.
    • equals

      public boolean equals(Object o)
      Compares this RenameFileset instance with another object for equality. Two instances are considered equal if they designate the same new name for the fileset.
      Overrides:
      equals in class Object
      Parameters:
      o - The object to compare with this instance.
      Returns:
      true if the given object represents an identical fileset renaming operation; false otherwise.
    • 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.
      Overrides:
      hashCode in class Object
      Returns:
      A hash code value for this renaming operation.
    • toString

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