Package org.apache.gravitino.messaging
Class TopicChange.RemoveProperty
java.lang.Object
org.apache.gravitino.messaging.TopicChange.RemoveProperty
- All Implemented Interfaces:
TopicChange
- Enclosing interface:
- TopicChange
A topic change to remove a property from the topic.
-
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 RemoveProperty instance with another object for equality.Retrieves the name of the property to be removed from the topic.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 topic.- Returns:
- The name of the property 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 topic. -
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 topic. -
toString
Provides a string representation of the RemoveProperty instance. This string format includes the class name followed by the property name to be removed.
-