Package org.apache.gravitino
Class CatalogChange.RenameCatalog
java.lang.Object
org.apache.gravitino.CatalogChange.RenameCatalog
- All Implemented Interfaces:
CatalogChange
- Enclosing interface:
- CatalogChange
A catalog change to rename the catalog.
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.apache.gravitino.CatalogChange
CatalogChange.RemoveProperty, CatalogChange.RenameCatalog, CatalogChange.SetProperty, CatalogChange.UpdateCatalogComment
-
Method Summary
Modifier and TypeMethodDescriptionboolean
Compares this RenameCatalog instance with another object for equality.Retrieves the new name set for the catalog.int
hashCode()
Generates a hash code for this RenameCatalog instance.toString()
Provides a string representation of the RenameCatalog instance.
-
Method Details
-
getNewName
Retrieves the new name set for the catalog.- Returns:
- The new name of the catalog.
-
equals
Compares this RenameCatalog instance with another object for equality. Two instances are considered equal if they designate the same new name for the catalog. -
hashCode
public int hashCode()Generates a hash code for this RenameCatalog instance. The hash code is primarily based on the new name for the catalog. -
toString
Provides a string representation of the RenameCatalog instance. This string includes the class name followed by the new name of the catalog.
-