@InterfaceAudience.Private public static class FSOperations.FSContentSummary extends Object implements FileSystemAccess.FileSystemExecutor<Map>
| Constructor and Description |
|---|
FSContentSummary(String path)
Creates a content-summary executor.
|
| Modifier and Type | Method and Description |
|---|---|
Map |
execute(org.apache.hadoop.fs.FileSystem fs)
Executes the filesystem operation.
|
public FSContentSummary(String path)
path - the path to retrieve the content-summary.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.