Interface DataQualityRuleResultOrBuilder (1.53.0)

public interface DataQualityRuleResultOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getAssertionRowCount()

public abstract long getAssertionRowCount()

Output only. The number of rows returned by the SQL statement in a SQL assertion rule.

This field is only valid for SQL assertion rules.

int64 assertion_row_count = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
long

The assertionRowCount.

getEvaluatedCount()

public abstract 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
Type Description
long

The evaluatedCount.

getFailingRowsQuery()

public abstract 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
Type Description
String

The failingRowsQuery.

getFailingRowsQueryBytes()

public abstract 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
Type Description
ByteString

The bytes for failingRowsQuery.

getNullCount()

public abstract long getNullCount()

The number of rows with null values in the specified column.

int64 null_count = 5;

Returns
Type Description
long

The nullCount.

getPassRatio()

public abstract double getPassRatio()

The ratio of passed_count / evaluated_count.

This field is only valid for row-level type rules.

double pass_ratio = 6;

Returns
Type Description
double

The passRatio.

getPassed()

public abstract boolean getPassed()

Whether the rule passed or failed.

bool passed = 7;

Returns
Type Description
boolean

The passed.

getPassedCount()

public abstract 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
Type Description
long

The passedCount.

getRule()

public abstract DataQualityRule getRule()

The rule specified in the DataQualitySpec, as is.

.google.cloud.dataplex.v1.DataQualityRule rule = 1;

Returns
Type Description
DataQualityRule

The rule.

getRuleOrBuilder()

public abstract DataQualityRuleOrBuilder getRuleOrBuilder()

The rule specified in the DataQualitySpec, as is.

.google.cloud.dataplex.v1.DataQualityRule rule = 1;

Returns
Type Description
DataQualityRuleOrBuilder

hasRule()

public abstract boolean hasRule()

The rule specified in the DataQualitySpec, as is.

.google.cloud.dataplex.v1.DataQualityRule rule = 1;

Returns
Type Description
boolean

Whether the rule field is set.