public enum ValidationErrorType extends Enum<ValidationErrorType>
Enum Constant and Description |
---|
EXTRA_FIELD
The record had a field that was not valid according to the schema.
|
INVALID_FIELD
The record had a value for a field, but the value was not valid according to the schema.
|
MISSING_FIELD
A required field (i.e., a field that is not 'nullable') exists in the schema, but the record had no value for this field
or the value for this field was
null . |
OTHER
Some other sort of validation error occurred.
|
Modifier and Type | Method and Description |
---|---|
static ValidationErrorType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ValidationErrorType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ValidationErrorType MISSING_FIELD
null
.public static final ValidationErrorType EXTRA_FIELD
public static final ValidationErrorType INVALID_FIELD
public static final ValidationErrorType OTHER
public static ValidationErrorType[] values()
for (ValidationErrorType c : ValidationErrorType.values()) System.out.println(c);
public static ValidationErrorType 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 © 2021 Apache NiFi Project. All rights reserved.