public class DirCopyWork extends Object implements Serializable, StringConvertibleObject
| Modifier and Type | Field and Description |
|---|---|
static String |
URI_SEPARATOR |
| Constructor and Description |
|---|
DirCopyWork(ReplicationMetricCollector metricCollector,
String dumpDirectory) |
DirCopyWork(String tableName,
org.apache.hadoop.fs.Path fullyQualifiedSourcePath,
org.apache.hadoop.fs.Path fullyQualifiedTargetPath) |
DirCopyWork(String tableName,
org.apache.hadoop.fs.Path fullyQualifiedSourcePath,
org.apache.hadoop.fs.Path fullyQualifiedTargetPath,
SnapshotUtils.SnapshotCopyMode copyMode,
String snapshotPrefix) |
| Modifier and Type | Method and Description |
|---|---|
String |
convertToString() |
SnapshotUtils.SnapshotCopyMode |
getCopyMode() |
String |
getDumpDirectory() |
org.apache.hadoop.fs.Path |
getFullyQualifiedSourcePath() |
org.apache.hadoop.fs.Path |
getFullyQualifiedTargetPath() |
ReplicationMetricCollector |
getMetricCollector() |
String |
getSnapshotPrefix() |
String |
getTableName() |
void |
loadFromString(String objectInStr) |
String |
toString() |
public static final String URI_SEPARATOR
public DirCopyWork(ReplicationMetricCollector metricCollector, String dumpDirectory)
public DirCopyWork(String tableName, org.apache.hadoop.fs.Path fullyQualifiedSourcePath, org.apache.hadoop.fs.Path fullyQualifiedTargetPath)
public DirCopyWork(String tableName, org.apache.hadoop.fs.Path fullyQualifiedSourcePath, org.apache.hadoop.fs.Path fullyQualifiedTargetPath, SnapshotUtils.SnapshotCopyMode copyMode, String snapshotPrefix)
public org.apache.hadoop.fs.Path getFullyQualifiedSourcePath()
public org.apache.hadoop.fs.Path getFullyQualifiedTargetPath()
public ReplicationMetricCollector getMetricCollector()
public String getDumpDirectory()
public SnapshotUtils.SnapshotCopyMode getCopyMode()
public String getSnapshotPrefix()
public String getTableName()
public String convertToString()
convertToString in interface StringConvertibleObjectpublic void loadFromString(String objectInStr)
loadFromString in interface StringConvertibleObjectCopyright © 2022 The Apache Software Foundation. All rights reserved.