|
||||||||||
| 上一个类 下一个类 | 框架 无框架 | |||||||||
| 摘要: 嵌套 | 字段 | 构造方法 | 方法 | 详细信息: 字段 | 构造方法 | 方法 | |||||||||
java.lang.Objectnet.neoremind.fountain.event.BaseLogEvent
net.neoremind.fountain.rowbaselog.event.FormatDescriptionEvent
public class FormatDescriptionEvent
binlog format描述事件,在v4版本的binlog文件中,第一个event就是FORMAT_DESCRIPTION_EVENT, 它描述了接下来其他的event是如何layed out的。
| 字段摘要 | |
|---|---|
int |
binlogCreateTime
4 bytes. |
int |
binlogVersion
2 bytes. |
byte[] |
eventDataFixedPartLength
(string.EOF) a array indexed by Binlog Event Type - 1 to extract the length of the event specific header. |
byte |
eventHeaderLength
1 byte. |
static int |
NORMAL_HEADER_LENGTH
|
String |
serverVersion
50 bytes. |
| 构造方法摘要 | |
|---|---|
FormatDescriptionEvent(BinlogEventHeader eventHeader,
FormatInfoCallback callback)
|
|
| 方法摘要 | |
|---|---|
BaseLogEvent |
parseData(ByteBuffer buf)
解析二进制数据填充event属性数据 |
String |
toString()
|
| 从类 net.neoremind.fountain.event.BaseLogEvent 继承的方法 |
|---|
getEventHeader |
| 从类 java.lang.Object 继承的方法 |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| 字段详细信息 |
|---|
public static final int NORMAL_HEADER_LENGTH
public int binlogVersion
public String serverVersion
public int binlogCreateTime
public byte eventHeaderLength
public byte[] eventDataFixedPartLength
| 构造方法详细信息 |
|---|
public FormatDescriptionEvent(BinlogEventHeader eventHeader,
FormatInfoCallback callback)
| 方法详细信息 |
|---|
public BaseLogEvent parseData(ByteBuffer buf)
BaseLogEvent 复制的描述
BaseLogEvent 中的 parseDatapublic String toString()
Object 中的 toString
|
||||||||||
| 上一个类 下一个类 | 框架 无框架 | |||||||||
| 摘要: 嵌套 | 字段 | 构造方法 | 方法 | 详细信息: 字段 | 构造方法 | 方法 | |||||||||