@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 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 occurred.Copyright © 2008–2024 Apache Software Foundation. All rights reserved.