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