## Uses of Class
org.apache.hadoop.fs.FileStatus

- Packages that use FileStatus
  Package | Description
  --- | ---
  org.apache.hadoop.fs | An abstract file system API.
  org.apache.hadoop.fs.ftp |
  org.apache.hadoop.fs.protocolPB | Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements.
  org.apache.hadoop.fs.sftp | SFTP FileSystem package.
  org.apache.hadoop.fs.shell.find |
  org.apache.hadoop.fs.viewfs | ViewFileSystem and ViewFileSystemOverloadScheme classes.

- - ### Uses of FileStatus in org.apache.hadoop.fs

    Classes in org.apache.hadoop.fs with type parameters of type FileStatus
    Modifier and Type | Class and Description
    --- | ---
    `protected class` | `FileSystem.DirListingIterator<T extends FileStatus>` Generic iterator for implementing `FileSystem.listStatusIterator(Path)`.

    Subclasses of FileStatus in org.apache.hadoop.fs
    Modifier and Type | Class and Description
    --- | ---
    `class` | `LocatedFileStatus` This class defines a FileStatus that includes a file's block locations.

    Methods in org.apache.hadoop.fs that return FileStatus
    Modifier and Type | Method and Description
    --- | ---
    `FileStatus` | LocalFileSystem.`getFileLinkStatus(Path f)`
    `FileStatus` | FileSystem.`getFileLinkStatus(Path f)` See `FileContext.getFileLinkStatus(Path)`.
    `FileStatus` | RawLocalFileSystem.`getFileLinkStatus(Path f)` Return a FileStatus representing the given path.
    `FileStatus` | AbstractFileSystem.`getFileLinkStatus(Path f)` The specification of this method matches that of `FileContext.getFileLinkStatus(Path)` except that an UnresolvedLinkException may be thrown if a symlink is encountered in the path leading up to the final path component.
    `FileStatus` | FileContext.`getFileLinkStatus(Path f)` Return a file status object that represents the path.
    `FileStatus` | FilterFileSystem.`getFileLinkStatus(Path f)`
    `abstract FileStatus` | FileSystem.`getFileStatus(Path f)` Return a file status object that represents the path.
    `FileStatus` | HarFileSystem.`getFileStatus(Path f)` return the filestatus of files in har archive.
    `FileStatus` | RawLocalFileSystem.`getFileStatus(Path f)`
    `abstract FileStatus` | AbstractFileSystem.`getFileStatus(Path f)` The specification of this method matches that of `FileContext.getFileStatus(Path)` except that an UnresolvedLinkException may be thrown if a symlink is encountered in the path.
    `FileStatus` | FileContext.`getFileStatus(Path f)` Return a file status object that represents the path.
    `FileStatus` | FilterFileSystem.`getFileStatus(Path f)` Get file status.
    `FileStatus[]` | FileSystem.`globStatus(Path pathPattern)` Return all the files that match filePattern and are not checksum files.
    `FileStatus[]` | FileContext.Util.`globStatus(Path pathPattern)` Return all the files that match filePattern and are not checksum files.
    `FileStatus[]` | FileSystem.`globStatus(Path pathPattern, PathFilter filter)` Return an array of `FileStatus` objects whose path names match `pathPattern` and is accepted by the user-supplied path filter.
    `FileStatus[]` | FileContext.Util.`globStatus(Path pathPattern, PathFilter filter)` Return an array of FileStatus objects whose path names match pathPattern and is accepted by the user-supplied path filter.
    `abstract FileStatus[]` | FileSystem.`listStatus(Path f)` List the statuses of the files/directories in the given path if the path is a directory.
    `FileStatus[]` | HarFileSystem.`listStatus(Path f)` liststatus returns the children of a directory after looking up the index files.
    `FileStatus[]` | RawLocalFileSystem.`listStatus(Path f)` List the statuses of the files/directories in the given path if the path is a directory.
    `FileStatus[]` | ChecksumFileSystem.`listStatus(Path f)` List the statuses of the files/directories in the given path if the path is a directory.
    `abstract FileStatus[]` | AbstractFileSystem.`listStatus(Path f)` The specification of this method matches that of `FileContext.Util.listStatus(Path)` except that Path f must be for this file system.
    `FileStatus[]` | FileContext.Util.`listStatus(Path f)` List the statuses of the files/directories in the given path if the path is a directory.
    `FileStatus[]` | FilterFileSystem.`listStatus(Path f)` List files in a directory.
    `FileStatus[]` | FileSystem.`listStatus(Path[] files)` Filter files/directories in the given list of paths using default path filter.
    `FileStatus[]` | FileContext.Util.`listStatus(Path[] files)` See `FileContext.Util.listStatus(Path[], PathFilter)`
    `FileStatus[]` | FileSystem.`listStatus(Path[] files, PathFilter filter)` Filter files/directories in the given list of paths using user-supplied path filter.
    `FileStatus[]` | FileContext.Util.`listStatus(Path[] files, PathFilter filter)` Filter files/directories in the given list of paths using user-supplied path filter.
    `FileStatus[]` | FileSystem.`listStatus(Path f, PathFilter filter)` Filter files/directories in the given path using the user-supplied path filter.
    `FileStatus[]` | FileContext.Util.`listStatus(Path f, PathFilter filter)` Filter files/directories in the given path using the user-supplied path filter.

    Methods in org.apache.hadoop.fs that return types with arguments of type FileStatus
    Modifier and Type | Method and Description
    --- | ---
    `Collection<FileStatus>` | FileSystem.`getTrashRoots(boolean allUsers)` Get all the trash roots for current user or all users.
    `Collection<FileStatus>` | FilterFileSystem.`getTrashRoots(boolean allUsers)`
    `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>` | FileSystem.`listStatusIterator(Path p)` Returns a remote iterator so that followup calls are made on demand while consuming the entries.
    `RemoteIterator<FileStatus>` | ChecksumFileSystem.`listStatusIterator(Path p)`
    `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.
    `RemoteIterator<FileStatus>` | FilterFileSystem.`listStatusIterator(Path f)` Return a remote iterator for listing in a directory
    `static Function<FileStatus,PathHandle>` | Options.HandleOpt.`resolve(BiFunction<FileStatus,Options.HandleOpt[],PathHandle> fsr, Options.HandleOpt... opt)` Utility function for partial evaluation of `FileStatus` instances to a fixed set of handle options.
    `static Function<FileStatus,PathHandle>` | Options.HandleOpt.`resolve(FileSystem fs, Options.HandleOpt... opt)` Utility function for mapping `FileSystem.getPathHandle(org.apache.hadoop.fs.FileStatus, org.apache.hadoop.fs.Options.HandleOpt...)` to a fixed set of handle options.

    Methods in org.apache.hadoop.fs with parameters of type FileStatus
    Modifier and Type | Method and Description
    --- | ---
    `int` | LocatedFileStatus.`compareTo(FileStatus o)` Compare this FileStatus to another FileStatus
    `int` | FileStatus.`compareTo(FileStatus o)` Compare this FileStatus to another FileStatus
    `static boolean` | FileUtil.`copy(FileSystem srcFS, FileStatus srcStatus, FileSystem dstFS, Path dst, boolean deleteSource, boolean overwrite, Configuration conf)` Copy files between FileSystems.
    `protected PathHandle` | FileSystem.`createPathHandle(FileStatus stat, Options.HandleOpt... opt)` Hook to implement support for `PathHandle` operations.
    `protected PathHandle` | HarFileSystem.`createPathHandle(FileStatus stat, Options.HandleOpt... opts)`
    `protected PathHandle` | RawLocalFileSystem.`createPathHandle(FileStatus stat, Options.HandleOpt... opts)` Hook to implement support for `PathHandle` operations.
    `protected PathHandle` | FilterFileSystem.`createPathHandle(FileStatus stat, Options.HandleOpt... opts)`
    `BlockLocation[]` | FileSystem.`getFileBlockLocations(FileStatus file, long start, long len)` Return an array containing hostnames, offset and size of portions of the given file.
    `BlockLocation[]` | HarFileSystem.`getFileBlockLocations(FileStatus file, long start, long len)` Get block locations from the underlying fs and fix their offsets and lengths.
    `BlockLocation[]` | FilterFileSystem.`getFileBlockLocations(FileStatus file, long start, long len)`
    `PathHandle` | FileSystem.`getPathHandle(FileStatus stat, Options.HandleOpt... opt)` Create a durable, serializable handle to the referent of the given entity.
    `static Path[]` | FileUtil.`stat2Paths(FileStatus[] stats)` convert an array of FileStatus to an array of Path
    `static Path[]` | FileUtil.`stat2Paths(FileStatus[] stats, Path path)` convert an array of FileStatus to an array of Path.
    `void` | LocalFileSystemPathHandle.`verify(FileStatus stat)`

    Method parameters in org.apache.hadoop.fs with type arguments of type FileStatus
    Modifier and Type | Method and Description
    --- | ---
    `static Function<FileStatus,PathHandle>` | Options.HandleOpt.`resolve(BiFunction<FileStatus,Options.HandleOpt[],PathHandle> fsr, Options.HandleOpt... opt)` Utility function for partial evaluation of `FileStatus` instances to a fixed set of handle options.

    Constructors in org.apache.hadoop.fs with parameters of type FileStatus
    Constructor and Description
    `FileStatus(FileStatus other)` Copy constructor.
    `LocatedFileStatus(FileStatus stat, BlockLocation[] locations)` Constructor

  - ### Uses of FileStatus in org.apache.hadoop.fs.ftp

    Methods in org.apache.hadoop.fs.ftp that return FileStatus
    Modifier and Type | Method and Description
    --- | ---
    `FileStatus` | FTPFileSystem.`getFileStatus(Path file)`
    `FileStatus[]` | FTPFileSystem.`listStatus(Path file)`

  - ### Uses of FileStatus in org.apache.hadoop.fs.protocolPB

    Methods in org.apache.hadoop.fs.protocolPB that return FileStatus
    Modifier and Type | Method and Description
    --- | ---
    `static FileStatus` | PBHelper.`convert(FSProtos.FileStatusProto proto)`

    Methods in org.apache.hadoop.fs.protocolPB with parameters of type FileStatus
    Modifier and Type | Method and Description
    --- | ---
    `static FSProtos.FileStatusProto` | PBHelper.`convert(FileStatus stat)`

  - ### Uses of FileStatus in org.apache.hadoop.fs.sftp

    Methods in org.apache.hadoop.fs.sftp that return FileStatus
    Modifier and Type | Method and Description
    --- | ---
    `FileStatus` | SFTPFileSystem.`getFileStatus(Path f)`
    `FileStatus[]` | SFTPFileSystem.`listStatus(Path f)`

  - ### Uses of FileStatus in org.apache.hadoop.fs.shell.find

    Methods in org.apache.hadoop.fs.shell.find that return FileStatus
    Modifier and Type | Method and Description
    --- | ---
    `protected FileStatus` | BaseExpression.`getFileStatus(org.apache.hadoop.fs.shell.PathData item, int depth)` Returns the `FileStatus` from the `PathData` item.

  - ### Uses of FileStatus in org.apache.hadoop.fs.viewfs

    Methods in org.apache.hadoop.fs.viewfs with annotations of type with type parameters of type that implement declared as with annotations of type with type parameters of type with annotations of type with annotations of type with type parameters of type that return that return types with arguments of type with parameters of type with type arguments of type that throw with annotations of type with annotations of type with parameters of type with type arguments of type that throw FileStatus
    Modifier and Type | Method and Description
    --- | ---
    `FileStatus` | ViewFs.`getFileLinkStatus(Path f)`
    `FileStatus` | ViewFileSystem.`getFileStatus(Path f)` Return a file status object that represents the path.
    `FileStatus` | ViewFs.`getFileStatus(Path f)` The specification of this method matches that of `FileContext.getFileStatus(Path)` except that an UnresolvedLinkException may be thrown if a symlink is encountered in the path.
    `FileStatus[]` | ViewFileSystem.`listStatus(Path f)` List the statuses of the files/directories in the given path if the path is a directory.
    `FileStatus[]` | ViewFs.`listStatus(Path f)` The specification of this method matches that of `FileContext.Util.listStatus(Path)` except that Path f must be for this file system.

    Methods in org.apache.hadoop.fs.viewfs with annotations of type with type parameters of type that implement declared as with annotations of type with type parameters of type with annotations of type with annotations of type with type parameters of type that return that return types with arguments of type with parameters of type with type arguments of type that throw with annotations of type with annotations of type with parameters of type with type arguments of type that throw FileStatus
    Modifier and Type | Method and Description
    --- | ---
    `Collection<FileStatus>` | ViewFileSystem.`getTrashRoots(boolean allUsers)` Get all the trash roots for current user or all users.
    `RemoteIterator<FileStatus>` | ViewFs.`listStatusIterator(Path f)`

    Methods in org.apache.hadoop.fs.viewfs with annotations of type with type parameters of type that implement declared as with annotations of type with type parameters of type with annotations of type with annotations of type with type parameters of type that return that return types with arguments of type with parameters of type with type arguments of type that throw with annotations of type with annotations of type with parameters of type with type arguments of type that throw FileStatus
    Modifier and Type | Method and Description
    --- | ---
    `BlockLocation[]` | ViewFileSystem.`getFileBlockLocations(FileStatus fs, long start, long len)`

Copyright © 2008–2022 Apache Software Foundation. All rights reserved.