Package org.apache.gravitino
Class MetalakeChange.SetProperty
java.lang.Object
org.apache.gravitino.MetalakeChange.SetProperty
- All Implemented Interfaces:
MetalakeChange
- Enclosing interface:
- MetalakeChange
A metalake change to set a property and value pair for the metalake.
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.apache.gravitino.MetalakeChange
MetalakeChange.RemoveProperty, MetalakeChange.RenameMetalake, MetalakeChange.SetProperty, MetalakeChange.UpdateMetalakeComment
-
Method Summary
Modifier and TypeMethodDescriptionboolean
Compares this SetProperty instance with another object for equality.Retrieves the name of the property.getValue()
Retrieves the value assigned to the property.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.- Returns:
- The name of the property set for the Metalake.
-
getValue
Retrieves the value assigned to the property.- Returns:
- The value of the property set for the Metalake.
-
equals
Compares this SetProperty instance with another object for equality. Two instances are considered equal if they have the same property name and value. -
hashCode
public int hashCode()Generates a hash code for this SetProperty instance. This hash code is based on both the property name and value. -
toString
Provides a string representation of the SetProperty instance. This string format includes the class name followed by the property name and its value.
-