public static class UnderFileSystem.Factory extends Object
UnderFileSystem
.Modifier and Type | Method and Description |
---|---|
static UnderFileSystem |
create(String path,
AlluxioConfiguration conf)
Creates the
UnderFileSystem instance according to its UFS path. |
static UnderFileSystem |
create(String path,
UnderFileSystemConfiguration ufsConf)
Creates a client for operations involved with the under file system.
|
static UnderFileSystem |
createForRoot(AlluxioConfiguration conf) |
public static UnderFileSystem create(String path, AlluxioConfiguration conf)
UnderFileSystem
instance according to its UFS path. This method should
only be used for journal operations and tests.path
- journal path in ufsconf
- the configuration object w/o mount specific optionspublic static UnderFileSystem create(String path, UnderFileSystemConfiguration ufsConf)
IllegalArgumentException
is thrown if there is no under file system for the given
path or if no under file system could successfully be created.path
- pathufsConf
- configuration object for the UFSpublic static UnderFileSystem createForRoot(AlluxioConfiguration conf)
Copyright © 2023. All Rights Reserved.