Contains the data required for a Validator to perform an RDF validation against a given Schema and how to behave regarding the validation results
- Value parameters:
- concurrentItems
Maximum number of RDF items to be validated in parallel (set it to 1 for sequential execution, bear in mind that high values won't necessarily translate into performance improvements unless you know what you are doing)
- haltOnErrored
Whether the validator should stop and raise an StreamErroredItemException when an unexpected error occurs or just emit an ERRORED result containing the error. If this is set to true, remember to handle StreamErroredItemExceptions on the validator's output stream
- haltOnInvalid
Whether the validator should stop and raise an StreamInvalidItemException on an invalid item or emit an INVALID result and keep processing items If this is set to true, remember to handle StreamInvalidItemExceptions on the validator's output stream
- schema
Schema against which the validation will be performed for all items processed by this validator
- trigger
ValidationTrigger against which the validation will be performed for all items processed by this validator
- Companion:
- object
- Source:
- ValidatorConfiguration.scala
Value members
Concrete methods
Check the user-controlled inputs to this configuration, preventing the creation of it if necessary
Check the user-controlled inputs to this configuration, preventing the creation of it if necessary
- Throws:
- IllegalArgumentException
On invalid extractor parameters
- Source:
- ValidatorConfiguration.scala