Interface DataQualitySpecOrBuilder (1.49.0)

public interface DataQualitySpecOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getPostScanActions()

public abstract DataQualitySpec.PostScanActions getPostScanActions()

Optional. Actions to take upon job completion.

.google.cloud.dataplex.v1.DataQualitySpec.PostScanActions post_scan_actions = 6 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
DataQualitySpec.PostScanActions

The postScanActions.

getPostScanActionsOrBuilder()

public abstract DataQualitySpec.PostScanActionsOrBuilder getPostScanActionsOrBuilder()

Optional. Actions to take upon job completion.

.google.cloud.dataplex.v1.DataQualitySpec.PostScanActions post_scan_actions = 6 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
DataQualitySpec.PostScanActionsOrBuilder

getRowFilter()

public abstract String getRowFilter()

Optional. A filter applied to all rows in a single DataScan job. The filter needs to be a valid SQL expression for a WHERE clause in BigQuery standard SQL syntax. Example: col1 >= 0 AND col2 < 10

string row_filter = 5 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
String

The rowFilter.

getRowFilterBytes()

public abstract ByteString getRowFilterBytes()

Optional. A filter applied to all rows in a single DataScan job. The filter needs to be a valid SQL expression for a WHERE clause in BigQuery standard SQL syntax. Example: col1 >= 0 AND col2 < 10

string row_filter = 5 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ByteString

The bytes for rowFilter.

getRules(int index)

public abstract DataQualityRule getRules(int index)

Required. The list of rules to evaluate against a data source. At least one rule is required.

repeated .google.cloud.dataplex.v1.DataQualityRule rules = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
index int
Returns
Type Description
DataQualityRule

getRulesCount()

public abstract int getRulesCount()

Required. The list of rules to evaluate against a data source. At least one rule is required.

repeated .google.cloud.dataplex.v1.DataQualityRule rules = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
int

getRulesList()

public abstract List<DataQualityRule> getRulesList()

Required. The list of rules to evaluate against a data source. At least one rule is required.

repeated .google.cloud.dataplex.v1.DataQualityRule rules = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
List<DataQualityRule>

getRulesOrBuilder(int index)

public abstract DataQualityRuleOrBuilder getRulesOrBuilder(int index)

Required. The list of rules to evaluate against a data source. At least one rule is required.

repeated .google.cloud.dataplex.v1.DataQualityRule rules = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
index int
Returns
Type Description
DataQualityRuleOrBuilder

getRulesOrBuilderList()

public abstract List<? extends DataQualityRuleOrBuilder> getRulesOrBuilderList()

Required. The list of rules to evaluate against a data source. At least one rule is required.

repeated .google.cloud.dataplex.v1.DataQualityRule rules = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
List<? extends com.google.cloud.dataplex.v1.DataQualityRuleOrBuilder>

getSamplingPercent()

public abstract float getSamplingPercent()

Optional. The percentage of the records to be selected from the dataset for DataScan.

  • Value can range between 0.0 and 100.0 with up to 3 significant decimal digits.
  • Sampling is not applied if sampling_percent is not specified, 0 or 100.

float sampling_percent = 4 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
float

The samplingPercent.

hasPostScanActions()

public abstract boolean hasPostScanActions()

Optional. Actions to take upon job completion.

.google.cloud.dataplex.v1.DataQualitySpec.PostScanActions post_scan_actions = 6 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

Whether the postScanActions field is set.