@PublicEvolving public enum CursorVerification extends Enum<CursorVerification> implements org.apache.flink.configuration.DescribedEnum
| Enum Constant and Description |
|---|
FAIL_ON_MISMATCH
We would just fail the consuming.
|
WARN_ON_MISMATCH
Print a warn message and start consuming from the valid offset.
|
| Modifier and Type | Method and Description |
|---|---|
org.apache.flink.configuration.description.InlineElement |
getDescription() |
static CursorVerification |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static CursorVerification[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CursorVerification FAIL_ON_MISMATCH
public static final CursorVerification WARN_ON_MISMATCH
public static CursorVerification[] values()
for (CursorVerification c : CursorVerification.values()) System.out.println(c);
public static CursorVerification valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is null@Internal public org.apache.flink.configuration.description.InlineElement getDescription()
getDescription in interface org.apache.flink.configuration.DescribedEnumCopyright © 2014–2022 The Apache Software Foundation. All rights reserved.