Pierre Villard created NIFI-15587:
-------------------------------------

             Summary: Add extensible FieldValidator and RecordValidator support 
to the Record API
                 Key: NIFI-15587
                 URL: https://issues.apache.org/jira/browse/NIFI-15587
             Project: Apache NiFi
          Issue Type: Sub-task
          Components: Core Framework
            Reporter: Pierre Villard
            Assignee: Pierre Villard


Introduces a validation extension point in the Record API, allowing schemas to 
carry custom validators that are invoked during record validation.

Adds a FieldValidator interface for per-field validation, a RecordValidator 
interface for whole-record validation, and a DefaultValidationError 
implementation.

RecordField, RecordSchema, SimpleRecordSchema, and StandardSchemaValidator are 
updated to support and invoke these validators.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to