@ThreadSafe public class MigrateConfig extends java.lang.Object implements JobConfig
MigrateDefinition for detailed semantics.| Constructor and Description |
|---|
MigrateConfig(java.lang.String source,
java.lang.String dst,
java.lang.String writeType,
boolean overwrite,
boolean deleteSource) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getDestination() |
java.lang.String |
getName() |
java.lang.String |
getSource() |
java.lang.String |
getWriteType() |
int |
hashCode() |
boolean |
isDeleteSource() |
boolean |
isOverwrite() |
java.lang.String |
toString() |
public MigrateConfig(java.lang.String source,
java.lang.String dst,
java.lang.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 java.lang.String getSource()
public java.lang.String getDestination()
public java.lang.String getWriteType()
public boolean isOverwrite()
public boolean isDeleteSource()
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.ObjectCopyright © 2019. All Rights Reserved.