@InterfaceAudience.Private public static class FSOperations.FSFileBlockLocations extends Object implements FileSystemAccess.FileSystemExecutor<Map>
| Constructor and Description |
|---|
FSFileBlockLocations(String path,
long offsetValue,
long lengthValue)
Creates a file-block-locations executor.
|
public FSFileBlockLocations(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 Map execute(org.apache.hadoop.fs.FileSystem fs) throws IOException
execute in interface FileSystemAccess.FileSystemExecutor<Map>IOExceptionCopyright © 2008–2024 Apache Software Foundation. All rights reserved.