Package | Description |
---|---|
org.apache.hadoop.fs |
An abstract file system API.
|
org.apache.hadoop.fs.shell |
Modifier and Type | Method and Description |
---|---|
protected void |
FsShellPermissions.Chmod.processPath(PathData item) |
protected void |
FsShellPermissions.Chown.processPath(PathData item) |
Modifier and Type | Method and Description |
---|---|
static 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 |
PathData.getPathDataForChild(PathData child)
Creates a new object for a child entry in this directory
|
PathData |
PathData.suffix(String extension)
Returns a new PathData with the given extension.
|
Modifier and Type | Method and Description |
---|---|
protected List<PathData> |
Command.expandArgument(String arg)
Expand the given argument into a list of
PathData objects. |
protected LinkedList<PathData> |
Command.expandArguments(LinkedList<String> args)
Expands a list of arguments into
PathData objects. |
Modifier and Type | Method and Description |
---|---|
int |
PathData.compareTo(PathData o) |
PathData |
PathData.getPathDataForChild(PathData child)
Creates a new object for a child entry in this directory
|
protected void |
Command.postProcessPath(PathData item)
Hook for commands to implement an operation to be applied on each
path for the command after being processed successfully
|
protected void |
Command.processArgument(PathData item)
Processes a
PathData item, calling
Command.processPathArgument(PathData) or
Command.processNonexistentPath(PathData) on each item. |
protected void |
Command.processNonexistentPath(PathData item)
Provides a hook for handling paths that don't exist.
|
protected void |
Count.processPath(PathData src) |
protected void |
Command.processPath(PathData item)
Hook for commands to implement an operation to be applied on each
path for the command.
|
protected void |
Command.processPathArgument(PathData item)
This is the last chance to modify an argument before going into the
(possibly) recursive
Command.processPaths(PathData, PathData...)
-> Command.processPath(PathData) loop. |
protected void |
Command.processPaths(PathData parent,
PathData... items)
Iterates over the given expanded paths and invokes
Command.processPath(PathData) on each element. |
protected void |
Command.processPaths(PathData parent,
PathData... items)
Iterates over the given expanded paths and invokes
Command.processPath(PathData) on each element. |
protected void |
Command.recursePath(PathData item)
Gets the directory listing for a path and invokes
Command.processPaths(PathData, PathData...) |
Modifier and Type | Method and Description |
---|---|
protected void |
Command.processArguments(LinkedList<PathData> args)
Processes the command's list of expanded arguments.
|
Copyright © 2013 Apache Software Foundation. All rights reserved.