Module mz_sql::query_model::validator
source · Expand description
Support for validating query graph models.
The public interface consists of the following items:
- the
Model::validate
method, - the
ValidationResult
type alias, - the
ValidationError
type.
Modules
Defines
QuantifierConstraint
and QuantifierConstraintValidator
.Structs
A composite
Validator
that applies a chain of child Validator
instances
and concatenates their reported ValidationError
vectors.Enums
An enum consisting of variants corresponding to the different types
of constraint violations that can be detected as part of model
validation.
Traits
A common trait shared by all validators.
Functions
merge 🔒
Consumes and merges two
ValidationResult
instances, reusing memory
if possible.Type Definitions
The
Result
type returned by Model::validate
.