Package org.apache.gravitino.rel
Class TableChange.RemoveProperty
java.lang.Object
org.apache.gravitino.rel.TableChange.RemoveProperty
- All Implemented Interfaces:
TableChange
- Enclosing interface:
- TableChange
A TableChange to remove a table property.
If the property does not exist, the change should succeed.
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.apache.gravitino.rel.TableChange
TableChange.AddColumn, TableChange.AddIndex, TableChange.After, TableChange.ColumnChange, TableChange.ColumnPosition, TableChange.Default, TableChange.DeleteColumn, TableChange.DeleteIndex, TableChange.First, TableChange.RemoveProperty, TableChange.RenameColumn, TableChange.RenameTable, TableChange.SetProperty, TableChange.UpdateColumnAutoIncrement, TableChange.UpdateColumnComment, TableChange.UpdateColumnDefaultValue, TableChange.UpdateColumnNullability, TableChange.UpdateColumnPosition, TableChange.UpdateColumnType, TableChange.UpdateComment
-
Method Summary
Modifier and TypeMethodDescriptionboolean
Compares this RemoveProperty instance with another object for equality.Retrieves the name of the property to be removed from the table.int
hashCode()
Generates a hash code for this RemoveProperty instance.toString()
Provides a string representation of the RemoveProperty instance.
-
Method Details
-
getProperty
Retrieves the name of the property to be removed from the table.- Returns:
- The name of the property scheduled for removal.
-
equals
Compares this RemoveProperty instance with another object for equality. Two instances are considered equal if they target the same property for removal from the table. -
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 table. -
toString
Provides a string representation of the RemoveProperty instance. This string format includes the class name followed by the property name to be removed.
-