DelimitedFileTypeMetadata¶
-
class
oci.data_labeling_service.models.
DelimitedFileTypeMetadata
(**kwargs)¶ Bases:
oci.data_labeling_service.models.text_file_type_metadata.TextFileTypeMetadata
Metadata of delimited files.
Attributes
FORMAT_TYPE_DELIMITED
str(object=’’) -> str column_delimiter
Gets the column_delimiter of this DelimitedFileTypeMetadata. column_index
[Required] Gets the column_index of this DelimitedFileTypeMetadata. column_name
Gets the column_name of this DelimitedFileTypeMetadata. escape_character
Gets the escape_character of this DelimitedFileTypeMetadata. format_type
[Required] Gets the format_type of this TextFileTypeMetadata. line_delimiter
Gets the line_delimiter of this DelimitedFileTypeMetadata. Methods
__init__
(**kwargs)Initializes a new DelimitedFileTypeMetadata 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. -
FORMAT_TYPE_DELIMITED
= 'DELIMITED'¶
-
__init__
(**kwargs)¶ Initializes a new DelimitedFileTypeMetadata object with values from keyword arguments. The default value of the
format_type
attribute of this class isDELIMITED
and it should not be changed. The following keyword arguments are supported (corresponding to the getters/setters of this class):Parameters: - format_type (str) – The value to assign to the format_type property of this DelimitedFileTypeMetadata. Allowed values for this property are: “DELIMITED”
- column_name (str) – The value to assign to the column_name property of this DelimitedFileTypeMetadata.
- column_index (int) – The value to assign to the column_index property of this DelimitedFileTypeMetadata.
- column_delimiter (str) – The value to assign to the column_delimiter property of this DelimitedFileTypeMetadata.
- line_delimiter (str) – The value to assign to the line_delimiter property of this DelimitedFileTypeMetadata.
- escape_character (str) – The value to assign to the escape_character property of this DelimitedFileTypeMetadata.
-
column_delimiter
¶ Gets the column_delimiter of this DelimitedFileTypeMetadata. A column delimiter
Returns: The column_delimiter of this DelimitedFileTypeMetadata. Return type: str
-
column_index
¶ [Required] Gets the column_index of this DelimitedFileTypeMetadata. The index of a selected column. This is a zero-based index.
Returns: The column_index of this DelimitedFileTypeMetadata. Return type: int
-
column_name
¶ Gets the column_name of this DelimitedFileTypeMetadata. The name of a selected column.
Returns: The column_name of this DelimitedFileTypeMetadata. Return type: str
-
escape_character
¶ Gets the escape_character of this DelimitedFileTypeMetadata. An escape character.
Returns: The escape_character of this DelimitedFileTypeMetadata. Return type: str
-
format_type
¶ [Required] Gets the format_type of this TextFileTypeMetadata. It defines the format type of text files.
Allowed values for this property are: “DELIMITED”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
Returns: The format_type of this TextFileTypeMetadata. Return type: str
-
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.
-
line_delimiter
¶ Gets the line_delimiter of this DelimitedFileTypeMetadata. A line delimiter.
Returns: The line_delimiter of this DelimitedFileTypeMetadata. Return type: str
-