FileSystemAccess.FileSystemExecutor<java.util.Map>@Private public static class FSOperations.FSFileBlockLocationsLegacy extends java.lang.Object implements FileSystemAccess.FileSystemExecutor<java.util.Map>
| Constructor | Description |
|---|---|
FSFileBlockLocationsLegacy(java.lang.String path,
long offsetValue,
long lengthValue) |
Creates a file-block-locations executor.
|
| Modifier and Type | Method | Description |
|---|---|---|
java.util.Map |
execute(org.apache.hadoop.fs.FileSystem fs) |
public FSFileBlockLocationsLegacy(java.lang.String path,
long offsetValue,
long lengthValue)
path - the path to retrieve the locationoffsetValue - offset into the given filelengthValue - length for which to get locations forpublic java.util.Map execute(org.apache.hadoop.fs.FileSystem fs)
throws java.io.IOException
execute in interface FileSystemAccess.FileSystemExecutor<java.util.Map>java.io.IOExceptionCopyright © 2008–2025 Apache Software Foundation. All rights reserved.