Package com.google.cloud.dataplex.v1
Interface DataQualityRuleOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
DataQualityRule,DataQualityRule.Builder
public interface DataQualityRuleOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description StringgetColumn()Optional.com.google.protobuf.ByteStringgetColumnBytes()Optional.StringgetDescription()Optional.com.google.protobuf.ByteStringgetDescriptionBytes()Optional.StringgetDimension()Required.com.google.protobuf.ByteStringgetDimensionBytes()Required.booleangetIgnoreNull()Optional.StringgetName()Optional.com.google.protobuf.ByteStringgetNameBytes()Optional.DataQualityRule.NonNullExpectationgetNonNullExpectation()Row-level rule which evaluates whether each column value is null.DataQualityRule.NonNullExpectationOrBuildergetNonNullExpectationOrBuilder()Row-level rule which evaluates whether each column value is null.DataQualityRule.RangeExpectationgetRangeExpectation()Row-level rule which evaluates whether each column value lies between a specified range.DataQualityRule.RangeExpectationOrBuildergetRangeExpectationOrBuilder()Row-level rule which evaluates whether each column value lies between a specified range.DataQualityRule.RegexExpectationgetRegexExpectation()Row-level rule which evaluates whether each column value matches a specified regex.DataQualityRule.RegexExpectationOrBuildergetRegexExpectationOrBuilder()Row-level rule which evaluates whether each column value matches a specified regex.DataQualityRule.RowConditionExpectationgetRowConditionExpectation()Row-level rule which evaluates whether each row in a table passes the specified condition.DataQualityRule.RowConditionExpectationOrBuildergetRowConditionExpectationOrBuilder()Row-level rule which evaluates whether each row in a table passes the specified condition.DataQualityRule.RuleTypeCasegetRuleTypeCase()DataQualityRule.SetExpectationgetSetExpectation()Row-level rule which evaluates whether each column value is contained by a specified set.DataQualityRule.SetExpectationOrBuildergetSetExpectationOrBuilder()Row-level rule which evaluates whether each column value is contained by a specified set.DataQualityRule.StatisticRangeExpectationgetStatisticRangeExpectation()Aggregate rule which evaluates whether the column aggregate statistic lies between a specified range.DataQualityRule.StatisticRangeExpectationOrBuildergetStatisticRangeExpectationOrBuilder()Aggregate rule which evaluates whether the column aggregate statistic lies between a specified range.DataQualityRule.TableConditionExpectationgetTableConditionExpectation()Aggregate rule which evaluates whether the provided expression is true for a table.DataQualityRule.TableConditionExpectationOrBuildergetTableConditionExpectationOrBuilder()Aggregate rule which evaluates whether the provided expression is true for a table.doublegetThreshold()Optional.DataQualityRule.UniquenessExpectationgetUniquenessExpectation()Row-level rule which evaluates whether each column value is unique.DataQualityRule.UniquenessExpectationOrBuildergetUniquenessExpectationOrBuilder()Row-level rule which evaluates whether each column value is unique.booleanhasNonNullExpectation()Row-level rule which evaluates whether each column value is null.booleanhasRangeExpectation()Row-level rule which evaluates whether each column value lies between a specified range.booleanhasRegexExpectation()Row-level rule which evaluates whether each column value matches a specified regex.booleanhasRowConditionExpectation()Row-level rule which evaluates whether each row in a table passes the specified condition.booleanhasSetExpectation()Row-level rule which evaluates whether each column value is contained by a specified set.booleanhasStatisticRangeExpectation()Aggregate rule which evaluates whether the column aggregate statistic lies between a specified range.booleanhasTableConditionExpectation()Aggregate rule which evaluates whether the provided expression is true for a table.booleanhasUniquenessExpectation()Row-level rule which evaluates whether each column value is unique.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
hasRangeExpectation
boolean hasRangeExpectation()
Row-level rule which evaluates whether each column value lies between a specified range.
.google.cloud.dataplex.v1.DataQualityRule.RangeExpectation range_expectation = 1;- Returns:
- Whether the rangeExpectation field is set.
-
getRangeExpectation
DataQualityRule.RangeExpectation getRangeExpectation()
Row-level rule which evaluates whether each column value lies between a specified range.
.google.cloud.dataplex.v1.DataQualityRule.RangeExpectation range_expectation = 1;- Returns:
- The rangeExpectation.
-
getRangeExpectationOrBuilder
DataQualityRule.RangeExpectationOrBuilder getRangeExpectationOrBuilder()
Row-level rule which evaluates whether each column value lies between a specified range.
.google.cloud.dataplex.v1.DataQualityRule.RangeExpectation range_expectation = 1;
-
hasNonNullExpectation
boolean hasNonNullExpectation()
Row-level rule which evaluates whether each column value is null.
.google.cloud.dataplex.v1.DataQualityRule.NonNullExpectation non_null_expectation = 2;- Returns:
- Whether the nonNullExpectation field is set.
-
getNonNullExpectation
DataQualityRule.NonNullExpectation getNonNullExpectation()
Row-level rule which evaluates whether each column value is null.
.google.cloud.dataplex.v1.DataQualityRule.NonNullExpectation non_null_expectation = 2;- Returns:
- The nonNullExpectation.
-
getNonNullExpectationOrBuilder
DataQualityRule.NonNullExpectationOrBuilder getNonNullExpectationOrBuilder()
Row-level rule which evaluates whether each column value is null.
.google.cloud.dataplex.v1.DataQualityRule.NonNullExpectation non_null_expectation = 2;
-
hasSetExpectation
boolean hasSetExpectation()
Row-level rule which evaluates whether each column value is contained by a specified set.
.google.cloud.dataplex.v1.DataQualityRule.SetExpectation set_expectation = 3;- Returns:
- Whether the setExpectation field is set.
-
getSetExpectation
DataQualityRule.SetExpectation getSetExpectation()
Row-level rule which evaluates whether each column value is contained by a specified set.
.google.cloud.dataplex.v1.DataQualityRule.SetExpectation set_expectation = 3;- Returns:
- The setExpectation.
-
getSetExpectationOrBuilder
DataQualityRule.SetExpectationOrBuilder getSetExpectationOrBuilder()
Row-level rule which evaluates whether each column value is contained by a specified set.
.google.cloud.dataplex.v1.DataQualityRule.SetExpectation set_expectation = 3;
-
hasRegexExpectation
boolean hasRegexExpectation()
Row-level rule which evaluates whether each column value matches a specified regex.
.google.cloud.dataplex.v1.DataQualityRule.RegexExpectation regex_expectation = 4;- Returns:
- Whether the regexExpectation field is set.
-
getRegexExpectation
DataQualityRule.RegexExpectation getRegexExpectation()
Row-level rule which evaluates whether each column value matches a specified regex.
.google.cloud.dataplex.v1.DataQualityRule.RegexExpectation regex_expectation = 4;- Returns:
- The regexExpectation.
-
getRegexExpectationOrBuilder
DataQualityRule.RegexExpectationOrBuilder getRegexExpectationOrBuilder()
Row-level rule which evaluates whether each column value matches a specified regex.
.google.cloud.dataplex.v1.DataQualityRule.RegexExpectation regex_expectation = 4;
-
hasUniquenessExpectation
boolean hasUniquenessExpectation()
Row-level rule which evaluates whether each column value is unique.
.google.cloud.dataplex.v1.DataQualityRule.UniquenessExpectation uniqueness_expectation = 100;- Returns:
- Whether the uniquenessExpectation field is set.
-
getUniquenessExpectation
DataQualityRule.UniquenessExpectation getUniquenessExpectation()
Row-level rule which evaluates whether each column value is unique.
.google.cloud.dataplex.v1.DataQualityRule.UniquenessExpectation uniqueness_expectation = 100;- Returns:
- The uniquenessExpectation.
-
getUniquenessExpectationOrBuilder
DataQualityRule.UniquenessExpectationOrBuilder getUniquenessExpectationOrBuilder()
Row-level rule which evaluates whether each column value is unique.
.google.cloud.dataplex.v1.DataQualityRule.UniquenessExpectation uniqueness_expectation = 100;
-
hasStatisticRangeExpectation
boolean hasStatisticRangeExpectation()
Aggregate rule which evaluates whether the column aggregate statistic lies between a specified range.
.google.cloud.dataplex.v1.DataQualityRule.StatisticRangeExpectation statistic_range_expectation = 101;- Returns:
- Whether the statisticRangeExpectation field is set.
-
getStatisticRangeExpectation
DataQualityRule.StatisticRangeExpectation getStatisticRangeExpectation()
Aggregate rule which evaluates whether the column aggregate statistic lies between a specified range.
.google.cloud.dataplex.v1.DataQualityRule.StatisticRangeExpectation statistic_range_expectation = 101;- Returns:
- The statisticRangeExpectation.
-
getStatisticRangeExpectationOrBuilder
DataQualityRule.StatisticRangeExpectationOrBuilder getStatisticRangeExpectationOrBuilder()
Aggregate rule which evaluates whether the column aggregate statistic lies between a specified range.
.google.cloud.dataplex.v1.DataQualityRule.StatisticRangeExpectation statistic_range_expectation = 101;
-
hasRowConditionExpectation
boolean hasRowConditionExpectation()
Row-level rule which evaluates whether each row in a table passes the specified condition.
.google.cloud.dataplex.v1.DataQualityRule.RowConditionExpectation row_condition_expectation = 200;- Returns:
- Whether the rowConditionExpectation field is set.
-
getRowConditionExpectation
DataQualityRule.RowConditionExpectation getRowConditionExpectation()
Row-level rule which evaluates whether each row in a table passes the specified condition.
.google.cloud.dataplex.v1.DataQualityRule.RowConditionExpectation row_condition_expectation = 200;- Returns:
- The rowConditionExpectation.
-
getRowConditionExpectationOrBuilder
DataQualityRule.RowConditionExpectationOrBuilder getRowConditionExpectationOrBuilder()
Row-level rule which evaluates whether each row in a table passes the specified condition.
.google.cloud.dataplex.v1.DataQualityRule.RowConditionExpectation row_condition_expectation = 200;
-
hasTableConditionExpectation
boolean hasTableConditionExpectation()
Aggregate rule which evaluates whether the provided expression is true for a table.
.google.cloud.dataplex.v1.DataQualityRule.TableConditionExpectation table_condition_expectation = 201;- Returns:
- Whether the tableConditionExpectation field is set.
-
getTableConditionExpectation
DataQualityRule.TableConditionExpectation getTableConditionExpectation()
Aggregate rule which evaluates whether the provided expression is true for a table.
.google.cloud.dataplex.v1.DataQualityRule.TableConditionExpectation table_condition_expectation = 201;- Returns:
- The tableConditionExpectation.
-
getTableConditionExpectationOrBuilder
DataQualityRule.TableConditionExpectationOrBuilder getTableConditionExpectationOrBuilder()
Aggregate rule which evaluates whether the provided expression is true for a table.
.google.cloud.dataplex.v1.DataQualityRule.TableConditionExpectation table_condition_expectation = 201;
-
getColumn
String getColumn()
Optional. The unnested column which this rule is evaluated against.
string column = 500 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- The column.
-
getColumnBytes
com.google.protobuf.ByteString getColumnBytes()
Optional. The unnested column which this rule is evaluated against.
string column = 500 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- The bytes for column.
-
getIgnoreNull
boolean getIgnoreNull()
Optional. Rows with `null` values will automatically fail a rule, unless `ignore_null` is `true`. In that case, such `null` rows are trivially considered passing. This field is only valid for row-level type rules.
bool ignore_null = 501 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- The ignoreNull.
-
getDimension
String getDimension()
Required. The dimension a rule belongs to. Results are also aggregated at the dimension level. Supported dimensions are **["COMPLETENESS", "ACCURACY", "CONSISTENCY", "VALIDITY", "UNIQUENESS", "INTEGRITY"]**
string dimension = 502 [(.google.api.field_behavior) = REQUIRED];- Returns:
- The dimension.
-
getDimensionBytes
com.google.protobuf.ByteString getDimensionBytes()
Required. The dimension a rule belongs to. Results are also aggregated at the dimension level. Supported dimensions are **["COMPLETENESS", "ACCURACY", "CONSISTENCY", "VALIDITY", "UNIQUENESS", "INTEGRITY"]**
string dimension = 502 [(.google.api.field_behavior) = REQUIRED];- Returns:
- The bytes for dimension.
-
getThreshold
double getThreshold()
Optional. The minimum ratio of **passing_rows / total_rows** required to pass this rule, with a range of [0.0, 1.0]. 0 indicates default value (i.e. 1.0). This field is only valid for row-level type rules.
double threshold = 503 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- The threshold.
-
getName
String getName()
Optional. A mutable name for the rule. * The name must contain only letters (a-z, A-Z), numbers (0-9), or hyphens (-). * The maximum length is 63 characters. * Must start with a letter. * Must end with a number or a letter.
string name = 504 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- The name.
-
getNameBytes
com.google.protobuf.ByteString getNameBytes()
Optional. A mutable name for the rule. * The name must contain only letters (a-z, A-Z), numbers (0-9), or hyphens (-). * The maximum length is 63 characters. * Must start with a letter. * Must end with a number or a letter.
string name = 504 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- The bytes for name.
-
getDescription
String getDescription()
Optional. Description of the rule. * The maximum length is 1,024 characters.
string description = 505 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- The description.
-
getDescriptionBytes
com.google.protobuf.ByteString getDescriptionBytes()
Optional. Description of the rule. * The maximum length is 1,024 characters.
string description = 505 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- The bytes for description.
-
getRuleTypeCase
DataQualityRule.RuleTypeCase getRuleTypeCase()
-
-