Extracting file metadata - 7.3

MongoDB

Version
7.3
Language
English
Product
Talend Big Data
Talend Big Data Platform
Talend Data Fabric
Talend Real-Time Big Data Platform
Module
Talend Studio
Content
Data Governance > Third-party systems > NoSQL components > MongoDB components
Data Quality and Preparation > Third-party systems > NoSQL components > MongoDB components
Design and Development > Third-party systems > NoSQL components > MongoDB components
Last publication date
2024-02-21

Procedure

  1. Double-click tMongoDBGridFSProperties to open its Component view.
  2. 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.
  3. In the Bucket field, enter the bucket in which the files to be used are stored. In this example, it is talend_channel/61.
  4. 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.
  5. 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.