@ThreadSafe public class MigrateConfig extends Object implements JobConfig
MigrateDefinition for detailed semantics.| Constructor and Description |
|---|
MigrateConfig(String source,
String dst,
String writeType,
boolean overwrite,
boolean deleteSource) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
String |
getDestination() |
String |
getName() |
String |
getSource() |
String |
getWriteType() |
int |
hashCode() |
boolean |
isDeleteSource() |
boolean |
isOverwrite() |
String |
toString() |
public MigrateConfig(String source, String dst, String writeType, boolean overwrite, boolean deleteSource)
source - the source pathdst - the destination pathwriteType - the Alluxio write type with which to write the migrated file; a null value
means to use the default write type from the Alluxio configurationoverwrite - whether an existing file should be overwritten; if the source and destination
are directories, the contents of the directories will be merged with common files
overwritten by the sourcedeleteSource - whether to delete the source path after migrationpublic String getSource()
public String getDestination()
public String getWriteType()
public boolean isOverwrite()
public boolean isDeleteSource()
Copyright © 2019. All Rights Reserved.