@Public public interface LocatedFileStatus extends FileStatus
FileStatusthat contains additionally the location information of the file directly. The information is accessible through the
This class eagerly communicates the block information (including locations) when that information
is readily (or cheaply) available. That way users can avoid an additional call to
FileSystem.getFileBlockLocations(FileStatus, long, long), which is an additional RPC call for
|Modifier and Type||Method and Description|
Gets the location information for the file.
Files without location information typically expose one block with no host information for that block.
Copyright © 2014–2020 The Apache Software Foundation. All rights reserved.