public final class DataQualityRuleResult extends GeneratedMessage 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.GeneratedMessage.<ContainingT,T>newFileScopedGeneratedExtension(java.lang.Class<?>,com.google.protobuf.Message)
com.google.protobuf.GeneratedMessage.<ContainingT,T>newMessageScopedGeneratedExtension(com.google.protobuf.Message,int,java.lang.Class<?>,com.google.protobuf.Message)
com.google.protobuf.GeneratedMessage.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessage.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessage.<T>emptyList(java.lang.Class<T>)
com.google.protobuf.GeneratedMessage.<V>serializeBooleanMapTo(com.google.protobuf.CodedOutputStream,com.google.protobuf.MapField<java.lang.Boolean,V>,com.google.protobuf.MapEntry<java.lang.Boolean,V>,int)
com.google.protobuf.GeneratedMessage.<V>serializeIntegerMapTo(com.google.protobuf.CodedOutputStream,com.google.protobuf.MapField<java.lang.Integer,V>,com.google.protobuf.MapEntry<java.lang.Integer,V>,int)
com.google.protobuf.GeneratedMessage.<V>serializeLongMapTo(com.google.protobuf.CodedOutputStream,com.google.protobuf.MapField<java.lang.Long,V>,com.google.protobuf.MapEntry<java.lang.Long,V>,int)
com.google.protobuf.GeneratedMessage.<V>serializeStringMapTo(com.google.protobuf.CodedOutputStream,com.google.protobuf.MapField<java.lang.String,V>,com.google.protobuf.MapEntry<java.lang.String,V>,int)
com.google.protobuf.GeneratedMessage.canUseUnsafe()
com.google.protobuf.GeneratedMessage.emptyBooleanList()
com.google.protobuf.GeneratedMessage.emptyDoubleList()
com.google.protobuf.GeneratedMessage.emptyFloatList()
com.google.protobuf.GeneratedMessage.emptyIntList()
com.google.protobuf.GeneratedMessage.emptyLongList()
com.google.protobuf.GeneratedMessage.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessage.isStringEmpty(java.lang.Object)
com.google.protobuf.GeneratedMessage.mergeFromAndMakeImmutableInternal(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite)
com.google.protobuf.GeneratedMessage.newInstance(com.google.protobuf.GeneratedMessage.UnusedPrivateParameter)
com.google.protobuf.GeneratedMessage.parseUnknownFieldProto3(com.google.protobuf.CodedInputStream,com.google.protobuf.UnknownFieldSet.Builder,com.google.protobuf.ExtensionRegistryLite,int)
Static Fields
ASSERTION_ROW_COUNT_FIELD_NUMBER
public static final int ASSERTION_ROW_COUNT_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
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
getAssertionRowCount()
public 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.
|
getDefaultInstanceForType()
public DataQualityRuleResult getDefaultInstanceForType()
getEvaluatedCount()
public long getEvaluatedCount()
Output only. 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.
This field is not set for rule SqlAssertion.
int64 evaluated_count = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns |
| Type |
Description |
long |
The evaluatedCount.
|
getFailingRowsQuery()
public String getFailingRowsQuery()
Output only. 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 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns |
| Type |
Description |
String |
The failingRowsQuery.
|
getFailingRowsQueryBytes()
public ByteString getFailingRowsQueryBytes()
Output only. 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 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns |
| Type |
Description |
ByteString |
The bytes for failingRowsQuery.
|
getNullCount()
public long getNullCount()
Output only. The number of rows with null values in the specified column.
int64 null_count = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns |
| Type |
Description |
long |
The nullCount.
|
getParserForType()
public Parser<DataQualityRuleResult> getParserForType()
Overrides
getPassRatio()
public double getPassRatio()
Output only. The ratio of passed_count / evaluated_count.
This field is only valid for row-level type rules.
double pass_ratio = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns |
| Type |
Description |
double |
The passRatio.
|
getPassed()
public boolean getPassed()
Output only. Whether the rule passed or failed.
bool passed = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns |
| Type |
Description |
boolean |
The passed.
|
getPassedCount()
public long getPassedCount()
Output only. The number of rows which passed a rule evaluation.
This field is only valid for row-level type rules.
This field is not set for rule SqlAssertion.
int64 passed_count = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns |
| Type |
Description |
long |
The passedCount.
|
getRule()
public DataQualityRule getRule()
Output only. The rule specified in the DataQualitySpec, as is.
.google.cloud.dataplex.v1.DataQualityRule rule = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
getRuleOrBuilder()
public DataQualityRuleOrBuilder getRuleOrBuilder()
Output only. The rule specified in the DataQualitySpec, as is.
.google.cloud.dataplex.v1.DataQualityRule rule = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
getSerializedSize()
public int getSerializedSize()
| Returns |
| Type |
Description |
int |
|
Overrides
hasRule()
Output only. The rule specified in the DataQualitySpec, as is.
.google.cloud.dataplex.v1.DataQualityRule rule = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns |
| Type |
Description |
boolean |
Whether the rule field is set.
|
hashCode()
| Returns |
| Type |
Description |
int |
|
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
newBuilderForType()
public DataQualityRuleResult.Builder newBuilderForType()
newBuilderForType(AbstractMessage.BuilderParent parent)
protected DataQualityRuleResult.Builder newBuilderForType(AbstractMessage.BuilderParent parent)
Overrides
toBuilder()
public DataQualityRuleResult.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides