DataFormat

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

Bases: object

The data format object.

Attributes

TYPE_AVRO A constant which can be used with the type property of a DataFormat.
TYPE_CSV A constant which can be used with the type property of a DataFormat.
TYPE_JSON A constant which can be used with the type property of a DataFormat.
TYPE_ORC A constant which can be used with the type property of a DataFormat.
TYPE_PARQUET A constant which can be used with the type property of a DataFormat.
TYPE_XML A constant which can be used with the type property of a DataFormat.
format_attribute Gets the format_attribute of this DataFormat.
type Gets the type of this DataFormat.

Methods

__init__(**kwargs) Initializes a new DataFormat object with values from keyword arguments.
TYPE_AVRO = 'AVRO'

A constant which can be used with the type property of a DataFormat. This constant has a value of “AVRO”

TYPE_CSV = 'CSV'

A constant which can be used with the type property of a DataFormat. This constant has a value of “CSV”

TYPE_JSON = 'JSON'

A constant which can be used with the type property of a DataFormat. This constant has a value of “JSON”

TYPE_ORC = 'ORC'

A constant which can be used with the type property of a DataFormat. This constant has a value of “ORC”

TYPE_PARQUET = 'PARQUET'

A constant which can be used with the type property of a DataFormat. This constant has a value of “PARQUET”

TYPE_XML = 'XML'

A constant which can be used with the type property of a DataFormat. This constant has a value of “XML”

__init__(**kwargs)

Initializes a new DataFormat object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):

Parameters:
  • format_attribute (oci.data_integration.models.AbstractFormatAttribute) – The value to assign to the format_attribute property of this DataFormat.
  • type (str) – The value to assign to the type property of this DataFormat. Allowed values for this property are: “XML”, “JSON”, “CSV”, “ORC”, “PARQUET”, “AVRO”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
format_attribute

Gets the format_attribute of this DataFormat.

Returns:The format_attribute of this DataFormat.
Return type:oci.data_integration.models.AbstractFormatAttribute
type

Gets the type of this DataFormat. type

Allowed values for this property are: “XML”, “JSON”, “CSV”, “ORC”, “PARQUET”, “AVRO”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.

Returns:The type of this DataFormat.
Return type:str