Package org.apache.gravitino.file
Class FilesetChange.SetProperty
java.lang.Object
org.apache.gravitino.file.FilesetChange.SetProperty
- All Implemented Interfaces:
FilesetChange
- Enclosing interface:
- FilesetChange
A fileset change to set the property and value for 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 SetProperty instance with another object for equality.Retrieves the name of the property being set in the fileset.getValue()
Retrieves the value assigned to the property in the fileset.int
hashCode()
Generates a hash code for this SetProperty instance.toString()
Provides a string representation of the SetProperty instance.
-
Method Details
-
getProperty
Retrieves the name of the property being set in the fileset.- Returns:
- The name of the property.
-
getValue
Retrieves the value assigned to the property in the fileset.- Returns:
- The value of the property.
-
equals
Compares this SetProperty instance with another object for equality. Two instances are considered equal if they have the same property and value for the fileset. -
hashCode
public int hashCode()Generates a hash code for this SetProperty instance. The hash code is based on both the property name and its assigned value. -
toString
Provides a string representation of the SetProperty instance. This string format includes the class name followed by the property and its value.
-