OracleWriteAttributes

class oci.data_connectivity.models.OracleWriteAttributes(**kwargs)

Bases: oci.data_connectivity.models.abstract_write_attribute.AbstractWriteAttribute

Properties to configure when writing to an Oracle Database.

Attributes

MODEL_TYPE_HDFS_WRITE_ATTRIBUTE str(object=’’) -> str
MODEL_TYPE_OBJECT_STORAGE_WRITE_ATTRIBUTE str(object=’’) -> str
MODEL_TYPE_ORACLE_ADWC_WRITE_ATTRIBUTE str(object=’’) -> str
MODEL_TYPE_ORACLE_ATP_WRITE_ATTRIBUTE str(object=’’) -> str
MODEL_TYPE_ORACLE_WRITE_ATTRIBUTE str(object=’’) -> str
batch_size Gets the batch_size of this OracleWriteAttributes.
is_truncate Gets the is_truncate of this OracleWriteAttributes.
isolation_level Gets the isolation_level of this OracleWriteAttributes.
model_type [Required] Gets the model_type of this AbstractWriteAttribute.

Methods

__init__(**kwargs) Initializes a new OracleWriteAttributes 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_HDFS_WRITE_ATTRIBUTE = 'HDFS_WRITE_ATTRIBUTE'
MODEL_TYPE_OBJECT_STORAGE_WRITE_ATTRIBUTE = 'OBJECT_STORAGE_WRITE_ATTRIBUTE'
MODEL_TYPE_ORACLE_ADWC_WRITE_ATTRIBUTE = 'ORACLE_ADWC_WRITE_ATTRIBUTE'
MODEL_TYPE_ORACLE_ATP_WRITE_ATTRIBUTE = 'ORACLE_ATP_WRITE_ATTRIBUTE'
MODEL_TYPE_ORACLE_WRITE_ATTRIBUTE = 'ORACLE_WRITE_ATTRIBUTE'
__init__(**kwargs)

Initializes a new OracleWriteAttributes object with values from keyword arguments. The default value of the model_type attribute of this class is ORACLE_WRITE_ATTRIBUTE 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 OracleWriteAttributes. Allowed values for this property are: “ORACLE_WRITE_ATTRIBUTE”, “ORACLE_ATP_WRITE_ATTRIBUTE”, “ORACLE_ADWC_WRITE_ATTRIBUTE”, “OBJECT_STORAGE_WRITE_ATTRIBUTE”, “HDFS_WRITE_ATTRIBUTE”
  • batch_size (int) – The value to assign to the batch_size property of this OracleWriteAttributes.
  • is_truncate (bool) – The value to assign to the is_truncate property of this OracleWriteAttributes.
  • isolation_level (str) – The value to assign to the isolation_level property of this OracleWriteAttributes.
batch_size

Gets the batch_size of this OracleWriteAttributes. The batch size for writing.

Returns:The batch_size of this OracleWriteAttributes.
Return type:int
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.

is_truncate

Gets the is_truncate of this OracleWriteAttributes. Specifies whether to truncate.

Returns:The is_truncate of this OracleWriteAttributes.
Return type:bool
isolation_level

Gets the isolation_level of this OracleWriteAttributes. Specifies the isolation level.

Returns:The isolation_level of this OracleWriteAttributes.
Return type:str
model_type

[Required] Gets the model_type of this AbstractWriteAttribute. The type of the abstract write attribute.

Allowed values for this property are: “ORACLE_WRITE_ATTRIBUTE”, “ORACLE_ATP_WRITE_ATTRIBUTE”, “ORACLE_ADWC_WRITE_ATTRIBUTE”, “OBJECT_STORAGE_WRITE_ATTRIBUTE”, “HDFS_WRITE_ATTRIBUTE”

Returns:The model_type of this AbstractWriteAttribute.
Return type:str