@InterfaceAudience.Private public static class FSOperations.FSFileChecksum extends Object implements FileSystemAccess.FileSystemExecutor<Map>
Constructor and Description |
---|
FSOperations.FSFileChecksum(String path)
Creates a file-checksum executor.
|
public FSOperations.FSFileChecksum(String path)
path
- the path to retrieve the checksum.public Map execute(org.apache.hadoop.fs.FileSystem fs) throws IOException
execute
in interface FileSystemAccess.FileSystemExecutor<Map>
fs
- filesystem instance to use.IOException
- thrown if an IO error occured.Copyright © 2016 Apache Software Foundation. All Rights Reserved.