public static enum MySqlConnectorConfig.TemporalPrecisionMode extends Enum<MySqlConnectorConfig.TemporalPrecisionMode> implements EnumeratedValue
| Enum Constant and Description |
|---|
ADAPTIVE
Represent time and date values based upon the resolution in the database, using
io.debezium.time semantic
types. |
CONNECT
Represent time and date values using Kafka Connect
org.apache.kafka.connect.data logical types, which always
have millisecond precision. |
| Modifier and Type | Method and Description |
|---|---|
String |
getValue() |
static MySqlConnectorConfig.TemporalPrecisionMode |
parse(String value)
Determine if the supplied value is one of the predefined options.
|
static MySqlConnectorConfig.TemporalPrecisionMode |
parse(String value,
String defaultValue)
Determine if the supplied value is one of the predefined options.
|
static MySqlConnectorConfig.TemporalPrecisionMode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static MySqlConnectorConfig.TemporalPrecisionMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final MySqlConnectorConfig.TemporalPrecisionMode ADAPTIVE
io.debezium.time semantic
types.public static final MySqlConnectorConfig.TemporalPrecisionMode CONNECT
org.apache.kafka.connect.data logical types, which always
have millisecond precision.private final String value
public static MySqlConnectorConfig.TemporalPrecisionMode[] values()
for (MySqlConnectorConfig.TemporalPrecisionMode c : MySqlConnectorConfig.TemporalPrecisionMode.values()) System.out.println(c);
public static MySqlConnectorConfig.TemporalPrecisionMode 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.TemporalPrecisionMode parse(String value)
value - the configuration property value; may not be nullpublic static MySqlConnectorConfig.TemporalPrecisionMode parse(String value, String defaultValue)
value - the configuration property value; may not be nulldefaultValue - the default value; may be nullCopyright © 2017 JBoss by Red Hat. All rights reserved.