Enum BinlogEventType
- java.lang.Object
-
- java.lang.Enum<BinlogEventType>
-
- mariadbcdc.binlog.reader.packet.binlog.BinlogEventType
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Comparable<BinlogEventType>
public enum BinlogEventType extends java.lang.Enum<BinlogEventType>
-
-
Enum Constant Summary
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static BinlogEventTypebyCode(int code)static BinlogEventTypevalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static BinlogEventType[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
UNKNOWN
public static final BinlogEventType UNKNOWN
-
QUERY_EVENT
public static final BinlogEventType QUERY_EVENT
-
STOP_EVENT
public static final BinlogEventType STOP_EVENT
-
ROTATE_EVENT
public static final BinlogEventType ROTATE_EVENT
-
XID_EVENT
public static final BinlogEventType XID_EVENT
-
RAND_EVENT
public static final BinlogEventType RAND_EVENT
-
USER_VAR_EVENT
public static final BinlogEventType USER_VAR_EVENT
-
FORMAT_DESCRIPTION_EVENT
public static final BinlogEventType FORMAT_DESCRIPTION_EVENT
-
TABLE_MAP_EVENT
public static final BinlogEventType TABLE_MAP_EVENT
-
HEARTBEAT_LOG_EVENT
public static final BinlogEventType HEARTBEAT_LOG_EVENT
-
ANNOTATE_ROWS_EVENT
public static final BinlogEventType ANNOTATE_ROWS_EVENT
-
BINLOG_CHECKPOINT_EVENT
public static final BinlogEventType BINLOG_CHECKPOINT_EVENT
-
GTID_EVENT
public static final BinlogEventType GTID_EVENT
-
GTID_LIST_EVENT
public static final BinlogEventType GTID_LIST_EVENT
-
START_ENCRYPTION_EVENT
public static final BinlogEventType START_ENCRYPTION_EVENT
-
WRITE_ROWS_EVENT_V1
public static final BinlogEventType WRITE_ROWS_EVENT_V1
-
UPDATE_ROWS_EVENT_V1
public static final BinlogEventType UPDATE_ROWS_EVENT_V1
-
DELETE_ROWS_EVENT_V1
public static final BinlogEventType DELETE_ROWS_EVENT_V1
-
-
Method Detail
-
values
public static BinlogEventType[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (BinlogEventType c : BinlogEventType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static BinlogEventType valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
java.lang.IllegalArgumentException- if this enum type has no constant with the specified namejava.lang.NullPointerException- if the argument is null
-
byCode
public static BinlogEventType byCode(int code)
-
-