软件包 net.neoremind.fountain.rowbaselog.event

接口摘要
FormatInfo FormatDescriptionEvent中处理接下来event的头length
FormatInfoCallback  
TableEventCallback 用于保存TableMapEvent数据的回调
TableInfoCallback 获取表信息的回调接口描述
 

类摘要
BinlogEventHeader MySQL binglog header

对于一个binlog event来说,它分为三个部分,header,post-header以及payload。

EventConstant  
FormatDescriptionEvent binlog format描述事件,在v4版本的binlog文件中,第一个event就是FORMAT_DESCRIPTION_EVENT, 它描述了接下来其他的event是如何layed out的。
GtidEvent GTID event
对于MySQL5.6.5及之后的版本,如果GTID_MODE = ON, 每个事务的replicate都会前置一个type code=EventConstant.GTID_EVENT的事件。
QueryLogEvent  
RotateEvent binlog文件的结尾,通常(只要master不当机)就是ROTATE_EVENT或者STOP_EVENT
RowsLogEvent  
RowsLogEventV1  
RowsLogEventV2  
StopEvent binlog文件的结尾,通常(只要master不当机)就是ROTATE_EVENT或者STOP_EVENT
TableMapEvent  
TableMapEvent.ColumnInfo 描述列信息
UnkownBinlogEvent  
XidLogEvent Transaction ID for 2PC, written whenever a COMMIT is expected.
 



Copyright © 2016 neoremind. All rights reserved.