Package io.debezium.connector.postgresql
Enum PostgresConnectorConfig.TruncateHandlingMode
- java.lang.Object
-
- java.lang.Enum<PostgresConnectorConfig.TruncateHandlingMode>
-
- io.debezium.connector.postgresql.PostgresConnectorConfig.TruncateHandlingMode
-
- All Implemented Interfaces:
EnumeratedValue,Serializable,Comparable<PostgresConnectorConfig.TruncateHandlingMode>
- Enclosing class:
- PostgresConnectorConfig
public static enum PostgresConnectorConfig.TruncateHandlingMode extends Enum<PostgresConnectorConfig.TruncateHandlingMode> implements EnumeratedValue
The set of predefined TruncateHandlingMode options or aliases
-
-
Constructor Summary
Constructors Modifier Constructor Description privateTruncateHandlingMode(String value)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetValue()static PostgresConnectorConfig.TruncateHandlingModeparse(String value)static PostgresConnectorConfig.TruncateHandlingModevalueOf(String name)Returns the enum constant of this type with the specified name.static PostgresConnectorConfig.TruncateHandlingMode[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
SKIP
public static final PostgresConnectorConfig.TruncateHandlingMode SKIP
Skip TRUNCATE messages
-
INCLUDE
public static final PostgresConnectorConfig.TruncateHandlingMode INCLUDE
Handle & Include TRUNCATE messages
-
-
Field Detail
-
value
private final String value
-
-
Constructor Detail
-
TruncateHandlingMode
private TruncateHandlingMode(String value)
-
-
Method Detail
-
values
public static PostgresConnectorConfig.TruncateHandlingMode[] 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 (PostgresConnectorConfig.TruncateHandlingMode c : PostgresConnectorConfig.TruncateHandlingMode.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static PostgresConnectorConfig.TruncateHandlingMode 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()
- Specified by:
getValuein interfaceEnumeratedValue
-
parse
public static PostgresConnectorConfig.TruncateHandlingMode parse(String value)
-
-