@ThreadSafe public class PersistCmdConfig extends java.lang.Object implements CliConfig
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
NAME |
| Constructor and Description |
|---|
PersistCmdConfig(java.lang.String filePath,
long mountId,
boolean overwrite,
java.lang.String ufsPath)
Creates a new instance of
PersistCmdConfig. |
| Modifier and Type | Method and Description |
|---|---|
java.util.Collection<java.lang.String> |
affectedPaths() |
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getFilePath() |
JobSource |
getJobSource() |
long |
getMountId() |
java.lang.String |
getName() |
OperationType |
getOperationType() |
java.lang.String |
getUfsPath() |
int |
hashCode() |
boolean |
isOverwrite() |
PersistConfig |
toPersistConfig()
Convert to PersistConfig.
|
java.lang.String |
toString() |
public static final java.lang.String NAME
public PersistCmdConfig(java.lang.String filePath,
long mountId,
boolean overwrite,
java.lang.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 java.lang.String getName()
public JobSource getJobSource()
getJobSource in interface CmdConfigpublic OperationType getOperationType()
getOperationType in interface CmdConfigpublic java.lang.String getFilePath()
public long getMountId()
public java.lang.String getUfsPath()
public boolean isOverwrite()
public boolean equals(java.lang.Object obj)
equals in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.Objectpublic java.lang.String toString()
toString in class java.lang.Objectpublic java.util.Collection<java.lang.String> affectedPaths()
affectedPaths in interface CmdConfigpublic PersistConfig toPersistConfig()
Copyright © 2024. All Rights Reserved.