net.neoremind.fountain.rowbaselog.event
类 RowsLogEvent

java.lang.Object
  继承者 net.neoremind.fountain.event.BaseLogEvent
      继承者 net.neoremind.fountain.rowbaselog.event.RowsLogEvent
所有已实现的接口:
Serializable, RowEvent
直接已知子类:
RowsLogEventV1

public class RowsLogEvent
extends BaseLogEvent
implements RowEvent

作者:
hanxu03 2013-7-15
另请参见:
序列化表格

字段摘要
 int columnsLength
           
 BitSet columnUpdateUsedBitSet
           
 BitSet columnUsedBitSet
           
 int reserved
           
 List<RowData> rowDataList
           
 long tableId
           
 
构造方法摘要
RowsLogEvent(EventHeader eventHeader, int headerLen, byte eventType, TableInfoCallback tableInfoCallback, ColumnDataParserFactory columnParserFactory)
           
 
方法摘要
protected  void fillBitmap(BitSet bs, ByteBuffer buf)
           
 int getDataLen()
           
 TableMeta getTableMeta()
           
 boolean isDelete()
           
 boolean isInsert()
           
 boolean isUpdate()
           
protected  void parseBody(ByteBuffer buf)
           
protected  List<ColumnData> parseColumnsOfRow(ByteBuffer buf, TableMapEvent tableMapEvent)
           
 BaseLogEvent parseData(ByteBuffer buf)
          解析二进制数据填充event属性数据
protected  void parseHeader(ByteBuffer buf)
           
protected  RowData parseSingleRow(ByteBuffer buf, TableMapEvent tableMapEvent)
           
 
从类 net.neoremind.fountain.event.BaseLogEvent 继承的方法
getEventHeader
 
从类 java.lang.Object 继承的方法
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

字段详细信息

tableId

public long tableId

reserved

public int reserved

columnsLength

public int columnsLength

columnUsedBitSet

public BitSet columnUsedBitSet

columnUpdateUsedBitSet

public BitSet columnUpdateUsedBitSet

rowDataList

public List<RowData> rowDataList
构造方法详细信息

RowsLogEvent

public RowsLogEvent(EventHeader eventHeader,
                    int headerLen,
                    byte eventType,
                    TableInfoCallback tableInfoCallback,
                    ColumnDataParserFactory columnParserFactory)
方法详细信息

getTableMeta

public TableMeta getTableMeta()

getDataLen

public int getDataLen()

parseData

public BaseLogEvent parseData(ByteBuffer buf)
从类 BaseLogEvent 复制的描述
解析二进制数据填充event属性数据

指定者:
类 BaseLogEvent 中的 parseData

isInsert

public boolean isInsert()
指定者:
接口 RowEvent 中的 isInsert

isUpdate

public boolean isUpdate()
指定者:
接口 RowEvent 中的 isUpdate

isDelete

public boolean isDelete()
指定者:
接口 RowEvent 中的 isDelete

parseHeader

protected void parseHeader(ByteBuffer buf)

parseBody

protected void parseBody(ByteBuffer buf)

fillBitmap

protected void fillBitmap(BitSet bs,
                          ByteBuffer buf)

parseSingleRow

protected RowData parseSingleRow(ByteBuffer buf,
                                 TableMapEvent tableMapEvent)

parseColumnsOfRow

protected final List<ColumnData> parseColumnsOfRow(ByteBuffer buf,
                                                   TableMapEvent tableMapEvent)


Copyright © 2016 neoremind. All rights reserved.