TextFormat Class
The data stored in text format.
Constructor
TextFormat(*args: Any, **kwargs: Any)
Variables
| Name | Description |
|---|---|
|
serializer
|
Serializer. Type: string (or Expression with resultType string). |
|
deserializer
|
Deserializer. Type: string (or Expression with resultType string). |
|
column_delimiter
|
The column delimiter. Type: string (or Expression with resultType string). |
|
row_delimiter
|
The row delimiter. Type: string (or Expression with resultType string). |
|
escape_char
|
The escape character. Type: string (or Expression with resultType string). |
|
quote_char
|
The quote character. Type: string (or Expression with resultType string). |
|
null_value
|
The null value string. Type: string (or Expression with resultType string). |
|
encoding_name
|
The code page name of the preferred encoding. If miss, the default value is ΓÇ£utf-8ΓÇ¥, unless BOM denotes another Unicode encoding. Refer to the ΓÇ£NameΓÇ¥ column of the table in the following link to set supported values: https://msdn.microsoft.com/library/system.text.encoding.aspx. Type: string (or Expression with resultType string). |
|
treat_empty_as_null
|
Treat empty column values in the text file as null. The default value is true. Type: boolean (or Expression with resultType boolean). |
|
skip_line_count
|
The number of lines/rows to be skipped when parsing text files. The default value is 0. Type: integer (or Expression with resultType integer). |
|
first_row_as_header
|
When used as input, treat the first row of data as headers. When used as output,write the headers into the output as the first row of data. The default value is false. Type: boolean (or Expression with resultType boolean). |
|
type
|
Type of dataset storage format. Required. Default value is "TextFormat". |
Attributes
column_delimiter
string (or Expression with resultType string).
column_delimiter: Any | None
encoding_name
The code page name of the preferred encoding. If miss, the default value is ΓÇ£utf-8ΓÇ¥, unless BOM denotes another Unicode encoding. Refer to the ΓÇ£NameΓÇ¥ column of the table in the following link to set supported values: https://msdn.microsoft.com/library/system.text.encoding.aspx. Type: string (or Expression with resultType string).
encoding_name: Any | None
escape_char
string (or Expression with resultType string).
escape_char: Any | None
first_row_as_header
When used as input, treat the first row of data as headers. When used as output,write the headers into the output as the first row of data. The default value is false. Type: boolean (or Expression with resultType boolean).
first_row_as_header: Any | None
null_value
string (or Expression with resultType string).
null_value: Any | None
quote_char
string (or Expression with resultType string).
quote_char: Any | None
row_delimiter
string (or Expression with resultType string).
row_delimiter: Any | None
skip_line_count
The number of lines/rows to be skipped when parsing text files. The default value is 0. Type: integer (or Expression with resultType integer).
skip_line_count: Any | None
treat_empty_as_null
boolean (or Expression with resultType boolean).
treat_empty_as_null: Any | None
type
Type of dataset storage format. Required. Default value is "TextFormat".
type: Literal['TextFormat']