@InterfaceAudience.Private public static class FSOperations.FSOpen extends Object implements FileSystemAccess.FileSystemExecutor<InputStream>
Constructor and Description |
---|
FSOperations.FSOpen(String path)
Creates a open executor.
|
public FSOperations.FSOpen(String path)
path
- file to open.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 © 2022 Apache Software Foundation. All rights reserved.