List of usage examples for org.apache.hadoop.hdfs.web.resources RenameOptionSetParam RenameOptionSetParam
public RenameOptionSetParam(final String str)
From source file:com.bigstep.datalake.DLFileSystem.java
License:Apache License
@SuppressWarnings("deprecation") @Override/* www . java2 s.c om*/ public void rename(final Path src, final Path dst, final Options.Rename... options) throws IOException { statistics.incrementWriteOps(1); final HttpOpParam.Op op = PutOpParam.Op.RENAME; new FsPathRunner(op, src, new DestinationParam(makeQualified(dst).toUri().getPath()), new RenameOptionSetParam(options)).run(); }