Enum Class ColumnarErrorPolicy.Action
- All Implemented Interfaces:
Serializable, Comparable<ColumnarErrorPolicy.Action>, Constable
- Enclosing class:
ColumnarErrorPolicy
The reaction to a failed partition batch.
-
Nested Class Summary
Nested classes/interfaces inherited from class Enum
Enum.EnumDesc<E> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionForward the batch's input records to the dead-letter topic, then commit.Rethrow the failure; nothing is produced or committed.Drop the batch's output and commit past it. -
Method Summary
Modifier and TypeMethodDescriptionstatic ColumnarErrorPolicy.ActionReturns the enum constant of this class with the specified name.static ColumnarErrorPolicy.Action[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
FAIL
Rethrow the failure; nothing is produced or committed. -
SKIP
Drop the batch's output and commit past it. -
DEAD_LETTER
Forward the batch's input records to the dead-letter topic, then commit.
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class has no constant with the specified nameNullPointerException- if the argument is null
-