@ThreadSafe public class CephfsHadoopUnderFileSystemFactory extends HdfsUnderFileSystemFactory
HdfsUnderFileSystem
.
It caches created HdfsUnderFileSystem
s, using the scheme and authority pair as the key.Constructor and Description |
---|
CephfsHadoopUnderFileSystemFactory() |
Modifier and Type | Method and Description |
---|---|
boolean |
supportsPath(String path)
Gets whether this factory supports the given path and thus whether calling the
UnderFileSystemFactory.create(String, UnderFileSystemConfiguration) can succeed for
this path. |
boolean |
supportsPath(String path,
UnderFileSystemConfiguration conf)
Gets whether this factory supports the given path and thus whether calling the
UnderFileSystemFactory.create(String, UnderFileSystemConfiguration) can succeed for
this path. |
create, getVersion
public boolean supportsPath(String path)
UnderFileSystemFactory
UnderFileSystemFactory.create(String, UnderFileSystemConfiguration)
can succeed for
this path.supportsPath
in interface UnderFileSystemFactory
supportsPath
in class HdfsUnderFileSystemFactory
path
- file pathpublic boolean supportsPath(String path, UnderFileSystemConfiguration conf)
UnderFileSystemFactory
UnderFileSystemFactory.create(String, UnderFileSystemConfiguration)
can succeed for
this path.supportsPath
in interface ExtensionFactory<UnderFileSystem,UnderFileSystemConfiguration>
supportsPath
in interface UnderFileSystemFactory
supportsPath
in class HdfsUnderFileSystemFactory
path
- file pathconf
- configuration object for the UFSCopyright © 2023. All Rights Reserved.