Double-click tMongoDBGridFSProperties to open its
Select the Use existing connection check box
and from the Connection list, select the
component in which the MongoDB connection to be used is defined.
In the Bucket field, enter the bucket in
which the files to be used are stored. In this example, it is talend_channel/61.
From the Query type list, select the approach
you want to use to select the files about which you need to extract the
metadata. In this example, select Filename to
use the filename attribute of each GridFS
file for query.
In the Filename field, press Ctrl + Space to display the variable list and choose the
variable to be used. In this example, select tMongoDBGridFSList.CURRENT_FILENAME from the list. Then the
expression to use the CURRENT_FILENAME
variable is automatically added.
This allows tMongoDBGridFSProperties to read
each file name returned by tMongoDBGridFSList.