tSambaList Standard properties
These properties are used to configure tSambaList running in the Standard Job framework.
The Standard tSambaList component belongs to the Internet family.
The component in this framework is available in all subscription-based Talend products.
Basic settings
Property Type |
Select the way the connection details will be set.
This option is not available when you select the Use an existing connection option and select a component from the Component List drop-down list. |
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. Information noteNote: When a Job contains the parent Job and the child Job, do the following if you
want to share an existing connection between the parent Job and the child Job (for example,
to share the connection created by the parent Job with the child Job).
For an example about how to share a database connection across Job levels, see Sharing a database connection. |
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.
Click Edit schema to make changes to the schema. If the current schema is of the Repository type, three options are available:
Click Sync columns to retrieve the schema from the previous component connected in the Job. |
Guess schema |
Click this button to generate the schema using the following columns.
|
Host |
The IP address or hostname of the Samba host. This field is not available if you select the Use an existing connection option. |
Username and Password |
Enter the authentication information required to access the Samba host. To enter the password, click the [...] button
next to the Password field to bring out the Enter a new
password dialog box, enter the password in the text field, and click
OK. Note that you can enter the password 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.
Information noteNote:
These two fields are not available if you select the Use an existing connection option. |
Domain |
Enter the Samba host domain name. This field is not available if you select the Use an existing connection option. |
Share directory |
Enter the share name of the shared directory where the desired directory resides. The shared directory will be the parent directory of the desired directory. |
Remote path |
Enter the relative path to the directory whose files will be listed. |
Includes subdirectories |
Select this option to also list the files under all the subdirectories of the directory specified by the Remote path field. |
File mask |
Add a line by clicking the plus button on the bottom and type in a file mask in the line to filter the files to be listed. You can enter multiple file masks by adding a line for each of the file masks. |
Die on error |
Select the check box to stop the execution of the Job when an error occurs. |
Advanced settings
tStatCatcher Statistics |
Select this check box to gather the Job processing metadata at the Job level as well as at each component level. |
Global Variables
ERROR_MESSAGE |
The error message generated by the component when an error occurs. This is an After variable and it returns a string. |
NB_LINE |
The number of rows processed. This is an After variable and it returns an integer. |
Usage
Usage rule |
This component passes file information to the subsequent component through a Row > Main connection. It can also be used to trigger other components or subJobs. |