Package org.apache.nifi.cdc.mysql.event
Class BaseBinlogEventInfo
java.lang.Object
org.apache.nifi.cdc.event.BaseEventInfo
org.apache.nifi.cdc.mysql.event.BaseBinlogEventInfo
- All Implemented Interfaces:
EventInfo
,BinlogEventInfo
- Direct Known Subclasses:
BaseBinlogTableEventInfo
,BeginTransactionEventInfo
,CommitTransactionEventInfo
A base class for all MYSQL binlog events
-
Field Summary
FieldsFields inherited from interface org.apache.nifi.cdc.mysql.event.BinlogEventInfo
BINLOG_FILENAME_KEY, BINLOG_GTIDSET_KEY, BINLOG_POSITION_KEY
Fields inherited from interface org.apache.nifi.cdc.event.EventInfo
BEGIN_EVENT, COMMIT_EVENT, DDL_EVENT, DELETE_EVENT, INSERT_EVENT, UPDATE_EVENT
-
Constructor Summary
ConstructorsConstructorDescriptionBaseBinlogEventInfo
(String eventType, Long timestamp, String binlogGtidSet) BaseBinlogEventInfo
(String eventType, Long timestamp, String binlogFilename, Long binlogPosition) -
Method Summary
Modifier and TypeMethodDescriptionMethods inherited from class org.apache.nifi.cdc.event.BaseEventInfo
getEventType, getTimestamp
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.apache.nifi.cdc.event.EventInfo
getEventType, getTimestamp
-
Field Details
-
binlogFilename
-
binlogPosition
-
binlogGtidSet
-
-
Constructor Details
-
BaseBinlogEventInfo
-
BaseBinlogEventInfo
-
-
Method Details
-
getBinlogFilename
- Specified by:
getBinlogFilename
in interfaceBinlogEventInfo
-
getBinlogPosition
- Specified by:
getBinlogPosition
in interfaceBinlogEventInfo
-
getBinlogGtidSet
- Specified by:
getBinlogGtidSet
in interfaceBinlogEventInfo
-