Interface SchemaChangeEvent
-
- All Superinterfaces:
ChangeEvent,Event,Serializable
- All Known Subinterfaces:
SchemaChangeEventWithPreSchema
- All Known Implementing Classes:
AddColumnEvent,AlterColumnTypeEvent,AlterTableCommentEvent,CreateTableEvent,DropColumnEvent,DropTableEvent,RenameColumnEvent,TruncateTableEvent
@PublicEvolving public interface SchemaChangeEvent extends ChangeEvent, Serializable
ClassSchemaChangeEventrepresents the changes in the table structure of the external system, such as CREATE, DROP, RENAME and so on.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description SchemaChangeEventcopy(TableId newTableId)Creates a copy ofSchemaChangeEventwith newTableId.SchemaChangeEventTypegetType()Returns itsSchemaChangeEventType.-
Methods inherited from interface org.apache.flink.cdc.common.event.ChangeEvent
tableId
-
-
-
-
Method Detail
-
getType
SchemaChangeEventType getType()
Returns itsSchemaChangeEventType.
-
copy
SchemaChangeEvent copy(TableId newTableId)
Creates a copy ofSchemaChangeEventwith newTableId.
-
-