Package io.debezium.config
Enum CommonConnectorConfig.SchemaNameAdjustmentMode
- java.lang.Object
-
- java.lang.Enum<CommonConnectorConfig.SchemaNameAdjustmentMode>
-
- io.debezium.config.CommonConnectorConfig.SchemaNameAdjustmentMode
-
- All Implemented Interfaces:
EnumeratedValue,Serializable,Comparable<CommonConnectorConfig.SchemaNameAdjustmentMode>
- Enclosing class:
- CommonConnectorConfig
public static enum CommonConnectorConfig.SchemaNameAdjustmentMode extends Enum<CommonConnectorConfig.SchemaNameAdjustmentMode> implements EnumeratedValue
The set of predefined SchemaNameAdjustmentMode options
-
-
Constructor Summary
Constructors Modifier Constructor Description privateSchemaNameAdjustmentMode(String value)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description SchemaNameAdjustercreateAdjuster()StringgetValue()Returns the string representation of this valuestatic CommonConnectorConfig.SchemaNameAdjustmentModeparse(String value)Determine if the supplied values is one of the predefined optionsstatic CommonConnectorConfig.SchemaNameAdjustmentModevalueOf(String name)Returns the enum constant of this type with the specified name.static CommonConnectorConfig.SchemaNameAdjustmentMode[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
NONE
public static final CommonConnectorConfig.SchemaNameAdjustmentMode NONE
Do not adjust names
-
AVRO
public static final CommonConnectorConfig.SchemaNameAdjustmentMode AVRO
Adjust names for compatibility with Avro
-
-
Field Detail
-
value
private final String value
-
-
Constructor Detail
-
SchemaNameAdjustmentMode
private SchemaNameAdjustmentMode(String value)
-
-
Method Detail
-
values
public static CommonConnectorConfig.SchemaNameAdjustmentMode[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (CommonConnectorConfig.SchemaNameAdjustmentMode c : CommonConnectorConfig.SchemaNameAdjustmentMode.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static CommonConnectorConfig.SchemaNameAdjustmentMode valueOf(String name)
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
-
getValue
public String getValue()
Description copied from interface:EnumeratedValueReturns the string representation of this value- Specified by:
getValuein interfaceEnumeratedValue- Returns:
- The string representation of this value
-
createAdjuster
public SchemaNameAdjuster createAdjuster()
-
parse
public static CommonConnectorConfig.SchemaNameAdjustmentMode parse(String value)
Determine if the supplied values is one of the predefined options- Parameters:
value- the configuration property value ; may not be null- Returns:
- the matching option, or null if the match is not found
-
-