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