ObjectStorageWriteAttributes¶
-
class
oci.data_connectivity.models.
ObjectStorageWriteAttributes
(**kwargs)¶ Bases:
oci.data_connectivity.models.abstract_write_attribute.AbstractWriteAttribute
Properties to configure writing to Object Storage.
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 model_type
[Required] Gets the model_type of this AbstractWriteAttribute. write_to_single_file
Gets the write_to_single_file of this ObjectStorageWriteAttributes. Methods
__init__
(**kwargs)Initializes a new ObjectStorageWriteAttributes 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 ObjectStorageWriteAttributes object with values from keyword arguments. The default value of the
model_type
attribute of this class isOBJECT_STORAGE_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 ObjectStorageWriteAttributes. Allowed values for this property are: “ORACLE_WRITE_ATTRIBUTE”, “ORACLE_ATP_WRITE_ATTRIBUTE”, “ORACLE_ADWC_WRITE_ATTRIBUTE”, “OBJECT_STORAGE_WRITE_ATTRIBUTE”, “HDFS_WRITE_ATTRIBUTE”
- write_to_single_file (bool) – The value to assign to the write_to_single_file property of this ObjectStorageWriteAttributes.
-
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.
-
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
-
write_to_single_file
¶ Gets the write_to_single_file of this ObjectStorageWriteAttributes. Specifies whether to write output to single-file or not.
Returns: The write_to_single_file of this ObjectStorageWriteAttributes. Return type: bool
-