Class MySQLBinlogEventHeader
java.lang.Object
org.apache.shardingsphere.db.protocol.mysql.packet.binlog.MySQLBinlogEventHeader
- All Implemented Interfaces:
MySQLPacket,DatabasePacket<MySQLPacketPayload>
MySQL binlog event header.
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intMySQL binlog event header length is 19 in binlog version 3 and 4. -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
MYSQL_BINLOG_EVENT_HEADER_LENGTH
public static final int MYSQL_BINLOG_EVENT_HEADER_LENGTHMySQL binlog event header length is 19 in binlog version 3 and 4.- See Also:
-
-
Constructor Details
-
MySQLBinlogEventHeader
-
-
Method Details
-
write
- Specified by:
writein interfaceDatabasePacket<MySQLPacketPayload>
-
getSequenceId
public int getSequenceId()Description copied from interface:MySQLPacketGet sequence ID.- Specified by:
getSequenceIdin interfaceMySQLPacket- Returns:
- sequence ID
-