Class BeginTransactionEventWriter
java.lang.Object
org.apache.nifi.cdc.event.io.AbstractEventWriter<BeginTransactionEventInfo>
org.apache.nifi.cdc.mysql.event.io.AbstractBinlogEventWriter<BeginTransactionEventInfo>
org.apache.nifi.cdc.mysql.event.io.BeginTransactionEventWriter
- All Implemented Interfaces:
EventWriter<BeginTransactionEventInfo>
public class BeginTransactionEventWriter
extends AbstractBinlogEventWriter<BeginTransactionEventInfo>
A writer for events corresponding to the beginning of a MySQL transaction
-
Field Summary
Fields inherited from class org.apache.nifi.cdc.event.io.AbstractEventWriter
jsonGeneratorFields inherited from interface org.apache.nifi.cdc.event.io.EventWriter
APPLICATION_JSON, CDC_EVENT_TYPE_ATTRIBUTE, SEQUENCE_ID_KEY -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class org.apache.nifi.cdc.mysql.event.io.AbstractBinlogEventWriter
configureEventWriter, finishAndTransferFlowFile, getCommonAttributes, maxEventsPerFlowFile, oneTransactionPerFlowFile, writeEventMethods inherited from class org.apache.nifi.cdc.event.io.AbstractEventWriter
createJsonGenerator, endFile, endJson, startJson
-
Constructor Details
-
BeginTransactionEventWriter
public BeginTransactionEventWriter()
-
-
Method Details
-
writeJson
- Overrides:
writeJsonin classAbstractBinlogEventWriter<BeginTransactionEventInfo>- Throws:
IOException
-