Interface DataQualityRuleResultOrBuilder (1.6.0)

public interface DataQualityRuleResultOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getEvaluatedCount()

public abstract long getEvaluatedCount()

The number of rows a rule was evaluated against. This field is only valid for ColumnMap type rules. Evaluated count can be configured to either (1) include all rows (default) - with null rows automatically failing rule evaluation OR (2) exclude null rows from the evaluated_count, by setting ignore_nulls = true

int64 evaluated_count = 9;

Returns
TypeDescription
long

The evaluatedCount.

getFailingRowsQuery()

public abstract String getFailingRowsQuery()

The query to find rows that did not pass this rule. Only applies to ColumnMap and RowCondition rules.

string failing_rows_query = 10;

Returns
TypeDescription
String

The failingRowsQuery.

getFailingRowsQueryBytes()

public abstract ByteString getFailingRowsQueryBytes()

The query to find rows that did not pass this rule. Only applies to ColumnMap and RowCondition rules.

string failing_rows_query = 10;

Returns
TypeDescription
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
TypeDescription
long

The nullCount.

getPassRatio()

public abstract double getPassRatio()

The ratio of passed_count / evaluated_count. This field is only valid for ColumnMap type rules.

double pass_ratio = 6;

Returns
TypeDescription
double

The passRatio.

getPassed()

public abstract boolean getPassed()

Whether the rule passed or failed.

bool passed = 7;

Returns
TypeDescription
boolean

The passed.

getPassedCount()

public abstract long getPassedCount()

The number of rows which passed a rule evaluation. This field is only valid for ColumnMap type rules.

int64 passed_count = 8;

Returns
TypeDescription
long

The passedCount.

getRule()

public abstract DataQualityRule getRule()

The rule specified in the DataQualitySpec, as is.

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

Returns
TypeDescription
DataQualityRule

The rule.

getRuleOrBuilder()

public abstract DataQualityRuleOrBuilder getRuleOrBuilder()

The rule specified in the DataQualitySpec, as is.

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

Returns
TypeDescription
DataQualityRuleOrBuilder

hasRule()

public abstract boolean hasRule()

The rule specified in the DataQualitySpec, as is.

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

Returns
TypeDescription
boolean

Whether the rule field is set.