Class FilesetChange.RemoveProperty

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

public static final class FilesetChange.RemoveProperty extends Object implements FilesetChange
A fileset change to remove a property from the fileset.
  • Method Details

    • getProperty

      public String getProperty()
      Retrieves the name of the property to be removed from the fileset.
      Returns:
      The name of the property for removal.
    • equals

      public boolean equals(Object o)
      Compares this RemoveProperty instance with another object for equality. Two instances are considered equal if they target the same property for removal from 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 property removal; false otherwise.
    • hashCode

      public int hashCode()
      Generates a hash code for this RemoveProperty instance. The hash code is based on the property name that is to be removed from the fileset.
      Overrides:
      hashCode in class Object
      Returns:
      A hash code value for this property removal operation.
    • toString

      public String toString()
      Provides a string representation of the RemoveProperty instance. This string format includes the class name followed by the property name to be removed.
      Overrides:
      toString in class Object
      Returns:
      A string summary of the property removal operation.