DatascanDataQualitySpecRuleArgs

data class DatascanDataQualitySpecRuleArgs(val column: Output<String>? = null, val description: Output<String>? = null, val dimension: Output<String>, val ignoreNull: Output<Boolean>? = null, val name: Output<String>? = null, val nonNullExpectation: Output<DatascanDataQualitySpecRuleNonNullExpectationArgs>? = null, val rangeExpectation: Output<DatascanDataQualitySpecRuleRangeExpectationArgs>? = null, val regexExpectation: Output<DatascanDataQualitySpecRuleRegexExpectationArgs>? = null, val rowConditionExpectation: Output<DatascanDataQualitySpecRuleRowConditionExpectationArgs>? = null, val setExpectation: Output<DatascanDataQualitySpecRuleSetExpectationArgs>? = null, val sqlAssertion: Output<DatascanDataQualitySpecRuleSqlAssertionArgs>? = null, val statisticRangeExpectation: Output<DatascanDataQualitySpecRuleStatisticRangeExpectationArgs>? = null, val tableConditionExpectation: Output<DatascanDataQualitySpecRuleTableConditionExpectationArgs>? = null, val threshold: Output<Double>? = null, val uniquenessExpectation: Output<DatascanDataQualitySpecRuleUniquenessExpectationArgs>? = null) : ConvertibleToJava<DatascanDataQualitySpecRuleArgs>

Constructors

Link copied to clipboard
constructor(column: Output<String>? = null, description: Output<String>? = null, dimension: Output<String>, ignoreNull: Output<Boolean>? = null, name: Output<String>? = null, nonNullExpectation: Output<DatascanDataQualitySpecRuleNonNullExpectationArgs>? = null, rangeExpectation: Output<DatascanDataQualitySpecRuleRangeExpectationArgs>? = null, regexExpectation: Output<DatascanDataQualitySpecRuleRegexExpectationArgs>? = null, rowConditionExpectation: Output<DatascanDataQualitySpecRuleRowConditionExpectationArgs>? = null, setExpectation: Output<DatascanDataQualitySpecRuleSetExpectationArgs>? = null, sqlAssertion: Output<DatascanDataQualitySpecRuleSqlAssertionArgs>? = null, statisticRangeExpectation: Output<DatascanDataQualitySpecRuleStatisticRangeExpectationArgs>? = null, tableConditionExpectation: Output<DatascanDataQualitySpecRuleTableConditionExpectationArgs>? = null, threshold: Output<Double>? = null, uniquenessExpectation: Output<DatascanDataQualitySpecRuleUniquenessExpectationArgs>? = null)

Properties

Link copied to clipboard
val column: Output<String>? = null

The unnested column which this rule is evaluated against.

Link copied to clipboard
val description: Output<String>? = null

Description of the rule. The maximum length is 1,024 characters.

Link copied to clipboard
val dimension: Output<String>

The dimension a rule belongs to. Results are also aggregated at the dimension level. Supported dimensions are "COMPLETENESS", "ACCURACY", "CONSISTENCY", "VALIDITY", "UNIQUENESS", "INTEGRITY"

Link copied to clipboard
val ignoreNull: Output<Boolean>? = null

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.

Link copied to clipboard
val name: Output<String>? = null

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.

Link copied to clipboard

ColumnMap rule which evaluates whether each column value is null.

Link copied to clipboard

ColumnMap rule which evaluates whether each column value lies between a specified range. Structure is documented below.

Link copied to clipboard

ColumnMap rule which evaluates whether each column value matches a specified regex. Structure is documented below.

Link copied to clipboard

Table rule which evaluates whether each row passes the specified condition. Structure is documented below.

Link copied to clipboard

ColumnMap rule which evaluates whether each column value is contained by a specified set. Structure is documented below.

Link copied to clipboard

Table rule which evaluates whether any row matches invalid state. Structure is documented below.

Link copied to clipboard

ColumnAggregate rule which evaluates whether the column aggregate statistic lies between a specified range. Structure is documented below.

Link copied to clipboard

Table rule which evaluates whether the provided expression is true. Structure is documented below.

Link copied to clipboard
val threshold: Output<Double>? = null

The minimum ratio of passing_rows / total_rows required to pass this rule, with a range of 0.0, 1.0. 0 indicates default value (i.e. 1.0).

Link copied to clipboard

Row-level rule which evaluates whether each column value is unique.

Functions

Link copied to clipboard
open override fun toJava(): DatascanDataQualitySpecRuleArgs