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