Uses of Class
org.apache.hadoop.fs.FileStatus
Packages that use FileStatus
Package
Description
An abstract file system API.
This package contains implementation classes for use inside
filesystems.
This package provides support for HDFS permission and ACL.
Licensed to the Apache Software Foundation (ASF) under one
or more contributor license agreements.
SFTP FileSystem package.
Support for the execution of a file system command.
ViewFileSystem and ViewFileSystemOverloadScheme classes.
Support for dynamic access to filesystem operations which are not available
in older hadoop releases.
Implementation/testing support for wrapped IO.
Common utilities.
-
Uses of FileStatus in org.apache.hadoop.fs
Classes in org.apache.hadoop.fs with type parameters of type FileStatusModifier and TypeClassDescriptionprotected classFileSystem.DirListingIterator<T extends FileStatus>Generic iterator for implementingFileSystem.listStatusIterator(Path).classPartialListing<T extends FileStatus>A partial listing of the children of a parent directory.Subclasses of FileStatus in org.apache.hadoop.fsModifier and TypeClassDescriptionclassThis class defines a FileStatus that includes a file's block locations.Methods in org.apache.hadoop.fs that return FileStatusModifier and TypeMethodDescriptionFileSystem.DirectoryEntries.getEntries()AbstractFileSystem.getFileLinkStatus(Path f) The specification of this method matches that ofFileContext.getFileLinkStatus(Path)except that an UnresolvedLinkException may be thrown if a symlink is encountered in the path leading up to the final path component.DelegateToFileSystem.getFileLinkStatus(Path f) FileContext.getFileLinkStatus(Path f) Return a file status object that represents the path.FileSystem.getFileLinkStatus(Path f) FilterFileSystem.getFileLinkStatus(Path f) FilterFs.getFileLinkStatus(Path f) LocalFileSystem.getFileLinkStatus(Path f) RawLocalFileSystem.getFileLinkStatus(Path f) Return a FileStatus representing the given path.abstract FileStatusAbstractFileSystem.getFileStatus(Path f) The specification of this method matches that ofFileContext.getFileStatus(Path)except that an UnresolvedLinkException may be thrown if a symlink is encountered in the path.DelegateToFileSystem.getFileStatus(Path f) FileContext.getFileStatus(Path f) Return a file status object that represents the path.abstract FileStatusFileSystem.getFileStatus(Path f) Return a file status object that represents the path.FilterFileSystem.getFileStatus(Path f) Get file status.FilterFs.getFileStatus(Path f) HarFileSystem.getFileStatus(Path f) return the filestatus of files in har archive.RawLocalFileSystem.getFileStatus(Path f) Stat.getFileStatus()Globber.glob()FileContext.Util.globStatus(Path pathPattern) Return all the files that match filePattern and are not checksum files.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.FileSystem.globStatus(Path pathPattern) Return all the files that match filePattern and are not checksum files.FileSystem.globStatus(Path pathPattern, PathFilter filter) Return an array ofFileStatusobjects whose path names matchpathPatternand is accepted by the user-supplied path filter.abstract FileStatus[]AbstractFileSystem.listStatus(Path f) The specification of this method matches that ofFileContext.Util.listStatus(Path)except that Path f must be for this file system.ChecksumFileSystem.listStatus(Path f) List the statuses of the files/directories in the given path if the path is a directory.ChecksumFs.listStatus(Path f) DelegateToFileSystem.listStatus(Path f) FileContext.Util.listStatus(Path f) List the statuses of the files/directories in the given path if the path is a directory.FileContext.Util.listStatus(Path[] files) FileContext.Util.listStatus(Path[] files, PathFilter filter) Filter files/directories in the given list of paths using user-supplied path filter.FileContext.Util.listStatus(Path f, PathFilter filter) Filter files/directories in the given path using 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.FileSystem.listStatus(Path[] files) Filter files/directories in the given list of paths using default path filter.FileSystem.listStatus(Path[] files, PathFilter filter) Filter files/directories in the given list of paths using user-supplied path filter.FileSystem.listStatus(Path f, PathFilter filter) Filter files/directories in the given path using the user-supplied path filter.FilterFileSystem.listStatus(Path f) List files in a directory.FilterFs.listStatus(Path f) HarFileSystem.listStatus(Path f) liststatus returns the children of a directory after looking up the index files.RawLocalFileSystem.listStatus(Path f) List the statuses of the files/directories in the given path if the path is a directory.Methods in org.apache.hadoop.fs that return types with arguments of type FileStatusModifier and TypeMethodDescriptionBatchListingOperations.batchedListStatusIterator(List<Path> paths) Batched listing API that returnsPartialListings for the passed Paths.FileSystem.getTrashRoots(boolean allUsers) Get all the trash roots for current user or all users.FilterFileSystem.getTrashRoots(boolean allUsers) FileContext.listStatus(Path f) List the statuses of the files/directories in the given path if the path is a directory.AbstractFileSystem.listStatusIterator(Path f) The specification of this method matches that ofFileContext.listStatus(Path)except that Path f must be for this file system.ChecksumFileSystem.listStatusIterator(Path p) FileSystem.listStatusIterator(Path p) Returns a remote iterator so that followup calls are made on demand while consuming the entries.FilterFileSystem.listStatusIterator(Path f) Return a remote iterator for listing in a directorystatic Function<FileStatus,PathHandle> Options.HandleOpt.resolve(BiFunction<FileStatus, Options.HandleOpt[], PathHandle> fsr, Options.HandleOpt... opt) Utility function for partial evaluation ofFileStatusinstances to a fixed set of handle options.static Function<FileStatus,PathHandle> Options.HandleOpt.resolve(FileSystem fs, Options.HandleOpt... opt) Utility function for mappingFileSystem.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 FileStatusModifier and TypeMethodDescriptionintFileStatus.compareTo(FileStatus o) Compare this FileStatus to another FileStatus based on lexicographical order of path.intLocatedFileStatus.compareTo(FileStatus o) Compare this FileStatus to another FileStatusstatic booleanFileUtil.copy(FileSystem srcFS, FileStatus srcStatus, FileSystem dstFS, Path dst, boolean deleteSource, boolean overwrite, Configuration conf) Copy a file/directory tree within/between filesystems.protected PathHandleFileSystem.createPathHandle(FileStatus stat, Options.HandleOpt... opt) Hook to implement support forPathHandleoperations.protected PathHandleFilterFileSystem.createPathHandle(FileStatus stat, Options.HandleOpt... opts) protected PathHandleHarFileSystem.createPathHandle(FileStatus stat, Options.HandleOpt... opts) protected PathHandleRawLocalFileSystem.createPathHandle(FileStatus stat, Options.HandleOpt... opts) Hook to implement support forPathHandleoperations.WithErasureCoding.getErasureCodingPolicyName(FileStatus fileStatus) Get the EC Policy name of the given file's fileStatus.FileSystem.getFileBlockLocations(FileStatus file, long start, long len) Return an array containing hostnames, offset and size of portions of the given file.FilterFileSystem.getFileBlockLocations(FileStatus file, long start, long len) HarFileSystem.getFileBlockLocations(FileStatus file, long start, long len) Get block locations from the underlying fs and fix their offsets and lengths.final PathHandleFileSystem.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 Pathstatic Path[]FileUtil.stat2Paths(FileStatus[] stats, Path path) convert an array of FileStatus to an array of Path.voidLocalFileSystemPathHandle.verify(FileStatus stat) default FutureDataInputStreamBuilderFutureDataInputStreamBuilder.withFileStatus(FileStatus status) A FileStatus may be provided to the open request.Method parameters in org.apache.hadoop.fs with type arguments of type FileStatusModifier and TypeMethodDescriptionstatic Function<FileStatus,PathHandle> Options.HandleOpt.resolve(BiFunction<FileStatus, Options.HandleOpt[], PathHandle> fsr, Options.HandleOpt... opt) Utility function for partial evaluation ofFileStatusinstances to a fixed set of handle options.Constructors in org.apache.hadoop.fs with parameters of type FileStatusModifierConstructorDescriptionDirectoryEntries(FileStatus[] entries, byte[] token, boolean hasMore) 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 FileStatusModifier and TypeMethodDescriptionFTPFileSystem.getFileStatus(Path file) FTPFileSystem.listStatus(Path file) -
Uses of FileStatus in org.apache.hadoop.fs.impl
Methods in org.apache.hadoop.fs.impl that return FileStatusModifier and TypeMethodDescriptionprotected FileStatusFutureDataInputStreamBuilderImpl.getStatus()Get any status set inFutureDataInputStreamBuilderImpl.withFileStatus(FileStatus).OpenFileParameters.getStatus()Methods in org.apache.hadoop.fs.impl with parameters of type FileStatusModifier and TypeMethodDescriptionFutureDataInputStreamBuilderImpl.withFileStatus(FileStatus st) OpenFileParameters.withStatus(FileStatus st) -
Uses of FileStatus in org.apache.hadoop.fs.permission
Methods in org.apache.hadoop.fs.permission with parameters of type FileStatusModifier and TypeMethodDescriptionshortChmodParser.applyNewPermission(FileStatus file) Apply permission against specified file and determine what the new mode would be -
Uses of FileStatus in org.apache.hadoop.fs.protocolPB
Methods in org.apache.hadoop.fs.protocolPB that return FileStatusModifier and TypeMethodDescriptionstatic FileStatusPBHelper.convert(org.apache.hadoop.fs.FSProtos.FileStatusProto proto) Methods in org.apache.hadoop.fs.protocolPB with parameters of type FileStatusModifier and TypeMethodDescriptionstatic org.apache.hadoop.fs.FSProtos.FileStatusProtoPBHelper.convert(FileStatus stat) -
Uses of FileStatus in org.apache.hadoop.fs.sftp
Methods in org.apache.hadoop.fs.sftp that return FileStatusModifier and TypeMethodDescriptionSFTPFileSystem.getFileStatus(Path f) SFTPFileSystem.listStatus(Path f) -
Uses of FileStatus in org.apache.hadoop.fs.shell
Fields in org.apache.hadoop.fs.shell declared as FileStatusMethods in org.apache.hadoop.fs.shell that return FileStatus -
Uses of FileStatus in org.apache.hadoop.fs.shell.find
Methods in org.apache.hadoop.fs.shell.find that return FileStatusModifier and TypeMethodDescriptionprotected FileStatusBaseExpression.getFileStatus(PathData item, int depth) Returns theFileStatusfrom thePathDataitem. -
Uses of FileStatus in org.apache.hadoop.fs.viewfs
Methods in org.apache.hadoop.fs.viewfs that return FileStatusModifier and TypeMethodDescriptionViewFs.getFileLinkStatus(Path f) ViewFileSystem.getFileStatus(Path f) Return a file status object that represents the path.ViewFs.getFileStatus(Path f) The specification of this method matches that ofFileContext.getFileStatus(Path)except that an UnresolvedLinkException may be thrown if a symlink is encountered in the path.ViewFileSystem.listStatus(Path f) List the statuses of the files/directories in the given path if the path is a directory.ViewFs.listStatus(Path f) The specification of this method matches that ofFileContext.Util.listStatus(Path)except that Path f must be for this file system.Methods in org.apache.hadoop.fs.viewfs that return types with arguments of type FileStatusModifier and TypeMethodDescriptionViewFileSystem.getTrashRoots(boolean allUsers) Get all the trash roots for current user or all users.ViewFs.listStatusIterator(Path f) Methods in org.apache.hadoop.fs.viewfs with parameters of type FileStatusModifier and TypeMethodDescriptionViewFileSystem.getFileBlockLocations(FileStatus fs, long start, long len) -
Uses of FileStatus in org.apache.hadoop.io.wrappedio
Methods in org.apache.hadoop.io.wrappedio with parameters of type FileStatusModifier and TypeMethodDescriptionstatic FSDataInputStreamWrappedIO.fileSystem_openFile(FileSystem fs, Path path, String policy, FileStatus status, Long length, Map<String, String> options) OpenFile assistant, easy reflection-based access toFileSystem.openFile(Path)and blocks awaiting the operation completion. -
Uses of FileStatus in org.apache.hadoop.io.wrappedio.impl
Methods in org.apache.hadoop.io.wrappedio.impl with parameters of type FileStatusModifier and TypeMethodDescriptionDynamicWrappedIO.fileSystem_openFile(FileSystem fs, Path path, String policy, FileStatus status, Long length, Map<String, String> options) OpenFile assistant, easy reflection-based access toFileSystem#openFile(Path)and blocks awaiting the operation completion.static FSDataInputStreamDynamicWrappedIO.openFile(FileSystem fs, FileStatus status, String readPolicies) Open a file. -
Uses of FileStatus in org.apache.hadoop.util
Methods in org.apache.hadoop.util with parameters of type FileStatusModifier and TypeMethodDescriptionJsonSerialization.load(FileSystem fs, Path path, FileStatus status) Load from a Hadoop filesystem.