Package com.google.cloud.dataplex.v1
Interface DataQualitySpecOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
DataQualitySpec
,DataQualitySpec.Builder
public interface DataQualitySpecOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description DataQualitySpec.PostScanActions
getPostScanActions()
Optional.DataQualitySpec.PostScanActionsOrBuilder
getPostScanActionsOrBuilder()
Optional.String
getRowFilter()
Optional.com.google.protobuf.ByteString
getRowFilterBytes()
Optional.DataQualityRule
getRules(int index)
Required.int
getRulesCount()
Required.List<DataQualityRule>
getRulesList()
Required.DataQualityRuleOrBuilder
getRulesOrBuilder(int index)
Required.List<? extends DataQualityRuleOrBuilder>
getRulesOrBuilderList()
Required.float
getSamplingPercent()
Optional.boolean
hasPostScanActions()
Optional.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
getRulesList
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];
-
getRules
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];
-
getRulesCount
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];
-
getRulesOrBuilderList
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];
-
getRulesOrBuilder
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];
-
getSamplingPercent
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:
- The samplingPercent.
-
getRowFilter
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:
- The rowFilter.
-
getRowFilterBytes
com.google.protobuf.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:
- The bytes for rowFilter.
-
hasPostScanActions
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:
- Whether the postScanActions field is set.
-
getPostScanActions
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:
- The postScanActions.
-
getPostScanActionsOrBuilder
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];
-
-