@ThreadSafe public class PersistCmdConfig extends Object implements CliConfig
Constructor and Description |
---|
PersistCmdConfig(String filePath,
long mountId,
boolean overwrite,
String ufsPath)
Creates a new instance of
PersistCmdConfig . |
Modifier and Type | Method and Description |
---|---|
Collection<String> |
affectedPaths() |
boolean |
equals(Object obj) |
String |
getFilePath() |
JobSource |
getJobSource() |
long |
getMountId() |
String |
getName() |
OperationType |
getOperationType() |
String |
getUfsPath() |
int |
hashCode() |
boolean |
isOverwrite() |
PersistConfig |
toPersistConfig()
Convert to PersistConfig.
|
String |
toString() |
public static final String NAME
public PersistCmdConfig(String filePath, long mountId, boolean overwrite, String ufsPath)
PersistCmdConfig
.filePath
- the Alluxio path of the file to persistmountId
- the mount ID for the UFS path to persist the file tooverwrite
- flag of overwriting the existing file in UFS or notufsPath
- the UFS path to persist the file topublic String getName()
public JobSource getJobSource()
getJobSource
in interface CmdConfig
public OperationType getOperationType()
getOperationType
in interface CmdConfig
public String getFilePath()
public long getMountId()
public String getUfsPath()
public boolean isOverwrite()
public Collection<String> affectedPaths()
affectedPaths
in interface CmdConfig
public PersistConfig toPersistConfig()
Copyright © 2023. All Rights Reserved.