@ThreadSafe public class MigrateConfig extends java.lang.Object implements PlanConfig
MigrateDefinition for detailed semantics.| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
NAME |
| Constructor and Description |
|---|
MigrateConfig(java.lang.String source,
java.lang.String dst,
WriteType writeType,
boolean overwrite) |
| Modifier and Type | Method and Description |
|---|---|
java.util.Collection<java.lang.String> |
affectedPaths() |
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getDestination() |
java.lang.String |
getName() |
java.lang.String |
getSource() |
WriteType |
getWriteType() |
int |
hashCode() |
boolean |
isOverwrite() |
java.lang.String |
toString() |
public static final java.lang.String NAME
public MigrateConfig(java.lang.String source,
java.lang.String dst,
WriteType writeType,
boolean overwrite)
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 sourcepublic java.lang.String getSource()
public java.lang.String getDestination()
public WriteType getWriteType()
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.lang.String getName()
public java.util.Collection<java.lang.String> affectedPaths()
affectedPaths in interface JobConfigCopyright © 2024. All Rights Reserved.