| Package | Description |
|---|---|
| org.apache.hadoop.fs |
An abstract file system API.
|
| org.apache.hadoop.fs.shell |
Support for the execution of a file system command.
|
| org.apache.hadoop.fs.shell.find |
| Modifier and Type | Method | Description |
|---|---|---|
static PathData |
FileUtil.checkExistItem(PathData item) |
|
static PathData |
FileUtil.checkItemForSymlink(PathData item) |
|
static PathData |
FileUtil.checkPathForSymlink(Path path,
Configuration conf) |
| Modifier and Type | Method | Description |
|---|---|---|
static PathData |
FileUtil.checkExistItem(PathData item) |
|
static PathData |
FileUtil.checkItemForSymlink(PathData item) |
|
static Path |
FileUtil.fixSymlinkPath(PathData path) |
|
protected void |
FsShellPermissions.Chmod.processPath(PathData item) |
|
protected void |
FsShellPermissions.Chown.processPath(PathData item) |
| Modifier and Type | Field | Description |
|---|---|---|
protected PathData |
CommandWithDestination.dst |
| Modifier and Type | Field | Description |
|---|---|---|
protected java.util.List<PathData> |
Truncate.waitList |
| Modifier and Type | Method | Description |
|---|---|---|
static PathData[] |
PathData.expandAsGlob(java.lang.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(java.lang.String extension) |
Returns a new PathData with the given extension.
|
| Modifier and Type | Method | Description |
|---|---|---|
protected java.util.List<PathData> |
Command.expandArgument(java.lang.String arg) |
Expand the given argument into a list of
PathData objects. |
protected java.util.LinkedList<PathData> |
Command.expandArguments(java.util.LinkedList<java.lang.String> args) |
Expands a list of arguments into
PathData objects. |
RemoteIterator<PathData> |
PathData.getDirectoryContentsIterator() |
Returns a RemoteIterator for PathData objects of the items contained in the
given directory.
|
| Modifier and Type | Method | Description |
|---|---|---|
int |
PathData.compareTo(PathData o) |
|
protected void |
CopyCommandWithMultiThread.copyFileToTarget(PathData src,
PathData target) |
|
PathData |
PathData.getPathDataForChild(PathData child) |
Creates a new object for a child entry in this directory
|
protected boolean |
Command.isPathRecursable(PathData item) |
Determines whether a
PathData item is recursable. |
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 |
TouchCommands.Touch.processNonexistentPath(PathData item) |
|
protected void |
TouchCommands.Touchz.processNonexistentPath(PathData item) |
|
protected void |
Command.processPath(PathData item) |
Hook for commands to implement an operation to be applied on each
path for the command.
|
protected void |
Count.processPath(PathData src) |
|
protected void |
TouchCommands.Touch.processPath(PathData item) |
|
protected void |
TouchCommands.Touchz.processPath(PathData item) |
|
protected void |
Truncate.processPath(PathData item) |
|
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,
RemoteIterator<PathData> itemsIterator) |
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...) |
protected void |
Command.run(PathData pathData) |
Execute the command on the input path data.
|
| Modifier and Type | Method | Description |
|---|---|---|
protected boolean |
CopyCommandWithMultiThread.isMultiThreadNecessary(java.util.LinkedList<PathData> args) |
|
protected void |
Command.processArguments(java.util.LinkedList<PathData> args) |
Processes the command's list of expanded arguments.
|
protected void |
Concat.processArguments(java.util.LinkedList<PathData> args) |
|
protected void |
CopyCommandWithMultiThread.processArguments(java.util.LinkedList<PathData> args) |
|
protected void |
Truncate.processArguments(java.util.LinkedList<PathData> args) |
|
protected void |
Command.processPaths(PathData parent,
RemoteIterator<PathData> itemsIterator) |
Iterates over the given expanded paths and invokes
Command.processPath(PathData) on each element. |
| Modifier and Type | Method | Description |
|---|---|---|
Result |
Expression.apply(PathData item,
int depth) |
Apply the expression to the specified item, called once for each item.
|
Result |
FilterExpression.apply(PathData item,
int depth) |
|
protected FileStatus |
BaseExpression.getFileStatus(PathData item,
int depth) |
Returns the
FileStatus from the PathData item. |
protected FileSystem |
BaseExpression.getFileSystem(PathData item) |
Returns the
FileSystem associated with the PathData item. |
protected Path |
BaseExpression.getPath(PathData item) |
|
protected boolean |
Find.isPathRecursable(PathData item) |
|
protected void |
Find.postProcessPath(PathData item) |
|
protected void |
Find.processPath(PathData item) |
|
protected void |
Find.recursePath(PathData item) |
| Modifier and Type | Method | Description |
|---|---|---|
protected void |
Find.processArguments(java.util.LinkedList<PathData> args) |
Copyright © 2008–2025 Apache Software Foundation. All rights reserved.