PartitionSubsetRuleEntry

class oci.data_safe.models.PartitionSubsetRuleEntry(**kwargs)

Bases: oci.data_safe.models.subset_rule_entry.SubsetRuleEntry

Defines a subsetting rule based on partitions and sub-partitions to filter rows

Attributes

RULE_TYPE_CONDITION str(object=’’) -> str
RULE_TYPE_PARTITION str(object=’’) -> str
RULE_TYPE_PERCENT str(object=’’) -> str
partitions_list Gets the partitions_list of this PartitionSubsetRuleEntry.
rule_type [Required] Gets the rule_type of this SubsetRuleEntry.
sub_partitions_list Gets the sub_partitions_list of this PartitionSubsetRuleEntry.

Methods

__init__(**kwargs) Initializes a new PartitionSubsetRuleEntry 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 PartitionSubsetRuleEntry object with values from keyword arguments. The default value of the rule_type attribute of this class is PARTITION and 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 PartitionSubsetRuleEntry. Allowed values for this property are: “PERCENT”, “CONDITION”, “PARTITION”
  • partitions_list (list[str]) – The value to assign to the partitions_list property of this PartitionSubsetRuleEntry.
  • sub_partitions_list (list[str]) – The value to assign to the sub_partitions_list property of this PartitionSubsetRuleEntry.
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.

partitions_list

Gets the partitions_list of this PartitionSubsetRuleEntry. A list of partition names which are to be part of the subset data

Returns:The partitions_list of this PartitionSubsetRuleEntry.
Return type:list[str]
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
sub_partitions_list

Gets the sub_partitions_list of this PartitionSubsetRuleEntry. A list of sub-partition names which are to be part of the subset data. The sub-partition names should have the partition name also, separated by a dot

Returns:The sub_partitions_list of this PartitionSubsetRuleEntry.
Return type:list[str]