Package com.google.cloud.dataplex.v1
Interface DataQualityRuleResultOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
DataQualityRuleResult
,DataQualityRuleResult.Builder
public interface DataQualityRuleResultOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description long
getEvaluatedCount()
The number of rows a rule was evaluated against.String
getFailingRowsQuery()
The query to find rows that did not pass this rule.com.google.protobuf.ByteString
getFailingRowsQueryBytes()
The query to find rows that did not pass this rule.long
getNullCount()
The number of rows with null values in the specified column.boolean
getPassed()
Whether the rule passed or failed.long
getPassedCount()
The number of rows which passed a rule evaluation.double
getPassRatio()
The ratio of **passed_count / evaluated_count**.DataQualityRule
getRule()
The rule specified in the DataQualitySpec, as is.DataQualityRuleOrBuilder
getRuleOrBuilder()
The rule specified in the DataQualitySpec, as is.boolean
hasRule()
The rule specified in the DataQualitySpec, as is.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
hasRule
boolean hasRule()
The rule specified in the DataQualitySpec, as is.
.google.cloud.dataplex.v1.DataQualityRule rule = 1;
- Returns:
- Whether the rule field is set.
-
getRule
DataQualityRule getRule()
The rule specified in the DataQualitySpec, as is.
.google.cloud.dataplex.v1.DataQualityRule rule = 1;
- Returns:
- The rule.
-
getRuleOrBuilder
DataQualityRuleOrBuilder getRuleOrBuilder()
The rule specified in the DataQualitySpec, as is.
.google.cloud.dataplex.v1.DataQualityRule rule = 1;
-
getPassed
boolean getPassed()
Whether the rule passed or failed.
bool passed = 7;
- Returns:
- The passed.
-
getEvaluatedCount
long getEvaluatedCount()
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 `null` rows automatically failing rule evaluation, or * exclude `null` rows from the `evaluated_count`, by setting `ignore_nulls = true`.
int64 evaluated_count = 9;
- Returns:
- The evaluatedCount.
-
getPassedCount
long getPassedCount()
The number of rows which passed a rule evaluation. This field is only valid for row-level type rules.
int64 passed_count = 8;
- Returns:
- The passedCount.
-
getNullCount
long getNullCount()
The number of rows with null values in the specified column.
int64 null_count = 5;
- Returns:
- The nullCount.
-
getPassRatio
double getPassRatio()
The ratio of **passed_count / evaluated_count**. This field is only valid for row-level type rules.
double pass_ratio = 6;
- Returns:
- The passRatio.
-
getFailingRowsQuery
String getFailingRowsQuery()
The query to find rows that did not pass this rule. This field is only valid for row-level type rules.
string failing_rows_query = 10;
- Returns:
- The failingRowsQuery.
-
getFailingRowsQueryBytes
com.google.protobuf.ByteString getFailingRowsQueryBytes()
The query to find rows that did not pass this rule. This field is only valid for row-level type rules.
string failing_rows_query = 10;
- Returns:
- The bytes for failingRowsQuery.
-
-