-
Notifications
You must be signed in to change notification settings - Fork 2
Validators
Coyote DX Validators are components which perform tests on the Working Frame within a Transaction Context and fire events in Listeners when their conditions are not met. This allows the Transform Engine to perform data quality checks prior to more expensive processing.
Data validation is performed immediately after Filters are run and just before the Transforms. When validation rules are broken, the onValidationFailed( OperationalContext, String )
event is triggered in all the registered Listeners. This allows the Transform Engine to log errors with the Working Frame.
Each validation rule can be configured to cause the Transaction Context to abort with the halt=true
configuration option. This will cause the Transform Engine to skip past the remaining validators. The Transform Engine will then fire the onFrameFalidationFailed( OperationalContext, String )
event then attempt to read the next record. The halt
switch is intended to reduce processing by skipping validations when it is known the working record is invalid. This is helpful when some validators may perform expensive lookups or calculations which can reduce throughput of the job. The default for halt
is false. This allows the Transform Engine to collect all the errors for failed validation.
It is a good idea to have a listener registered with the job to record working records with fail validation so they can be processed off-line.
- Concepts
- Features
- Transform Engine
- Quick Start
- Configuration
- Secrets Vault
-
Readers
- List of Readers
- Custom Readers
-
Writers
- List of Writers
- Custom Writers
-
Filters
- Accept
- Reject
- Custom Filters
-
Tasks
- List of Tasks
- Custom Tasks
-
Validators
- List of Validators
- Custom Validators
-
Listeners
- List of Listeners
- Custom Listeners
-
Transforms
- List of Transforms
- Custom Transforms
- Mappers
- Context
- Databases
- Templates
- Logging
- Encryption
- Usage
- Expressions
- Examples