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