Package com.snowflake.kafka.connector
Enum SnowflakeSinkConnectorConfig.ErrorTolerance
- java.lang.Object
-
- java.lang.Enum<SnowflakeSinkConnectorConfig.ErrorTolerance>
-
- com.snowflake.kafka.connector.SnowflakeSinkConnectorConfig.ErrorTolerance
-
- All Implemented Interfaces:
Serializable,Comparable<SnowflakeSinkConnectorConfig.ErrorTolerance>
- Enclosing class:
- SnowflakeSinkConnectorConfig
public static enum SnowflakeSinkConnectorConfig.ErrorTolerance extends Enum<SnowflakeSinkConnectorConfig.ErrorTolerance>
-
-
Field Summary
Fields Modifier and Type Field Description static org.apache.kafka.common.config.ConfigDef.ValidatorVALIDATORValidator to validate behavior.on.null.values which says whether kafka should keep null value records or ignore them while ingesting into snowflake table.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static String[]names()StringtoString()static SnowflakeSinkConnectorConfig.ErrorTolerancevalueOf(String name)Returns the enum constant of this type with the specified name.static SnowflakeSinkConnectorConfig.ErrorTolerance[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
NONE
public static final SnowflakeSinkConnectorConfig.ErrorTolerance NONE
Tolerate no errors.
-
ALL
public static final SnowflakeSinkConnectorConfig.ErrorTolerance ALL
Tolerate all errors.
-
-
Method Detail
-
values
public static SnowflakeSinkConnectorConfig.ErrorTolerance[] 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 (SnowflakeSinkConnectorConfig.ErrorTolerance c : SnowflakeSinkConnectorConfig.ErrorTolerance.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static SnowflakeSinkConnectorConfig.ErrorTolerance 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
-
names
public static String[] names()
- Returns:
- All valid enum values
-
toString
public String toString()
- Overrides:
toStringin classEnum<SnowflakeSinkConnectorConfig.ErrorTolerance>
-
-