Package org.apache.gravitino
Class CatalogChange.UpdateCatalogComment
java.lang.Object
org.apache.gravitino.CatalogChange.UpdateCatalogComment
- All Implemented Interfaces:
CatalogChange
- Enclosing interface:
- CatalogChange
public static final class CatalogChange.UpdateCatalogComment
extends Object
implements CatalogChange
A catalog change to update the catalog comment.
-
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 UpdateCatalogComment instance with another object for equality.Retrieves the new comment intended for the catalog.int
hashCode()
Generates a hash code for this UpdateCatalogComment instance.toString()
Provides a string representation of the UpdateCatalogComment instance.
-
Method Details
-
getNewComment
Retrieves the new comment intended for the catalog.- Returns:
- The new comment that has been set for the catalog.
-
equals
Compares this UpdateCatalogComment instance with another object for equality. Two instances are considered equal if they designate the same new comment for the catalog. -
hashCode
public int hashCode()Generates a hash code for this UpdateCatalogComment instance. The hash code is based on the new comment for the catalog. -
toString
Provides a string representation of the UpdateCatalogComment instance. This string format includes the class name followed by the new comment for the catalog.
-