net.neoremind.fountain.rowbaselog.event
类 TableMapEvent
java.lang.Object
net.neoremind.fountain.event.BaseLogEvent
net.neoremind.fountain.rowbaselog.event.TableMapEvent
- 所有已实现的接口:
- Serializable
public class TableMapEvent
- extends BaseLogEvent
- 作者:
- hanxu03
- 另请参见:
- 序列化表格
| 从类 java.lang.Object 继承的方法 |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
tableId
public long tableId
- Fixed data part:
6 bytes. The table ID.
2 bytes. Reserved for future use.
Variable data part:
1 byte. The length of the database name.
Variable-sized. The database name (null-terminated).
1 byte. The length of the table name.
Variable-sized. The table name (null-terminated).
Packed integer. The number of columns in the table.
Variable-sized. An array of column types, one byte per column.
Packed integer. The length of the metadata block.
Variable-sized. The metadata block; see log_event.h for contents and format.
Variable-sized. Bit-field indicating whether each column can be NULL, one bit per column. For this field, the
amount of storage required for N columns is INT((N+7)/8) bytes.
reserved
public byte[] reserved
dbNameLength
public byte dbNameLength
dbName
public String dbName
tableNameLength
public byte tableNameLength
tableName
public String tableName
columnsLength
public int columnsLength
columnInfoArray
public TableMapEvent.ColumnInfo[] columnInfoArray
columnNullMap
public BitSet columnNullMap
TableMapEvent
public TableMapEvent(BinlogEventHeader eventHeader,
TableEventCallback callback)
- 构造方法
- 参数:
eventHeader - 事件头callback - 回调
getFullTableName
public String getFullTableName()
parseData
public BaseLogEvent parseData(ByteBuffer buf)
- 从类
BaseLogEvent 复制的描述
- 解析二进制数据填充event属性数据
- 指定者:
- 类
BaseLogEvent 中的 parseData
Copyright © 2016 neoremind. All rights reserved.