public static enum Resolver.ErrorAction.ErrorType extends Enum<Resolver.ErrorAction.ErrorType>
Enum Constant and Description |
---|
INCOMPATIBLE_SCHEMA_TYPES
Use when Schema types don't match and can't be converted.
|
MISSING_REQUIRED_FIELD
Use when matching two records and the reader has a field with no default
value and that field is missing in the writer..
|
NAMES_DONT_MATCH
Use when Schema types match but, in the case of record, enum, or fixed, the
names don't match.
|
NO_MATCHING_BRANCH
Use when matching a reader's union against a non-union and can't find a
branch that matches.
|
SIZES_DONT_MATCH
Use when two fixed types match and their names match by their sizes don't.
|
Modifier and Type | Method and Description |
---|---|
static Resolver.ErrorAction.ErrorType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Resolver.ErrorAction.ErrorType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Resolver.ErrorAction.ErrorType INCOMPATIBLE_SCHEMA_TYPES
public static final Resolver.ErrorAction.ErrorType NAMES_DONT_MATCH
public static final Resolver.ErrorAction.ErrorType SIZES_DONT_MATCH
public static final Resolver.ErrorAction.ErrorType MISSING_REQUIRED_FIELD
public static final Resolver.ErrorAction.ErrorType NO_MATCHING_BRANCH
public static Resolver.ErrorAction.ErrorType[] values()
for (Resolver.ErrorAction.ErrorType c : Resolver.ErrorAction.ErrorType.values()) System.out.println(c);
public static Resolver.ErrorAction.ErrorType 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 © 2009–2020 The Apache Software Foundation. All rights reserved.