@Private @Unstable
| Class | Description |
|---|---|
| Command |
An abstract class for the execution of a file system command
|
| CommandFactory |
class to search for and register commands
|
| CommandFormat |
Parse the args of a command and check the format of args.
|
| Concat |
Concat the given files.
|
| CopyCommandWithMultiThread |
Abstract command to enable sub copy commands run with multi-thread.
|
| Count |
Count the number of directories, files, bytes, quota, and remaining quota.
|
| FsCommand |
Base class for all "hadoop fs" commands.
|
| PathData |
Encapsulates a Path (path), its FileStatus (stat), and its FileSystem (fs).
|
| TouchCommands |
Unix touch like commands
|
| TouchCommands.Touch |
A UNIX like touch command.
|
| TouchCommands.Touchz |
(Re)create zero-length file at the specified path.
|
| Truncate |
Truncates a file to a new size
|
| Enum | Description |
|---|---|
| PathData.FileTypeRequirement | |
| PathData.PathType |
| Exception | Description |
|---|---|
| CommandFormat.DuplicatedOptionException |
Used when a duplicated option is supplied to a command.
|
| CommandFormat.IllegalNumberOfArgumentsException |
Used when the arguments exceed their bounds
|
| CommandFormat.NotEnoughArgumentsException |
Used when too few arguments are supplied to a command
|
| CommandFormat.TooManyArgumentsException |
Used when too many arguments are supplied to a command
|
| CommandFormat.UnknownOptionException |
Used when an unsupported option is supplied to a command
|
Copyright © 2008–2025 Apache Software Foundation. All rights reserved.