public enum EventType extends Enum<EventType>
| 限定符和类型 | 方法和说明 |
|---|---|
static EventType |
get(int val) |
static EventType |
get(String name) |
String |
getDesc() |
int |
getFormatIndex() |
String |
getParser() |
int |
getPostHeaderLength() |
int |
getValue() |
static boolean |
isInit(Host host) |
boolean |
isSupport() |
IEventRead |
newInst(EventBean eventBean) |
IEventRead |
newInstNoReflect(EventBean eventBean) |
static EventType[] |
orderFormat()
排列,为得到EventType的类型
|
static void |
setFormatDescription(com.alibaba.fastjson.JSONObject json)
通过json对象来设置PostHeaderLength ,key:value eg: "WRITE_ROWS_EVENTv2":87
|
void |
setPostHeaderLength(int postHeaderLength) |
static EventType |
valueOf(String name)
返回带有指定名称的该类型的枚举常量。
|
static EventType[] |
values()
按照声明该枚举类型的常量的顺序, 返回
包含这些常量的数组。
|
public static final EventType GTID_EVENT
public static final EventType TABLE_MAP_EVENT
public static final EventType QUERY_EVENT
public static final EventType XID_EVENT
public static final EventType WRITE_ROWS_EVENTv1
public static final EventType UPDATE_ROWS_EVENTv1
public static final EventType DELETE_ROWS_EVENTv1
public static final EventType STOP_EVENT
public static final EventType ROTATE_EVENT
public static final EventType WRITE_ROWS_EVENTv2
public static final EventType UPDATE_ROWS_EVENTv2
public static final EventType DELETE_ROWS_EVENTv2
public static final EventType FORMAT_DESCRIPTION_EVENT
public static final EventType HEARTBEAT_EVENT
public static final EventType UNKNOWN_EVENT
public static final EventType START_EVENT_V3
public static final EventType INTVAR_EVENT
public static final EventType LOAD_EVENT
public static final EventType SLAVE_EVENT
public static final EventType CREATE_FILE_EVENT
public static final EventType APPEND_BLOCK_EVENT
public static final EventType EXEC_LOAD_EVENT
public static final EventType DELETE_FILE_EVENT
public static final EventType NEW_LOAD_EVENT
public static final EventType RAND_EVENT
public static final EventType USER_VAR_EVENT
public static final EventType BEGIN_LOAD_QUERY_EVENT
public static final EventType EXECUTE_LOAD_QUERY_EVENT
public static final EventType WRITE_ROWS_EVENTv0
public static final EventType UPDATE_ROWS_EVENTv0
public static final EventType DELETE_ROWS_EVENTv0
public static final EventType INCIDENT_EVENT
public static final EventType IGNORABLE_EVENT
public static final EventType ROWS_QUERY_EVENT
public static final EventType ANONYMOUS_GTID_EVENT
public static final EventType PREVIOUS_GTIDS_EVENT
public static EventType[] values
public static EventType[] values()
for (EventType c : EventType.values()) System.out.println(c);
public static EventType valueOf(String name)
name - 要返回的枚举常量的名称。IllegalArgumentException - 如果该枚举类型没有带有指定名称的常量NullPointerException - 如果参数为空值public IEventRead newInstNoReflect(EventBean eventBean)
public IEventRead newInst(EventBean eventBean)
public static EventType get(int val)
public static EventType[] orderFormat()
public static void setFormatDescription(com.alibaba.fastjson.JSONObject json)
json - public static boolean isInit(Host host)
public int getPostHeaderLength()
public void setPostHeaderLength(int postHeaderLength)
public String getDesc()
public int getValue()
public int getFormatIndex()
public String getParser()
public boolean isSupport()
Copyright © 2017. All rights reserved.