Package io.debezium.connector.jdbc
Enum JdbcSinkConnectorConfig.SchemaEvolutionMode
java.lang.Object
java.lang.Enum<JdbcSinkConnectorConfig.SchemaEvolutionMode>
io.debezium.connector.jdbc.JdbcSinkConnectorConfig.SchemaEvolutionMode
- All Implemented Interfaces:
io.debezium.config.EnumeratedValue,Serializable,Comparable<JdbcSinkConnectorConfig.SchemaEvolutionMode>
- Enclosing class:
- JdbcSinkConnectorConfig
public static enum JdbcSinkConnectorConfig.SchemaEvolutionMode
extends Enum<JdbcSinkConnectorConfig.SchemaEvolutionMode>
implements io.debezium.config.EnumeratedValue
Different modes that the destination table's schema can be evolved.
-
Enum Constant Summary
Enum Constants -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
-
Enum Constant Details
-
NONE
No schema evolution occurs, assumed that the destination table's structure matches the event. -
BASIC
When an event is received, the table will be created if it does not exist, and any new fields found in the event will be amended to the existing tables. Any columns omitted from the event will simply be skipped during inserts and updates.
-
-
Field Details
-
mode
-
-
Constructor Details
-
SchemaEvolutionMode
-
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum type has no constant with the specified nameNullPointerException- if the argument is null
-
parse
-
getValue
- Specified by:
getValuein interfaceio.debezium.config.EnumeratedValue
-