Package | Description |
---|---|
org.apache.hadoop.fs |
An abstract file system API.
|
org.apache.hadoop.fs.viewfs |
Modifier and Type | Class and Description |
---|---|
class |
BatchedRemoteIterator<K,E>
A RemoteIterator that fetches elements in batches.
|
Modifier and Type | Method and Description |
---|---|
RemoteIterator<Path> |
FilterFileSystem.listCorruptFileBlocks(Path path) |
RemoteIterator<Path> |
FileSystem.listCorruptFileBlocks(Path path) |
RemoteIterator<Path> |
FileContext.listCorruptFileBlocks(Path path) |
RemoteIterator<Path> |
AbstractFileSystem.listCorruptFileBlocks(Path path) |
RemoteIterator<LocatedFileStatus> |
FileSystem.listFiles(Path f,
boolean recursive)
List the statuses and block locations of the files in the given path.
|
RemoteIterator<LocatedFileStatus> |
FileContext.Util.listFiles(Path f,
boolean recursive)
List the statuses and block locations of the files in the given path.
|
RemoteIterator<LocatedFileStatus> |
FilterFileSystem.listLocatedStatus(Path f)
List files and its block locations in a directory.
|
RemoteIterator<LocatedFileStatus> |
FileSystem.listLocatedStatus(Path f)
List the statuses of the files/directories in the given path if the path is
a directory.
|
RemoteIterator<LocatedFileStatus> |
FileContext.listLocatedStatus(Path f)
List the statuses of the files/directories in the given path if the path is
a directory.
|
RemoteIterator<LocatedFileStatus> |
ChecksumFileSystem.listLocatedStatus(Path f)
List the statuses of the files/directories in the given path if the path is
a directory.
|
RemoteIterator<LocatedFileStatus> |
AbstractFileSystem.listLocatedStatus(Path f)
The specification of this method matches that of
FileContext.listLocatedStatus(Path) except that Path f
must be for this file system. |
protected RemoteIterator<LocatedFileStatus> |
FilterFileSystem.listLocatedStatus(Path f,
PathFilter filter) |
protected RemoteIterator<LocatedFileStatus> |
FileSystem.listLocatedStatus(Path f,
PathFilter filter)
Listing a directory
The returned results include its block location if it is a file
The results are filtered by the given path filter
|
RemoteIterator<FileStatus> |
FileContext.listStatus(Path f)
List the statuses of the files/directories in the given path if the path is
a directory.
|
RemoteIterator<FileStatus> |
FilterFileSystem.listStatusIterator(Path f)
Return a remote iterator for listing in a directory
|
RemoteIterator<FileStatus> |
FileSystem.listStatusIterator(Path p)
Returns a remote iterator so that followup calls are made on demand
while consuming the entries.
|
RemoteIterator<FileStatus> |
AbstractFileSystem.listStatusIterator(Path f)
The specification of this method matches that of
FileContext.listStatus(Path) except that Path f must be for this
file system. |
Modifier and Type | Method and Description |
---|---|
RemoteIterator<LocatedFileStatus> |
ViewFileSystem.listLocatedStatus(Path f,
PathFilter filter) |
RemoteIterator<FileStatus> |
ViewFs.listStatusIterator(Path f) |
Copyright © 2017 Apache Software Foundation. All Rights Reserved.