Reference documentation and code samples for the Dataplex V1 API class Google::Cloud::Dataplex::V1::DataQualityRuleResult.
DataQualityRuleResult provides a more detailed, per-rule view of the results.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#evaluated_count
def evaluated_count() -> ::Integer-
(::Integer) —
The number of rows a rule was evaluated against.
This field is only valid for row-level type rules.
Evaluated count can be configured to either
- include all rows (default) - with
nullrows automatically failing rule evaluation, or - exclude
nullrows from theevaluated_count, by settingignore_nulls = true.
- include all rows (default) - with
#evaluated_count=
def evaluated_count=(value) -> ::Integer-
value (::Integer) —
The number of rows a rule was evaluated against.
This field is only valid for row-level type rules.
Evaluated count can be configured to either
- include all rows (default) - with
nullrows automatically failing rule evaluation, or - exclude
nullrows from theevaluated_count, by settingignore_nulls = true.
- include all rows (default) - with
-
(::Integer) —
The number of rows a rule was evaluated against.
This field is only valid for row-level type rules.
Evaluated count can be configured to either
- include all rows (default) - with
nullrows automatically failing rule evaluation, or - exclude
nullrows from theevaluated_count, by settingignore_nulls = true.
- include all rows (default) - with
#failing_rows_query
def failing_rows_query() -> ::String-
(::String) — The query to find rows that did not pass this rule.
This field is only valid for row-level type rules.
#failing_rows_query=
def failing_rows_query=(value) -> ::String-
value (::String) — The query to find rows that did not pass this rule.
This field is only valid for row-level type rules.
-
(::String) — The query to find rows that did not pass this rule.
This field is only valid for row-level type rules.
#null_count
def null_count() -> ::Integer- (::Integer) — The number of rows with null values in the specified column.
#null_count=
def null_count=(value) -> ::Integer- value (::Integer) — The number of rows with null values in the specified column.
- (::Integer) — The number of rows with null values in the specified column.
#pass_ratio
def pass_ratio() -> ::Float-
(::Float) — The ratio of passed_count / evaluated_count.
This field is only valid for row-level type rules.
#pass_ratio=
def pass_ratio=(value) -> ::Float-
value (::Float) — The ratio of passed_count / evaluated_count.
This field is only valid for row-level type rules.
-
(::Float) — The ratio of passed_count / evaluated_count.
This field is only valid for row-level type rules.
#passed
def passed() -> ::Boolean- (::Boolean) — Whether the rule passed or failed.
#passed=
def passed=(value) -> ::Boolean- value (::Boolean) — Whether the rule passed or failed.
- (::Boolean) — Whether the rule passed or failed.
#passed_count
def passed_count() -> ::Integer-
(::Integer) — The number of rows which passed a rule evaluation.
This field is only valid for row-level type rules.
#passed_count=
def passed_count=(value) -> ::Integer-
value (::Integer) — The number of rows which passed a rule evaluation.
This field is only valid for row-level type rules.
-
(::Integer) — The number of rows which passed a rule evaluation.
This field is only valid for row-level type rules.
#rule
def rule() -> ::Google::Cloud::Dataplex::V1::DataQualityRule- (::Google::Cloud::Dataplex::V1::DataQualityRule) — The rule specified in the DataQualitySpec, as is.
#rule=
def rule=(value) -> ::Google::Cloud::Dataplex::V1::DataQualityRule- value (::Google::Cloud::Dataplex::V1::DataQualityRule) — The rule specified in the DataQualitySpec, as is.
- (::Google::Cloud::Dataplex::V1::DataQualityRule) — The rule specified in the DataQualitySpec, as is.