- 博客(1)
- 收藏
- 关注
原创 globStatus 使用小结
globStatus(Path pathPattern)Return all the files that match filePattern and are not checksum files.大体上说就是返回所有匹配到的文件路径。个人使用心得:该 API 支持使用 Shell 通配符来匹配文件,若需要对文件进行筛选,可以在查出来文件路径后进行 filter。fileFs.globStatus(new Path(regexHdfsPath)).map(_.getPath.toString).
2020-12-20 15:25:31 502 1
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人