public final class DataQualityRuleResult extends GeneratedMessageV3 implements DataQualityRuleResultOrBuilder
DataQualityRuleResult provides a more detailed, per-rule view of the results.
Protobuf type google.cloud.dataplex.v1.DataQualityRuleResult
Inherited Members
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessageV3.<T>emptyList(java.lang.Class<T>)
Static Fields
EVALUATED_COUNT_FIELD_NUMBER
public static final int EVALUATED_COUNT_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
FAILING_ROWS_QUERY_FIELD_NUMBER
public static final int FAILING_ROWS_QUERY_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
NULL_COUNT_FIELD_NUMBER
public static final int NULL_COUNT_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
PASSED_COUNT_FIELD_NUMBER
public static final int PASSED_COUNT_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
PASSED_FIELD_NUMBER
public static final int PASSED_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
PASS_RATIO_FIELD_NUMBER
public static final int PASS_RATIO_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
RULE_FIELD_NUMBER
public static final int RULE_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
Static Methods
getDefaultInstance()
public static DataQualityRuleResult getDefaultInstance()
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
newBuilder()
public static DataQualityRuleResult.Builder newBuilder()
newBuilder(DataQualityRuleResult prototype)
public static DataQualityRuleResult.Builder newBuilder(DataQualityRuleResult prototype)
public static DataQualityRuleResult parseDelimitedFrom(InputStream input)
public static DataQualityRuleResult parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(byte[] data)
public static DataQualityRuleResult parseFrom(byte[] data)
Parameter |
---|
Name | Description |
data | byte[]
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static DataQualityRuleResult parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteString data)
public static DataQualityRuleResult parseFrom(ByteString data)
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static DataQualityRuleResult parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static DataQualityRuleResult parseFrom(CodedInputStream input)
public static DataQualityRuleResult parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static DataQualityRuleResult parseFrom(InputStream input)
public static DataQualityRuleResult parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteBuffer data)
public static DataQualityRuleResult parseFrom(ByteBuffer data)
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static DataQualityRuleResult parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
parser()
public static Parser<DataQualityRuleResult> parser()
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter |
---|
Name | Description |
obj | Object
|
Overrides
getDefaultInstanceForType()
public DataQualityRuleResult getDefaultInstanceForType()
getEvaluatedCount()
public 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 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 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 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()
Overrides
getPassRatio()
public 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 boolean getPassed()
Whether the rule passed or failed.
bool passed = 7;
Returns |
---|
Type | Description |
boolean | The passed.
|
getPassedCount()
public 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 DataQualityRule getRule()
The rule specified in the DataQualitySpec, as is.
.google.cloud.dataplex.v1.DataQualityRule rule = 1;
getRuleOrBuilder()
public DataQualityRuleOrBuilder getRuleOrBuilder()
The rule specified in the DataQualitySpec, as is.
.google.cloud.dataplex.v1.DataQualityRule rule = 1;
getSerializedSize()
public int getSerializedSize()
Returns |
---|
Type | Description |
int | |
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 |
---|
Type | Description |
int | |
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
newBuilderForType()
public DataQualityRuleResult.Builder newBuilderForType()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected DataQualityRuleResult.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Overrides
toBuilder()
public DataQualityRuleResult.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides