public static enum MySqlConnectorConfig.DdlParsingMode extends Enum<MySqlConnectorConfig.DdlParsingMode> implements EnumeratedValue
| Modifier and Type | Method and Description |
|---|---|
abstract DdlParser |
getNewParserInstance(JdbcValueConverters valueConverters,
Tables.TableFilter tableFilter) |
String |
getValue() |
static MySqlConnectorConfig.DdlParsingMode |
parse(String value)
Determine if the supplied value is one of the predefined options.
|
static MySqlConnectorConfig.DdlParsingMode |
parse(String value,
String defaultValue)
Determine if the supplied value is one of the predefined options.
|
static MySqlConnectorConfig.DdlParsingMode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static MySqlConnectorConfig.DdlParsingMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final MySqlConnectorConfig.DdlParsingMode LEGACY
public static final MySqlConnectorConfig.DdlParsingMode ANTLR
private final String value
public static MySqlConnectorConfig.DdlParsingMode[] values()
for (MySqlConnectorConfig.DdlParsingMode c : MySqlConnectorConfig.DdlParsingMode.values()) System.out.println(c);
public static MySqlConnectorConfig.DdlParsingMode 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 abstract DdlParser getNewParserInstance(JdbcValueConverters valueConverters, Tables.TableFilter tableFilter)
public static MySqlConnectorConfig.DdlParsingMode parse(String value)
value - the configuration property value; may not be nullpublic static MySqlConnectorConfig.DdlParsingMode parse(String value, String defaultValue)
value - the configuration property value; may not be nulldefaultValue - the default value; may be nullCopyright © 2018 JBoss by Red Hat. All rights reserved.