public class CopyWork extends Object implements Serializable, BaseCopyWork
| Constructor and Description |
|---|
CopyWork() |
CopyWork(org.apache.hadoop.fs.Path[] fromPath,
org.apache.hadoop.fs.Path[] toPath) |
CopyWork(org.apache.hadoop.fs.Path fromPath,
org.apache.hadoop.fs.Path toPath,
boolean errorOnSrcEmpty) |
CopyWork(org.apache.hadoop.fs.Path fromPath,
org.apache.hadoop.fs.Path toPath,
boolean errorOnSrcEmpty,
boolean overwrite) |
CopyWork(org.apache.hadoop.fs.Path fromPath,
org.apache.hadoop.fs.Path toPath,
boolean errorOnSrcEmpty,
boolean overwrite,
String dumpDirectory,
ReplicationMetricCollector metricCollector,
boolean isReplication) |
CopyWork(org.apache.hadoop.fs.Path fromPath,
org.apache.hadoop.fs.Path toPath,
boolean errorOnSrcEmpty,
String dumpDirectory,
ReplicationMetricCollector metricCollector,
boolean isReplication) |
| Modifier and Type | Method and Description |
|---|---|
String |
getDumpDirectory() |
org.apache.hadoop.fs.Path |
getFromPathExplain() |
org.apache.hadoop.fs.Path[] |
getFromPaths() |
org.apache.hadoop.fs.Path[] |
getFromPathsExplain() |
ReplicationMetricCollector |
getMetricCollector() |
org.apache.hadoop.fs.Path |
getToPathExplain() |
org.apache.hadoop.fs.Path[] |
getToPaths() |
org.apache.hadoop.fs.Path[] |
getToPathsExplain() |
void |
initializeFromDeferredContext(DeferredWorkContext deferredContext) |
boolean |
isErrorOnSrcEmpty() |
boolean |
isOverwrite() |
boolean |
isReplication() |
void |
setErrorOnSrcEmpty(boolean errorOnSrcEmpty) |
void |
setOverwrite(boolean overwrite) |
void |
setToPath(org.apache.hadoop.fs.Path[] toPath) |
public CopyWork()
public CopyWork(org.apache.hadoop.fs.Path fromPath,
org.apache.hadoop.fs.Path toPath,
boolean errorOnSrcEmpty)
public CopyWork(org.apache.hadoop.fs.Path fromPath,
org.apache.hadoop.fs.Path toPath,
boolean errorOnSrcEmpty,
String dumpDirectory,
ReplicationMetricCollector metricCollector,
boolean isReplication)
public CopyWork(org.apache.hadoop.fs.Path fromPath,
org.apache.hadoop.fs.Path toPath,
boolean errorOnSrcEmpty,
boolean overwrite)
public CopyWork(org.apache.hadoop.fs.Path fromPath,
org.apache.hadoop.fs.Path toPath,
boolean errorOnSrcEmpty,
boolean overwrite,
String dumpDirectory,
ReplicationMetricCollector metricCollector,
boolean isReplication)
public CopyWork(org.apache.hadoop.fs.Path[] fromPath,
org.apache.hadoop.fs.Path[] toPath)
public org.apache.hadoop.fs.Path getFromPathExplain()
public org.apache.hadoop.fs.Path getToPathExplain()
public org.apache.hadoop.fs.Path[] getFromPathsExplain()
public org.apache.hadoop.fs.Path[] getToPathsExplain()
public org.apache.hadoop.fs.Path[] getFromPaths()
public org.apache.hadoop.fs.Path[] getToPaths()
public ReplicationMetricCollector getMetricCollector()
public String getDumpDirectory()
public boolean isReplication()
public void setErrorOnSrcEmpty(boolean errorOnSrcEmpty)
public boolean isErrorOnSrcEmpty()
public boolean isOverwrite()
public void setOverwrite(boolean overwrite)
public void setToPath(org.apache.hadoop.fs.Path[] toPath)
public void initializeFromDeferredContext(DeferredWorkContext deferredContext) throws HiveException
initializeFromDeferredContext in interface BaseCopyWorkHiveExceptionCopyright © 2022 The Apache Software Foundation. All rights reserved.