DatascanDataQualitySpecRule class
Constructors
-
DatascanDataQualitySpecRule({Input<Map<String, String>?>? attributes, Input<String?>? column, Input<String?>? description, required Input<String> dimension, Input<bool?>? ignoreNull, Input<String?>? name, Input<Map<String, dynamic>?>? nonNullExpectation, Input<DatascanDataQualitySpecRuleRangeExpectation?>? rangeExpectation, Input<DatascanDataQualitySpecRuleRegexExpectation?>? regexExpectation, Input<DatascanDataQualitySpecRuleRowConditionExpectation?>? rowConditionExpectation, Input<DatascanDataQualitySpecRuleSetExpectation?>? setExpectation, Input<DatascanDataQualitySpecRuleSqlAssertion?>? sqlAssertion, Input<DatascanDataQualitySpecRuleStatisticRangeExpectation?>? statisticRangeExpectation, Input<bool?>? suspended, Input<DatascanDataQualitySpecRuleTableConditionExpectation?>? tableConditionExpectation, Input<DatascanDataQualitySpecRuleTemplateReference?>? templateReference, Input<double?>? threshold, Input<Map<String, dynamic>?>? uniquenessExpectation})
-
Creates a new DatascanDataQualitySpecRule.
attributes Map of attribute name and value linked to the rule.
column The unnested column which this rule is evaluated against.
description Description of the rule.
dimension The dimension name a rule belongs to. Custom dimension name is supported with all uppercase letters and maximum length of 30 characters.
ignoreNull Rows with null values will automatically fail a rule, unless ignoreNull is true. In that case, such null rows are trivially considered passing. Only applicable to ColumnMap rules.
name A mutable name for the rule.
nonNullExpectation ColumnMap rule which evaluates whether each column value is null.
rangeExpectation ColumnMap rule which evaluates whether each column value lies between a specified range.
regexExpectation ColumnMap rule which evaluates whether each column value matches a specified regex.
rowConditionExpectation Table rule which evaluates whether each row passes the specified condition.
setExpectation ColumnMap rule which evaluates whether each column value is contained by a specified set.
sqlAssertion Table rule which evaluates whether any row matches invalid state.
statisticRangeExpectation ColumnAggregate rule which evaluates whether the column aggregate statistic lies between a specified range.
suspended Whether the Rule is active or suspended. Default = false.
tableConditionExpectation Table rule which evaluates whether the provided expression is true.
templateReference Aggregate rule which references a rule template and provides the parameters to be substituted in the template.
threshold The minimum ratio of passingRows / totalRows required to pass this rule, with a range of 0.0, 1.0. 0 indicates default value (i.e. 1.0).
uniquenessExpectation Row-level rule which evaluates whether each column value is unique.
const
-
DatascanDataQualitySpecRule.fromMap(Map<String, dynamic> map)
-
factory
Properties
-
attributes
→ Input<Map<String, String>?>?
-
Map of attribute name and value linked to the rule.
final
-
column
→ Input<String?>?
-
The unnested column which this rule is evaluated against.
final
-
description
→ Input<String?>?
-
Description of the rule.
The maximum length is 1,024 characters.
final
-
dimension
→ Input<String>
-
The dimension name a rule belongs to. Custom dimension name is supported with all uppercase letters and maximum length of 30 characters.
final
-
hashCode
→ int
-
The hash code for this object.
no setterinherited
-
ignoreNull
→ Input<bool?>?
-
Rows with null values will automatically fail a rule, unless ignoreNull is true. In that case, such null rows are trivially considered passing. Only applicable to ColumnMap rules.
final
-
name
→ Input<String?>?
-
A mutable name for the rule.
The name must contain only letters (a-z, A-Z), numbers (0-9), or hyphens (-).
The maximum length is 63 characters.
Must start with a letter.
Must end with a number or a letter.
final
-
nonNullExpectation
→ Input<Map<String, dynamic>?>?
-
ColumnMap rule which evaluates whether each column value is null.
final
-
rangeExpectation
→ Input<DatascanDataQualitySpecRuleRangeExpectation?>?
-
ColumnMap rule which evaluates whether each column value lies between a specified range.
Structure is documented below.
final
-
regexExpectation
→ Input<DatascanDataQualitySpecRuleRegexExpectation?>?
-
ColumnMap rule which evaluates whether each column value matches a specified regex.
Structure is documented below.
final
-
rowConditionExpectation
→ Input<DatascanDataQualitySpecRuleRowConditionExpectation?>?
-
Table rule which evaluates whether each row passes the specified condition.
Structure is documented below.
final
-
runtimeType
→ Type
-
A representation of the runtime type of the object.
no setterinherited
-
setExpectation
→ Input<DatascanDataQualitySpecRuleSetExpectation?>?
-
ColumnMap rule which evaluates whether each column value is contained by a specified set.
Structure is documented below.
final
-
sqlAssertion
→ Input<DatascanDataQualitySpecRuleSqlAssertion?>?
-
Table rule which evaluates whether any row matches invalid state.
Structure is documented below.
final
-
statisticRangeExpectation
→ Input<DatascanDataQualitySpecRuleStatisticRangeExpectation?>?
-
ColumnAggregate rule which evaluates whether the column aggregate statistic lies between a specified range.
Structure is documented below.
final
-
suspended
→ Input<bool?>?
-
Whether the Rule is active or suspended. Default = false.
final
-
tableConditionExpectation
→ Input<DatascanDataQualitySpecRuleTableConditionExpectation?>?
-
Table rule which evaluates whether the provided expression is true.
Structure is documented below.
final
-
templateReference
→ Input<DatascanDataQualitySpecRuleTemplateReference?>?
-
Aggregate rule which references a rule template and provides the parameters to be substituted in the template.
Structure is documented below.
final
-
threshold
→ Input<double?>?
-
The minimum ratio of passingRows / totalRows required to pass this rule, with a range of
0.0, 1.0. 0 indicates default value (i.e. 1.0).
final
-
uniquenessExpectation
→ Input<Map<String, dynamic>?>?
-
Row-level rule which evaluates whether each column value is unique.
final