ConditionSubsetRuleEntry¶
-
class
oci.data_safe.models.ConditionSubsetRuleEntry(**kwargs)¶ Bases:
oci.data_safe.models.subset_rule_entry.SubsetRuleEntryDefines a subsetting rule based on a SQL condition to filter rows
Attributes
RULE_TYPE_CONDITIONstr(object=’’) -> str RULE_TYPE_PARTITIONstr(object=’’) -> str RULE_TYPE_PERCENTstr(object=’’) -> str condition[Required] Gets the condition of this ConditionSubsetRuleEntry. rule_type[Required] Gets the rule_type of this SubsetRuleEntry. Methods
__init__(**kwargs)Initializes a new ConditionSubsetRuleEntry object with values from keyword arguments. get_subtype(object_dictionary)Given the hash representation of a subtype of this class, use the info in the hash to return the class of the subtype. -
RULE_TYPE_CONDITION= 'CONDITION'¶
-
RULE_TYPE_PARTITION= 'PARTITION'¶
-
RULE_TYPE_PERCENT= 'PERCENT'¶
-
__init__(**kwargs)¶ Initializes a new ConditionSubsetRuleEntry object with values from keyword arguments. The default value of the
rule_typeattribute of this class isCONDITIONand it should not be changed. The following keyword arguments are supported (corresponding to the getters/setters of this class):Parameters: - rule_type (str) – The value to assign to the rule_type property of this ConditionSubsetRuleEntry. Allowed values for this property are: “PERCENT”, “CONDITION”, “PARTITION”
- condition (str) – The value to assign to the condition property of this ConditionSubsetRuleEntry.
-
condition¶ [Required] Gets the condition of this ConditionSubsetRuleEntry. The SQL WHERE clause condition used to filter rows for the subset
Returns: The condition of this ConditionSubsetRuleEntry. Return type: str
-
static
get_subtype(object_dictionary)¶ Given the hash representation of a subtype of this class, use the info in the hash to return the class of the subtype.
-
rule_type¶ [Required] Gets the rule_type of this SubsetRuleEntry. type of subset rule
Allowed values for this property are: “PERCENT”, “CONDITION”, “PARTITION”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
Returns: The rule_type of this SubsetRuleEntry. Return type: str
-