|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||
java.lang.Objectjava.lang.Enum<EventDeserializer.CompatibilityMode>
com.github.shyiko.mysql.binlog.event.deserialization.EventDeserializer.CompatibilityMode
public static enum EventDeserializer.CompatibilityMode
DATE_AND_TIME_AS_LONG,
CHAR_AND_BINARY_AS_BYTE_ARRAY| Enum Constant Summary | |
|---|---|
CHAR_AND_BINARY_AS_BYTE_ARRAY
Return CHAR/VARCHAR/BINARY/VARBINARY values as byte[]|s (instead of String|s). |
|
DATE_AND_TIME_AS_LONG
Return DATETIME/DATETIME_V2/TIMESTAMP/TIMESTAMP_V2/DATE/TIME/TIME_V2 values as long|s (number of milliseconds since the epoch (00:00:00 Coordinated Universal Time (UTC), Thursday, 1 January 1970, not counting leap seconds)) (instead of java.util.Date/java.sql.Timestamp/java.sql.Date/new java.sql.Time). |
|
| Method Summary | |
|---|---|
static EventDeserializer.CompatibilityMode |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static EventDeserializer.CompatibilityMode[] |
values()
Returns an array containing the constants of this enum type, in the order they are declared. |
| Methods inherited from class java.lang.Enum |
|---|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
| Methods inherited from class java.lang.Object |
|---|
getClass, notify, notifyAll, wait, wait, wait |
| Enum Constant Detail |
|---|
public static final EventDeserializer.CompatibilityMode DATE_AND_TIME_AS_LONG
This option is going to be enabled by default starting from mysql-binlog-connector-java@1.0.0.
public static final EventDeserializer.CompatibilityMode CHAR_AND_BINARY_AS_BYTE_ARRAY
This option is going to be enabled by default starting from mysql-binlog-connector-java@1.0.0.
| Method Detail |
|---|
public static EventDeserializer.CompatibilityMode[] values()
for (EventDeserializer.CompatibilityMode c : EventDeserializer.CompatibilityMode.values()) System.out.println(c);
public static EventDeserializer.CompatibilityMode valueOf(String name)
name - the name of the enum constant to be returned.
IllegalArgumentException - if this enum type has no constant
with the specified name
NullPointerException - if the argument is null
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||