Uses of Class
org.apache.hadoop.fs.shell.PathData
Packages that use PathData
Package
Description
An abstract file system API.
Support for the execution of a file system command.
-
Uses of PathData in org.apache.hadoop.fs
Methods in org.apache.hadoop.fs with parameters of type PathDataModifier and TypeMethodDescriptionprotected voidFsShellPermissions.Chmod.processPath(PathData item) protected voidFsShellPermissions.Chown.processPath(PathData item) -
Uses of PathData in org.apache.hadoop.fs.shell
Fields in org.apache.hadoop.fs.shell declared as PathDataFields in org.apache.hadoop.fs.shell with type parameters of type PathDataMethods in org.apache.hadoop.fs.shell that return PathDataModifier and TypeMethodDescriptionstatic PathData[]PathData.expandAsGlob(String pattern, Configuration conf) Expand the given path as a glob pattern.PathData[]PathData.getDirectoryContents()Returns a list of PathData objects of the items contained in the given directory.PathData.getPathDataForChild(PathData child) Creates a new object for a child entry in this directoryReturns a new PathData with the given extension.Methods in org.apache.hadoop.fs.shell that return types with arguments of type PathDataModifier and TypeMethodDescriptionCommand.expandArgument(String arg) Expand the given argument into a list ofPathDataobjects.protected LinkedList<PathData>Command.expandArguments(LinkedList<String> args) Expands a list of arguments intoPathDataobjects.PathData.getDirectoryContentsIterator()Returns a RemoteIterator for PathData objects of the items contained in the given directory.Methods in org.apache.hadoop.fs.shell with parameters of type PathDataModifier and TypeMethodDescriptionintprotected voidCopyCommandWithMultiThread.copyFileToTarget(PathData src, PathData target) PathData.getPathDataForChild(PathData child) Creates a new object for a child entry in this directoryprotected booleanCommand.isPathRecursable(PathData item) Determines whether aPathDataitem is recursable.protected voidCommand.postProcessPath(PathData item) Hook for commands to implement an operation to be applied on each path for the command after being processed successfullyprotected voidCommand.processArgument(PathData item) Processes aPathDataitem, callingCommand.processPathArgument(PathData)orCommand.processNonexistentPath(PathData)on each item.protected voidCommand.processNonexistentPath(PathData item) Provides a hook for handling paths that don't exist.protected voidTouchCommands.Touch.processNonexistentPath(PathData item) protected voidTouchCommands.Touchz.processNonexistentPath(PathData item) protected voidCommand.processPath(PathData item) Hook for commands to implement an operation to be applied on each path for the command.protected voidCount.processPath(PathData src) protected voidTouchCommands.Touch.processPath(PathData item) protected voidTouchCommands.Touchz.processPath(PathData item) protected voidTruncate.processPath(PathData item) protected voidCommand.processPathArgument(PathData item) This is the last chance to modify an argument before going into the (possibly) recursiveCommand.processPaths(PathData, PathData...)->Command.processPath(PathData)loop.protected voidCommand.processPaths(PathData parent, RemoteIterator<PathData> itemsIterator) Iterates over the given expanded paths and invokesCommand.processPath(PathData)on each element.protected voidCommand.processPaths(PathData parent, PathData... items) Iterates over the given expanded paths and invokesCommand.processPath(PathData)on each element.protected voidCommand.recursePath(PathData item) Gets the directory listing for a path and invokesCommand.processPaths(PathData, PathData...)protected voidExecute the command on the input path data.Method parameters in org.apache.hadoop.fs.shell with type arguments of type PathDataModifier and TypeMethodDescriptionprotected booleanCopyCommandWithMultiThread.isMultiThreadNecessary(LinkedList<PathData> args) protected voidCommand.processArguments(LinkedList<PathData> args) Processes the command's list of expanded arguments.protected voidConcat.processArguments(LinkedList<PathData> args) protected voidCopyCommandWithMultiThread.processArguments(LinkedList<PathData> args) protected voidTruncate.processArguments(LinkedList<PathData> args) protected voidCommand.processPaths(PathData parent, RemoteIterator<PathData> itemsIterator) Iterates over the given expanded paths and invokesCommand.processPath(PathData)on each element. -
Uses of PathData in org.apache.hadoop.fs.shell.find
Methods in org.apache.hadoop.fs.shell.find with parameters of type PathDataModifier and TypeMethodDescriptionApply the expression to the specified item, called once for each item.protected FileStatusBaseExpression.getFileStatus(PathData item, int depth) Returns theFileStatusfrom thePathDataitem.protected FileSystemBaseExpression.getFileSystem(PathData item) Returns theFileSystemassociated with thePathDataitem.protected Pathprotected booleanFind.isPathRecursable(PathData item) protected voidFind.postProcessPath(PathData item) protected voidFind.processPath(PathData item) protected voidFind.recursePath(PathData item) Method parameters in org.apache.hadoop.fs.shell.find with type arguments of type PathDataModifier and TypeMethodDescriptionprotected voidFind.processArguments(LinkedList<PathData> args)