public abstract class AbsEvent extends Object implements IEventRead
| 限定符和类型 | 字段和说明 |
|---|---|
protected int |
curpos |
protected EventBean |
event |
protected byte[] |
eventbytes |
static ThreadLocal<Host> |
hosts |
| 限定符和类型 | 方法和说明 |
|---|---|
protected boolean |
hasMore() |
protected ICol |
paseCol(ColumnType colType,
String colName,
int meta,
boolean isnull) |
protected byte |
readByte() |
protected byte[] |
readRest()
读剩余字节
|
protected byte[] |
readSubByte(int length) |
UnsignedLong |
readUnsignedLong()
首个字节的值小于251用一个byte存储,如果值大于251,fc + 2-byte ,fd + 3-byte integer,fe +
8-byte
|
static String |
row(Integer num) |
static String |
row(Long num) |
void |
rowlog(String info) |
protected void |
skip(int length) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitparseBodyprotected final EventBean event
protected byte[] eventbytes
protected int curpos
public static ThreadLocal<Host> hosts
public AbsEvent(EventBean event)
protected byte[] readSubByte(int length)
protected boolean hasMore()
protected byte readByte()
protected void skip(int length)
protected byte[] readRest()
public UnsignedLong readUnsignedLong()
public void rowlog(String info)
protected ICol paseCol(ColumnType colType, String colName, int meta, boolean isnull)
Copyright © 2016. All rights reserved.