forked from docs/doc-exports
Reviewed-by: Pruthi, Vineet <vineet.pruthi@t-systems.com> Co-authored-by: Xiong, Chen Xiao <chenxiaoxiong@huawei.com> Co-committed-by: Xiong, Chen Xiao <chenxiaoxiong@huawei.com>
8.4 KiB
8.4 KiB
From MongoDB/DDS
Sample JSON File
"from-config-values": { "configs": [ { "inputs": [ { "name": "fromJobConfig.database", "value": "cdm" }, { "name": "fromJobConfig.collectionName", "value": "rf_from" }, { "name": "fromJobConfig.columnList", "value": "TINYTEST&SMALLTEST&INTTEST&INTEGERTEST&BIGINTTEST&FLOATTEST" }, { "name": "fromJobConfig.isBatchMigration", "value": "false" }, { "name": "fromJobConfig.filters", "value": "{'last_name': 'Smith'}" } ], "name": "fromJobConfig" } ] }
Parameter Description
Parameter |
Mandatory |
Type |
Description |
---|---|---|---|
fromJobConfig.database |
Yes |
String |
Name of the MongoDB/DDS database |
fromJobConfig.collectionName |
Yes |
String |
Name of the MongoDB/DDS collection |
fromJobConfig.columnList |
No |
String |
List of fields to be extracted. Use & to separate field names. For example, id&gid&name. |
fromJobConfig.isBatchMigration |
No |
Boolean |
Whether to migrate all data in the database |
fromJobConfig.filters |
No |
String |
Filter condition for files. CDM migrates only the data that meets the filter condition. Examples:
|
Parent topic: Source Job Parameters