KeyRangePartitionConfig

class oci.data_integration.models.KeyRangePartitionConfig(**kwargs)

Bases: oci.data_integration.models.partition_config.PartitionConfig

The information about key range.

Attributes

MODEL_TYPE_KEYRANGEPARTITIONCONFIG str(object=’’) -> str
key_range Gets the key_range of this KeyRangePartitionConfig.
model_type [Required] Gets the model_type of this PartitionConfig.
partition_number Gets the partition_number of this KeyRangePartitionConfig.

Methods

__init__(**kwargs) Initializes a new KeyRangePartitionConfig 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.
MODEL_TYPE_KEYRANGEPARTITIONCONFIG = 'KEYRANGEPARTITIONCONFIG'
__init__(**kwargs)

Initializes a new KeyRangePartitionConfig object with values from keyword arguments. The default value of the model_type attribute of this class is KEYRANGEPARTITIONCONFIG and it should not be changed. The following keyword arguments are supported (corresponding to the getters/setters of this class):

Parameters:
  • model_type (str) – The value to assign to the model_type property of this KeyRangePartitionConfig. Allowed values for this property are: “KEYRANGEPARTITIONCONFIG”
  • partition_number (int) – The value to assign to the partition_number property of this KeyRangePartitionConfig.
  • key_range (oci.data_integration.models.KeyRange) – The value to assign to the key_range property of this KeyRangePartitionConfig.
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.

key_range

Gets the key_range of this KeyRangePartitionConfig.

Returns:The key_range of this KeyRangePartitionConfig.
Return type:oci.data_integration.models.KeyRange
model_type

[Required] Gets the model_type of this PartitionConfig. The type of partition configuration.

Allowed values for this property are: “KEYRANGEPARTITIONCONFIG”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.

Returns:The model_type of this PartitionConfig.
Return type:str
partition_number

Gets the partition_number of this KeyRangePartitionConfig. The partition number for the key range.

Returns:The partition_number of this KeyRangePartitionConfig.
Return type:int