@ThreadSafe public class PersistConfig extends Object implements JobConfig
Constructor and Description |
---|
PersistConfig(String filePath,
long mountId,
boolean overwrite,
String ufsPath)
Creates a new instance of
PersistConfig . |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
String |
getFilePath() |
long |
getMountId() |
String |
getName() |
String |
getUfsPath() |
int |
hashCode() |
boolean |
isOverwrite() |
String |
toString() |
public static final String NAME
public PersistConfig(String filePath, long mountId, boolean overwrite, String ufsPath)
PersistConfig
.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 String getFilePath()
public long getMountId()
public String getUfsPath()
public boolean isOverwrite()
Copyright © 2023. All Rights Reserved.