Class DDLEventHandler
java.lang.Object
org.apache.nifi.cdc.mysql.event.handler.DDLEventHandler
- All Implemented Interfaces:
BinlogEventHandler<com.github.shyiko.mysql.binlog.event.QueryEventData,DDLEventInfo>
public class DDLEventHandler
extends Object
implements BinlogEventHandler<com.github.shyiko.mysql.binlog.event.QueryEventData,DDLEventInfo>
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidhandleEvent(com.github.shyiko.mysql.binlog.event.QueryEventData eventData, boolean writeEvent, DataCaptureState dataCaptureState, CaptureChangeMySQL.BinlogResourceInfo binlogResourceInfo, CaptureChangeMySQL.BinlogEventState binlogEventState, String sql, EventWriterConfiguration eventWriterConfiguration, org.apache.nifi.processor.ProcessSession session, long timestamp)
-
Field Details
-
eventWriter
-
-
Constructor Details
-
DDLEventHandler
public DDLEventHandler()
-
-
Method Details
-
handleEvent
public void handleEvent(com.github.shyiko.mysql.binlog.event.QueryEventData eventData, boolean writeEvent, DataCaptureState dataCaptureState, CaptureChangeMySQL.BinlogResourceInfo binlogResourceInfo, CaptureChangeMySQL.BinlogEventState binlogEventState, String sql, EventWriterConfiguration eventWriterConfiguration, org.apache.nifi.processor.ProcessSession session, long timestamp) - Specified by:
handleEventin interfaceBinlogEventHandler<com.github.shyiko.mysql.binlog.event.QueryEventData,DDLEventInfo>
-