@InterfaceAudience.Private public static class FSOperations.FSFileChecksum extends Object implements FileSystemAccess.FileSystemExecutor<Map>
| Constructor and Description | 
|---|
| FSFileChecksum(String path)Creates a file-checksum executor. | 
| Modifier and Type | Method and Description | 
|---|---|
| Map | execute(org.apache.hadoop.fs.FileSystem fs)Executes the filesystem operation. | 
public 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 occurred.Copyright © 2008–2023 Apache Software Foundation. All rights reserved.