@ThreadSafe public class HdfsUnderFileSystemFactory extends java.lang.Object implements UnderFileSystemFactory
HdfsUnderFileSystem.
It caches created HdfsUnderFileSystems, using the scheme and authority pair as the key.| Constructor and Description |
|---|
HdfsUnderFileSystemFactory()
Constructs a new
HdfsUnderFileSystemFactory. |
| Modifier and Type | Method and Description |
|---|---|
UnderFileSystem |
create(java.lang.String path,
UnderFileSystemConfiguration conf) |
java.lang.String |
getVersion() |
boolean |
supportsPath(java.lang.String path) |
boolean |
supportsPath(java.lang.String path,
UnderFileSystemConfiguration conf) |
public HdfsUnderFileSystemFactory()
HdfsUnderFileSystemFactory.public UnderFileSystem create(java.lang.String path, UnderFileSystemConfiguration conf)
create in interface ExtensionFactory<UnderFileSystem,UnderFileSystemConfiguration>create in interface UnderFileSystemFactorypublic boolean supportsPath(java.lang.String path)
supportsPath in interface UnderFileSystemFactorypublic boolean supportsPath(java.lang.String path,
UnderFileSystemConfiguration conf)
supportsPath in interface ExtensionFactory<UnderFileSystem,UnderFileSystemConfiguration>supportsPath in interface UnderFileSystemFactorypublic java.lang.String getVersion()
getVersion in interface UnderFileSystemFactoryCopyright © 2023. All Rights Reserved.