public final class DataQualityRuleResult extends GeneratedMessageV3 implements DataQualityRuleResultOrBuilder
DataQualityRuleResult provides a more detailed, per-rule level view of the
results.
Protobuf type google.cloud.dataplex.v1.DataQualityRuleResult
Static Fields
EVALUATED_COUNT_FIELD_NUMBER
public static final int EVALUATED_COUNT_FIELD_NUMBER
Field Value
FAILING_ROWS_QUERY_FIELD_NUMBER
public static final int FAILING_ROWS_QUERY_FIELD_NUMBER
Field Value
NULL_COUNT_FIELD_NUMBER
public static final int NULL_COUNT_FIELD_NUMBER
Field Value
PASSED_COUNT_FIELD_NUMBER
public static final int PASSED_COUNT_FIELD_NUMBER
Field Value
PASSED_FIELD_NUMBER
public static final int PASSED_FIELD_NUMBER
Field Value
PASS_RATIO_FIELD_NUMBER
public static final int PASS_RATIO_FIELD_NUMBER
Field Value
RULE_FIELD_NUMBER
public static final int RULE_FIELD_NUMBER
Field Value
Static Methods
getDefaultInstance()
public static DataQualityRuleResult getDefaultInstance()
Returns
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
newBuilder()
public static DataQualityRuleResult.Builder newBuilder()
Returns
newBuilder(DataQualityRuleResult prototype)
public static DataQualityRuleResult.Builder newBuilder(DataQualityRuleResult prototype)
Parameter
Returns
public static DataQualityRuleResult parseDelimitedFrom(InputStream input)
Parameter
Returns
Exceptions
public static DataQualityRuleResult parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(byte[] data)
public static DataQualityRuleResult parseFrom(byte[] data)
Parameter
Name | Description |
data | byte[]
|
Returns
Exceptions
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static DataQualityRuleResult parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteString data)
public static DataQualityRuleResult parseFrom(ByteString data)
Parameter
Returns
Exceptions
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static DataQualityRuleResult parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static DataQualityRuleResult parseFrom(CodedInputStream input)
Parameter
Returns
Exceptions
public static DataQualityRuleResult parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static DataQualityRuleResult parseFrom(InputStream input)
Parameter
Returns
Exceptions
public static DataQualityRuleResult parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteBuffer data)
public static DataQualityRuleResult parseFrom(ByteBuffer data)
Parameter
Returns
Exceptions
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static DataQualityRuleResult parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parser()
public static Parser<DataQualityRuleResult> parser()
Returns
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter
Returns
Overrides
getDefaultInstanceForType()
public DataQualityRuleResult getDefaultInstanceForType()
Returns
getEvaluatedCount()
public 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
Type | Description |
long | The evaluatedCount.
|
getFailingRowsQuery()
public 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
Type | Description |
String | The failingRowsQuery.
|
getFailingRowsQueryBytes()
public 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
Type | Description |
ByteString | The bytes for failingRowsQuery.
|
getNullCount()
public long getNullCount()
The number of rows with null values in the specified column.
int64 null_count = 5;
Returns
Type | Description |
long | The nullCount.
|
getParserForType()
public Parser<DataQualityRuleResult> getParserForType()
Returns
Overrides
getPassRatio()
public double getPassRatio()
The ratio of passed_count / evaluated_count.
This field is only valid for ColumnMap type rules.
double pass_ratio = 6;
Returns
Type | Description |
double | The passRatio.
|
getPassed()
public boolean getPassed()
Whether the rule passed or failed.
bool passed = 7;
Returns
getPassedCount()
public 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
Type | Description |
long | The passedCount.
|
getRule()
public DataQualityRule getRule()
The rule specified in the DataQualitySpec, as is.
.google.cloud.dataplex.v1.DataQualityRule rule = 1;
Returns
getRuleOrBuilder()
public DataQualityRuleOrBuilder getRuleOrBuilder()
The rule specified in the DataQualitySpec, as is.
.google.cloud.dataplex.v1.DataQualityRule rule = 1;
Returns
getSerializedSize()
public int getSerializedSize()
Returns
Overrides
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
Returns
Overrides
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.
|
hashCode()
Returns
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
newBuilderForType()
public DataQualityRuleResult.Builder newBuilderForType()
Returns
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected DataQualityRuleResult.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Returns
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Returns
Overrides
toBuilder()
public DataQualityRuleResult.Builder toBuilder()
Returns
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Parameter
Overrides
Exceptions