public static enum MySqlConnectorConfig.SnapshotNewTables extends Enum<MySqlConnectorConfig.SnapshotNewTables> implements EnumeratedValue
| Enum Constant and Description |
|---|
OFF
Do not snapshot new tables
|
PARALLEL
Snapshot new tables in parallel to normal binlog reading.
|
| Modifier and Type | Method and Description |
|---|---|
String |
getValue() |
static MySqlConnectorConfig.SnapshotNewTables |
parse(String value)
Determine if the supplied value is one of the predefined options.
|
static MySqlConnectorConfig.SnapshotNewTables |
parse(String value,
String defaultValue)
Determine if the supplied value is one of the predefined options.
|
static MySqlConnectorConfig.SnapshotNewTables |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static MySqlConnectorConfig.SnapshotNewTables[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final MySqlConnectorConfig.SnapshotNewTables OFF
public static final MySqlConnectorConfig.SnapshotNewTables PARALLEL
private final String value
public static MySqlConnectorConfig.SnapshotNewTables[] values()
for (MySqlConnectorConfig.SnapshotNewTables c : MySqlConnectorConfig.SnapshotNewTables.values()) System.out.println(c);
public static MySqlConnectorConfig.SnapshotNewTables 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 static MySqlConnectorConfig.SnapshotNewTables parse(String value)
value - the configuration property value; may not be nullpublic static MySqlConnectorConfig.SnapshotNewTables parse(String value, String defaultValue)
value - the configuration property value; may not be nulldefaultValue - the default value; may be nullCopyright © 2021 JBoss by Red Hat. All rights reserved.