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