| 739 | HadoopFileSystem::~HadoopFileSystem() {} |
| 740 | |
| 741 | Result<std::shared_ptr<HadoopFileSystem>> HadoopFileSystem::Make( |
| 742 | const HdfsOptions& options, const io::IOContext& io_context) { |
| 743 | std::shared_ptr<HadoopFileSystem> ptr(new HadoopFileSystem(options, io_context)); |
| 744 | RETURN_NOT_OK(ptr->impl_->Init()); |
| 745 | return ptr; |
| 746 | } |
| 747 | |
| 748 | Result<FileInfo> HadoopFileSystem::GetFileInfo(const std::string& path) { |
| 749 | return impl_->GetFileInfo(path); |