@InterfaceAudience.Private public static class FSOperations.FSHomeDir extends Object implements FileSystemAccess.FileSystemExecutor<org.json.simple.JSONObject>
Constructor and Description |
---|
FSHomeDir() |
Modifier and Type | Method and Description |
---|---|
org.json.simple.JSONObject |
execute(org.apache.hadoop.fs.FileSystem fs)
Executes the filesystem operation.
|
public FSHomeDir()
public org.json.simple.JSONObject execute(org.apache.hadoop.fs.FileSystem fs) throws IOException
execute
in interface FileSystemAccess.FileSystemExecutor<org.json.simple.JSONObject>
fs
- filesystem instance to use.IOException
- thrown if an IO error occured.Copyright © 2017 Apache Software Foundation. All Rights Reserved.