Class SchemaChange.SetProperty

java.lang.Object
org.apache.gravitino.SchemaChange.SetProperty
All Implemented Interfaces:
SchemaChange
Enclosing interface:
SchemaChange

public static final class SchemaChange.SetProperty extends Object implements SchemaChange
SchemaChange class to set the property and value pairs for the schema.
  • Method Details

    • getProperty

      public String getProperty()
      Retrieves the name of the property to be set.
      Returns:
      The name of the property.
    • getValue

      public String getValue()
      Retrieves the value of the property to be set.
      Returns:
      The value of the property.
    • equals

      public boolean equals(Object o)
      Compares this SetProperty instance with another object for equality. Two instances are considered equal if they have the same property and value.
      Overrides:
      equals in class Object
      Parameters:
      o - The object to compare with this instance.
      Returns:
      true if the given object represents the same property setting; false otherwise.
    • hashCode

      public int hashCode()
      Generates a hash code for this SetProperty instance. The hash code is based on both the property name and its value.
      Overrides:
      hashCode in class Object
      Returns:
      A hash code value for this property setting.
    • toString

      public String toString()
      Provides a string representation of the SetProperty instance. This string format includes the class name followed by the property name and its value.
      Overrides:
      toString in class Object
      Returns:
      A string summary of the property setting.