public static class EximUtil.DataCopyPath extends Object implements StringConvertibleObject
Constructor and Description |
---|
DataCopyPath(ReplicationSpec replicationSpec) |
DataCopyPath(ReplicationSpec replicationSpec,
org.apache.hadoop.fs.Path srcPath,
org.apache.hadoop.fs.Path tgtPath) |
Modifier and Type | Method and Description |
---|---|
String |
convertToString() |
ReplicationSpec |
getReplicationSpec() |
org.apache.hadoop.fs.Path |
getSrcPath() |
org.apache.hadoop.fs.Path |
getTargetPath() |
void |
loadFromString(String objectInStr) |
static void |
setNullSrcPath(HiveConf conf,
boolean aNullSrcPath)
To be used only for testing purpose.
|
void |
setReplicationSpec(ReplicationSpec replicationSpec) |
String |
toString() |
public DataCopyPath(ReplicationSpec replicationSpec)
public DataCopyPath(ReplicationSpec replicationSpec, org.apache.hadoop.fs.Path srcPath, org.apache.hadoop.fs.Path tgtPath)
public org.apache.hadoop.fs.Path getSrcPath()
public org.apache.hadoop.fs.Path getTargetPath()
public ReplicationSpec getReplicationSpec()
public void setReplicationSpec(ReplicationSpec replicationSpec)
public static void setNullSrcPath(HiveConf conf, boolean aNullSrcPath)
public String convertToString()
convertToString
in interface StringConvertibleObject
public void loadFromString(String objectInStr)
loadFromString
in interface StringConvertibleObject
Copyright © 2022 The Apache Software Foundation. All rights reserved.