public interface UnderFileSystemFactory
| Modifier and Type | Method and Description |
|---|---|
UnderFileSystem |
create(String path,
TachyonConf tachyonConf,
Object ufsConf)
Creates a new client for accessing the given path
|
boolean |
supportsPath(String path,
TachyonConf tachyonConf)
Gets whether this factory supports the given path and thus whether calling the
create(String, TachyonConf, Object) can succeed for this path |
UnderFileSystem create(String path, TachyonConf tachyonConf, Object ufsConf)
path - File pathtachyonConf - Tachyon configurationufsConf - Optional configuration object for the UFS, may be nullIllegalArgumentException - Thrown if this factory does not support clients for the given
path or if the configuration provided is insufficient to create a clientboolean supportsPath(String path, TachyonConf tachyonConf)
create(String, TachyonConf, Object) can succeed for this pathpath - File pathtachyonConf - Tachyon configurationCopyright © 2015. All Rights Reserved.