Component family |
Databases/eXist |
|
Function |
This component retrieves resources from a remote eXist DB |
|
Purpose |
tEXistGet downloads selected |
|
Basic settings |
Use an existing connection/Component List |
Select this check box and in the Component List click the NoteWhen a Job contains the parent Job and the child Job, Component |
|
URI |
URI of the database you want to connect to. |
|
Collection |
Enter the path to the collection of interest on the database |
|
Driver |
This field is automatically populated with the standard Note Users can enter a different driver, depending on their |
|
Username and |
User authentication information. To enter the password, click the […] button next to the |
|
Local directory |
Path to the file’s destination location. |
|
Files |
Click the plus button to add the lines you want to use as filters:
Filemask: enter the filename or |
Advanced settings |
tStatCatcher Statistics |
Select this check box to gather the job processing metadata at a |
Global Variables |
NB_FILE: the number of files processed. This is an After ERROR_MESSAGE: the error message generated by the A Flow variable functions during the execution of a component while an After variable To fill up a field or expression with a variable, press Ctrl + For further information about variables, see Talend Studio |
|
Usage |
This component is typically used as a single component sub-job but For further information about XQuery, see XQuery. For further information about the XQuery update extension, see |
|
Log4j |
The activity of this component can be logged using the log4j feature. For more information on this feature, see Talend Studio User For more information on the log4j logging levels, see the Apache documentation at http://logging.apache.org/log4j/1.2/apidocs/org/apache/log4j/Level.html. |
|
Limitation |
Due to license incompatibility, one or more JARs required to use this component are not |
This is a single-component Job that retrieves data from a remote eXist DB server and
download the data to a defined local directory.
This simple Job requires one component: tEXistGet.
-
Drop the tEXistGet component from the
Palette into the design workspace. -
Double-click the tEXistGet component to open
the Component view and define the properties in its Basic
settings view. -
Fill in the URI field with the URI of the
eXist database you want to connect to.In this scenario, the URI is
xmldb:exist://192.168.0.165:8080/exist/xmlrpc. Note
that the URI used in this use case is for demonstration purposes only and is not
an active address. -
Fill in the Collection field with the path
to the collection of interest on the database server,
/db/talend in this scenario. -
Fill in the Driver field with the driver for
the XML database, org.exist.xmldb.DatabaseImpl in this
scenario. -
Fill in the Username and Password fields by typing in
admin and talend respectively in
this scenario. -
Click the three-dot button next to the Local
directory field to set a path for saving the XML file downloaded
from the remote database server.In this scenario, set the path to your desktop, for example
C:/Documents and
Settings/galano/Desktop/ExistGet. -
In the Files field, click the plus button to
add a new line in the Filemask area, and fill
it with a complete file name to retrieve data from a particular file on the
server, or a filemask to retrieve data from a set of files. In this scenario,
fill in dictionary_en.xml. -
Save your Job and press F6 to execute
it.The XML file dictionary_en.xml is retrieved and
downloaded to the defined local directory.