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