@ThreadSafe public class MigrateCliConfig extends java.lang.Object implements CliConfig
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
NAME |
| Constructor and Description |
|---|
MigrateCliConfig(java.lang.String source,
java.lang.String dst,
WriteType writeType,
boolean overwrite,
int batchSize) |
| Modifier and Type | Method and Description |
|---|---|
java.util.Collection<java.lang.String> |
affectedPaths() |
boolean |
equals(java.lang.Object obj) |
int |
getBatchSize() |
java.lang.String |
getDestination() |
JobSource |
getJobSource() |
java.lang.String |
getName() |
OperationType |
getOperationType() |
boolean |
getOverWrite() |
java.lang.String |
getSource() |
WriteType |
getWriteType() |
int |
hashCode() |
boolean |
isOverwrite() |
java.lang.String |
toString() |
public static final java.lang.String NAME
public MigrateCliConfig(java.lang.String source,
java.lang.String dst,
WriteType writeType,
boolean overwrite,
int batchSize)
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 sourcebatchSize - batchSize to run one jobpublic java.lang.String getName()
public JobSource getJobSource()
getJobSource in interface CmdConfigpublic OperationType getOperationType()
getOperationType in interface CmdConfigpublic java.util.Collection<java.lang.String> affectedPaths()
affectedPaths in interface CmdConfigpublic java.lang.String getSource()
public java.lang.String getDestination()
public WriteType getWriteType()
public boolean getOverWrite()
public int getBatchSize()
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.ObjectCopyright © 2022. All Rights Reserved.