public static enum MySqlConnectorConfig.BigIntUnsignedHandlingMode extends Enum<MySqlConnectorConfig.BigIntUnsignedHandlingMode> implements EnumeratedValue
| Enum Constant and Description |
|---|
LONG
Represent
BIGINT UNSIGNED values as precise long values. |
PRECISE
Represent
BIGINT UNSIGNED values as precise BigDecimal values, which are
represented in change events in a binary form. |
| Modifier and Type | Method and Description |
|---|---|
JdbcValueConverters.BigIntUnsignedMode |
asBigIntUnsignedMode() |
String |
getValue() |
static MySqlConnectorConfig.BigIntUnsignedHandlingMode |
parse(String value)
Determine if the supplied value is one of the predefined options.
|
static MySqlConnectorConfig.BigIntUnsignedHandlingMode |
parse(String value,
String defaultValue)
Determine if the supplied value is one of the predefined options.
|
static MySqlConnectorConfig.BigIntUnsignedHandlingMode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static MySqlConnectorConfig.BigIntUnsignedHandlingMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final MySqlConnectorConfig.BigIntUnsignedHandlingMode PRECISE
BIGINT UNSIGNED values as precise BigDecimal values, which are
represented in change events in a binary form. This is precise but difficult to use.public static final MySqlConnectorConfig.BigIntUnsignedHandlingMode LONG
BIGINT UNSIGNED values as precise long values. This may be less precise
but is far easier to use.private final String value
public static MySqlConnectorConfig.BigIntUnsignedHandlingMode[] values()
for (MySqlConnectorConfig.BigIntUnsignedHandlingMode c : MySqlConnectorConfig.BigIntUnsignedHandlingMode.values()) System.out.println(c);
public static MySqlConnectorConfig.BigIntUnsignedHandlingMode valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic String getValue()
getValue in interface EnumeratedValuepublic JdbcValueConverters.BigIntUnsignedMode asBigIntUnsignedMode()
public static MySqlConnectorConfig.BigIntUnsignedHandlingMode parse(String value)
value - the configuration property value; may not be nullpublic static MySqlConnectorConfig.BigIntUnsignedHandlingMode parse(String value, String defaultValue)
value - the configuration property value; may not be nulldefaultValue - the default value; may be nullCopyright © 2020 JBoss by Red Hat. All rights reserved.