@Override
  public void loadFromString(String objectInStr) {
    String paths[] = objectInStr.split(URI_SEPARATOR);
    this.fullyQualifiedSourcePath = new Path(paths[0]);
    this.fullyQualifiedTargetPath = new Path(paths[1]);
    if (paths.length > 3) {
      this.tableName = paths[2];
      this.copyMode = SnapshotUtils.SnapshotCopyMode.valueOf(paths[3]);
      this.snapshotPrefix = paths[4];
    }
  }
DirCopyWork, mainly to be used to copy External table data.
ql/src/java/org/apache/hadoop/hive/ql/exec/repl/DirCopyWork.java