tBoxv2Output Standard properties
These properties are used to configure tBoxv2Output running in the Standard Job framework.
The Standard tBoxv2Output component belongs to the Cloud family.
The component in this framework is available in all subscription-based Talend products.
Basic settings
Property type |
Either Built-in or Repository.
This drop-down list is not available if you select the Use an existing connection option. |
Use an existing connection |
Select this check box and in the Component List drop-down list, select the desired connection component to reuse the connection details you already defined. |
Schema and Edit schema |
A schema is a row description. It defines the number of fields (columns) to be processed and passed on to the next component. When you create a Spark Job, avoid the reserved word line when naming the fields. Built-In: You create and store the schema locally for this component only. Repository: You have already created the schema and stored it in the Repository. You can reuse it in various projects and Job designs. Click Edit schema to make changes to the schema. If the current schema is of the Repository type, three options are available:
|
Authentication type | Select the authentication type: JWT (short for JSON Web Token) or Developer token. You need to provide the following
parameters in the corresponding fields for the JWT authentication
type.
Information noteNote: To enter the client secret, private key, or private key passphrase, click the
[...] button next to the corresponding field to bring out the
Enter a new password dialog box, enter the key in the text
field, and click OK. Note that you can enter the key either in a
JSON string in the pure password mode or as a Java expression in the
Java mode. You can toggle between the two modes by clicking
switch to Java mode or switch to pure password
mode on the top of the text field.
If you select Developer token from the drop-down list, type in the developer token in the Developer token field. For more information about developer token, see Developer Tokens. The Authentication type drop-down list is available when Use an existing connection is not selected. |
Path to Box folder |
Type in the Box path of the folder where the files to write data to reside. You can also specify the Box path by clicking the [...] button next to this field and navigating to the folder. This option is available when the Get folder by ID option in the Advanced settings view is not selected. |
Box folder ID |
Type in the Box ID of the folder where the files to write data to reside. You can also specify the Box ID by clicking the [...] button next to this field and navigating to the folder. This option is available when the Get folder by ID option in the Advanced settings view is selected. |
File name template |
Type in the file name template for creating the files. |
Content format | Select the format of the files from the drop-down list: CSV, Avro, Excel, or JSON. |
Line separator type |
Select the line separator: Windows type, Linux type, or Other. If you select Other, specify the line separator in the Line separator string field. This option is available if you select CSV from the Content format drop-down list. |
Encoding type |
Select the encoding type from the drop-down list: UTF 8, ISO-8859-15 or Other. If you select Other, specify the encoding in the Custom encoding field. This option is available if you
|
Set header |
Select this option to treat the beginning lines as the header. You can specify the number of lines that will be treated as the header in the Number of lines field. This option is available if you
|
Field separator type |
Select the field separator from the drop-down list. If you select Other, enter the character that will be treated as the separator in the Field separator field. This option is available if you select CSV from the Content format drop-down list. |
Avro configuration |
Type in the Avro schema description string. This field is available if you select Avro from the Content format drop-down list. |
Excel format |
Select the Excel format of the Excel files: Excel 2007, Excel 97, or HTML. This field is available if you select Excel from the Content format drop-down list. |
Sheet name |
Type in the name of the Excel sheet of the Excel files to write data to. This field is available if you select Excel from the Content format drop-down list and select Excel 97 or Excel 2007 from the Excel format drop-down list. |
Set footer |
Select this option to treat the end lines as the footer. You can specify the number of lines that will be treated as the footer in the Number of lines field. This field is available if you select Excel from the Content format drop-down list and select Excel 97 or Excel 2007 from the Excel format drop-down list. |
Advanced settings
tStatCatcher Statistics |
Select this check box to collect log data at the component level. |
Max batch size |
Specify the maximum number of data rows that can be written in a batch. |
Escape character |
Type in the character that will be used as the escape character. |
Quote character |
Type in the character that will be used as the quote character. |
Get folder by ID | Select this option to specify the folder using its Box ID. |
Global Variables
Global Variables |
NB_LINE: the number of rows processed. This is an After variable and it returns an integer. ERROR_MESSAGE: the error message generated by the component when an error occurs. This is an After variable and it returns a string. This variable functions only if the Die on error check box is cleared, if the component has this check box. A Flow variable functions during the execution of a component while an After variable functions after the execution of the component. To fill up a field or expression with a variable, press Ctrl+Space to access the variable list and choose the variable to use from it. For more information about variables, see Using contexts and variables. |
Usage
Usage rule |
This component needs input data from a component connected through a Row > Main link. |