The required mode indicates how required fields should be handled during validation, see {@link RequiredMode} for a description of the various required modes.
The coercion mode indicates whether and how primitive values should be coerced from a value that does not conform to the schema to a value that conforms to the schema's type, see {@link CoercionMode} for a description of the variouscoercion modes.
If fix-up occurs, the fixed-up value is returned by {@link com.linkedin.data.schema.validation.ValidationResult#getFixed()}. Fix-up can occur if the coercion mode is not set to {@link CoercionMode#OFF}or the required mode is set to {@link RequiredMode#FIXUP_ABSENT_WITH_DEFAULT}. Unlike Avro, union to record schema resolution is not implemented. @author slim
|
|
|
|
|
|