For details on use of variables, refer to “Variables”.
| Item name | Required/Optional | Use of variables | Description | Remarks |
|---|---|---|---|---|
| Name | Required | Not available | Enter the name to show on the script canvas. | |
| Input data | Required | Not available | Select a component on the script canvas. |
| Item name | Required/Optional | Use of variables | Description | Remarks |
|---|---|---|---|---|
| File | Required | Available | Enter the file path of CSV or TSV.
You can click [Browse] button to launch file chooser and find the file. |
|
| Delimiter mode | Required | Not available | Select a method to specify delimiter.
|
|
| Select from list/Delimiter | Optional | Not available | Select a delimiter character.
|
|
| Enter directly/Delimiter | Optional | Available | Enter one character for delimiter. |
|
| Enter character code/Delimiter | Optional | Available | Enter the character code.
The character code is converted with the encoding specified in [Encoding]. You can enter the code as octal (with prefix "0" <number 0>), decimal (without prefix), and hexadecimal (with prefix "0x" <alphabet x with numeric 0> or "#"). When padding is in multi-byte string, enter it by separating with comma. Example: 0x10,0x13 |
|
| Column list | Optional | - | Specify columns.
Each column can be operated with the following buttons.
|
|
| Column list/Column name | Required | Available | Enter the column name.
The first row of the file specified in [File] can be set as column names using [Update column list] property action. |
|
| Column list/Quotation | Optional | Not available | Select whether or not to enclose each column with double quotations.
|
| Item name | Description | Remarks |
|---|---|---|
| Preview | When preview is clicked, the contents of the file specified in [File] is displayed. |
|
| Update column list | The first row of the file specified in [File] is set as column names. |
|
| Read column names from first row of file | Select the file in file chooser, and the first row of that file is set as column names. | |
| Read the number of columns from file | Select the file in file chooser, and the number of columns of that file is set as the number of column names. |
| Item name | Required/Optional | Use of variables | Description | Remarks |
|---|---|---|---|---|
| Encoding | Required | Available | Select or enter an encoding for the file.
When you enter encoding, specify one of the encodings supported in Java SE Runtime Environment 8. For more details, refer to “Supported Encodings” (http://docs.oracle.com/javase/8/docs/technotes/guides/intl/encoding.doc.html).
|
|
| Newline code | Required | Not available | Select a newline code.
|
|
| Overwrite | Optional | Not available | Select whether or not to overwrite when the specified file exists.
|
|
| Append | Optional | Not available | Select whether to append or overwrite the file when the specified file exists.
|
|
| Insert column names into first row | Optional | Not available | Select whether or not to insert column names into the first row of the specified file.
|
|
| Do not insert column names when the file exists | Optional | Not available | Select whether or not to insert column names in the first row of the result data when the specified file exists.
|
|
| Item name | Required/Optional | Use of variables | Description | Remarks |
|---|---|---|---|---|
| Execute transaction processing | Required | Not available | Select whether or not to execute transaction processing.
Refer to “Transaction of file category adapters” for more details.
|
| Item name | Required/Optional | Use of variables | Description | Remarks |
|---|---|---|---|---|
| Comment | Required | Not available | You can write a short description of this adapter. The description will be reflected in the specifications. |
Refer to “Schema of table model type” for more details.
Refer to “Edit Schema” for more details.
Refer to “Parallel Stream Processing” for more details.
| Component variable name | Description | Remarks |
|---|---|---|
| count | The number of written data is stored. |
|
| message_category | When an error occurs, the corresponding message code's category is stored. |
|
| message_code | When an error occurs, the corresponding message code is stored. |
|
| message_level | When an error occurs, the corresponding message code's severity is stored. |
|
| error_type | When an error occurs, the error type is stored. |
|
| error_message | When an error occurs, the error message is stored. |
|
| error_trace | When an error occurs, the error's trace information is stored. |
|
| Data value | Notation |
|---|---|
| 1,000 yen | “1,000 yen" |
| AB(newline)CD | “AB(newline)CD” |
| He says "I,m fine" | “He says ""I,m fine""" |
| Exception name | Cause | Solution |
|---|---|---|
| InputDataNotFoundException | [Input data] is not specified. | Specify [Input data] or draw data flow. |
| InvalidPropertyConfigurationException
<property name> is not specified. |
[<property name>] is not specified. | Specify [<property name>]. |
| InvalidPropertyConfigurationException
Invalid delimiter is specified. |
Invalid character is entered in [Delimiter]. | Enter the valid character in [Delimiter]. |
| FileIsDirectoryException | The path entered in [File] is directory. | Enter file path in [File]. |
| FileAlreadyExistedException | The specified file does not exist in [File]. | Change the file name of [File], or check [Overwrite] of [Write settings]. |
| FileIsLockedException | The file specified in [File] is being locked. | Unlock from Explorer or CLI. |
| java.io.FileNotFoundException
Some other process is using the file. |
File specified in [File] is being used by some other process. | Make sure that it is not being used by some other process. |
| java.io.UnsupportedEncodingException | Unsupported encoding is specified in [Encoding]. | Specify an encoding supported in Java SE Runtime Environment 8.
For more details, refer to “Supported Encodings” (http://docs.oracle.com/javase/8/docs/technotes/guides/intl/encoding.doc.html). |