@PublicEvolving public enum CursorVerification extends Enum<CursorVerification>
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 |
---|---|
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 nullCopyright © 2014–2023 The Apache Software Foundation. All rights reserved.