gpt4 book ai didi

talend - 如何在 Talend 中使用 tFileExist 组件?

转载 作者:行者123 更新时间:2023-12-04 09:11:17 26 4
gpt4 key购买 nike

使用 Talend,我想验证是否存在名为 ListePS.xls 的文件在我的 D:/做一些治疗别的没什么。

如何检查 Talend 中是否存在文件?

最佳答案

您必须使用组件 tFileExist 有两个输出 IF:

 ((Boolean) globalMap.get ("tFileExist_1_EXISTS")) for the case 1(File existence)
! ((Boolean) globalMap.get ("tFileExist_1_EXISTS")) for case 2 (non-existence of file)

关于talend - 如何在 Talend 中使用 tFileExist 组件?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/14456256/

26 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com