@InterfaceAudience.Private public static class FSOperations.FSFileBlockLocationsLegacy extends Object implements FileSystemAccess.FileSystemExecutor<Map>
Constructor and Description |
---|
FSFileBlockLocationsLegacy(String path,
long offsetValue,
long lengthValue)
Creates a file-block-locations executor.
|
public FSFileBlockLocationsLegacy(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>
IOException
Copyright © 2008–2024 Apache Software Foundation. All rights reserved.