Class AlterTableCommentEvent
- java.lang.Object
-
- org.apache.flink.cdc.common.event.AlterTableCommentEvent
-
- All Implemented Interfaces:
Serializable,ChangeEvent,Event,SchemaChangeEvent
@PublicEvolving public class AlterTableCommentEvent extends Object implements SchemaChangeEvent
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description AlterTableCommentEvent(TableId tableId, String comment)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description SchemaChangeEventcopy(TableId newTableId)Creates a copy ofSchemaChangeEventwith newTableId.booleanequals(Object o)StringgetComment()SchemaChangeEventTypegetType()Returns itsSchemaChangeEventType.inthashCode()TableIdtableId()Describes the database table corresponding to the occurrence of a change event.StringtoString()
-
-
-
Method Detail
-
getComment
public String getComment()
-
getType
public SchemaChangeEventType getType()
Description copied from interface:SchemaChangeEventReturns itsSchemaChangeEventType.- Specified by:
getTypein interfaceSchemaChangeEvent
-
copy
public SchemaChangeEvent copy(TableId newTableId)
Description copied from interface:SchemaChangeEventCreates a copy ofSchemaChangeEventwith newTableId.- Specified by:
copyin interfaceSchemaChangeEvent
-
tableId
public TableId tableId()
Description copied from interface:ChangeEventDescribes the database table corresponding to the occurrence of a change event.- Specified by:
tableIdin interfaceChangeEvent
-
-