[英]Read files on hadoop with java nio FileChannel
For this, you don't need to pass filesystem in FileChannel.为此,您不需要在 FileChannel 中传递文件系统。 You can extend
FileChannel
to accept the given filesystem.您可以扩展
FileChannel
以接受给定的文件系统。 You can go through this repo to read more about it.你可以通过这个 repo阅读更多关于它的信息。 You can see in this given file how FileChannel is extended.
您可以在这个给定的文件中看到 FileChannel 是如何扩展的。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.