Package io.debezium.connector.jdbc
Enum JdbcSinkConnectorConfig.InsertMode
java.lang.Object
java.lang.Enum<JdbcSinkConnectorConfig.InsertMode>
io.debezium.connector.jdbc.JdbcSinkConnectorConfig.InsertMode
- All Implemented Interfaces:
io.debezium.config.EnumeratedValue,Serializable,Comparable<JdbcSinkConnectorConfig.InsertMode>
- Enclosing class:
- JdbcSinkConnectorConfig
public static enum JdbcSinkConnectorConfig.InsertMode
extends Enum<JdbcSinkConnectorConfig.InsertMode>
implements io.debezium.config.EnumeratedValue
Defines the various different insertion modes supported.
-
Enum Constant Summary
Enum Constants -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetValue()Returns the enum constant of this type with the specified name.static JdbcSinkConnectorConfig.InsertMode[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
INSERT
Events that create or change data are treated using standard SQL insert semantics. -
UPSERT
Events that create or change data are treated using upsert semantics. -
UPDATE
Events that create or change data are treated using standard SQL update semantics.
-
-
Field Details
-
mode
-
-
Constructor Details
-
InsertMode
-
-
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
-