私信 访问主页
weixin_39562234 2021-01-11 07:18 首页 开源项目 [BEAM-59] Add FileSystems#matchNewResourceThe new FileSystems API needs a way to generate a ResourceId for aresource that does not exist. This does not come up in sources, becausewe typically are just matching existing files. However, sinks need theability to reference a new directory (say, in order to create it).
Couldn t think of anything better than a simple function that says treat this string as a full resource path with the specified type ,which is what FileSystems#matchNewResource is.
该提问来源于开源项目 apache/beam
点赞 写回答 收藏 复制链接分享 删除 再等等 结题 再想想 6条回答私信 访问主页
weixin_39629969 2月前Changes Unknown when pulling cf85719c6d54f9523185c3b9e297242238c477b8 on dhalperi:filesystem-matchnewresource into on apache:master.
点赞 评论 复制链接分享私信 访问主页
weixin_39989222 2月前Update the TODO / documentation https://github.com/apache/beam/blob/master/sdks/java/core/src/main/java/org/apache/beam/sdk/io/fs/ResourceId.java#L30
点赞 评论 复制链接分享私信 访问主页
weixin_39629969 2月前Coverage decreased (-0.003%) to 69.831% when pulling 12e6d9014c03a567bfa286a7c1c56b519aae9650 on dhalperi:filesystem-matchnewresource into b82cd2446fa681576f83bae0fc2bdd1f03be5e7e on apache:master.
点赞 评论 复制链接分享私信 访问主页
weixin_39629969 2月前Coverage decreased (-0.02%) to 69.813% when pulling 12e6d9014c03a567bfa286a7c1c56b519aae9650 on dhalperi:filesystem-matchnewresource into b82cd2446fa681576f83bae0fc2bdd1f03be5e7e on apache:master.
点赞 评论 复制链接分享私信 访问主页
weixin_39629969 2月前Coverage decreased (-0.006%) to 69.827% when pulling 12e6d9014c03a567bfa286a7c1c56b519aae9650 on dhalperi:filesystem-matchnewresource into b82cd2446fa681576f83bae0fc2bdd1f03be5e7e on apache:master.
点赞 评论 复制链接分享私信 访问主页
weixin_39562234 2月前R:
CC:
本文链接: http://newresource.immuno-online.com/view-717722.html