public static enum MySQLCodec.Mode extends java.lang.Enum<MySQLCodec.Mode>
http://dev.mysql.com/doc/refman/5.0/en/server-sql-mode.html#sqlmode_ansi
Currently the only supported modes are:
ANSI
STANDARD| Modifier and Type | Field and Description |
|---|---|
private int |
key |
| Modifier and Type | Method and Description |
|---|---|
(package private) static MySQLCodec.Mode |
findByKey(int key) |
static MySQLCodec.Mode |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static MySQLCodec.Mode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final MySQLCodec.Mode ANSI
public static final MySQLCodec.Mode STANDARD
public static MySQLCodec.Mode[] values()
for (MySQLCodec.Mode c : MySQLCodec.Mode.values()) System.out.println(c);
public static MySQLCodec.Mode valueOf(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant with the specified namejava.lang.NullPointerException - if the argument is nullstatic MySQLCodec.Mode findByKey(int key)