@InterfaceAudience.Private public static class FSOperations.FSAccess extends Object implements FileSystemAccess.FileSystemExecutor<Void>
Constructor and Description |
---|
FSAccess(String path,
org.apache.hadoop.fs.permission.FsAction mode)
Creates a access executor.
|
Modifier and Type | Method and Description |
---|---|
Void |
execute(org.apache.hadoop.fs.FileSystem fs)
Executes the filesystem operation.
|
public FSAccess(String path, org.apache.hadoop.fs.permission.FsAction mode)
public Void execute(org.apache.hadoop.fs.FileSystem fs) throws IOException
execute
in interface FileSystemAccess.FileSystemExecutor<Void>
fs
- filesystem instance to use.IOException
- thrown if an IO error occurred.Copyright © 2008–2024 Apache Software Foundation. All rights reserved.