Example usage for Java org.apache.hadoop.fs Trash fields, constructors, methods, implement or subclass
The text is from its open source code.
Trash(FileSystem fs, Configuration conf) Construct a trash can accessor for the FileSystem provided. | |
Trash(Configuration conf) Construct a trash can accessor. |
void | expunge() Delete old checkpoint(s). |
boolean | isEnabled() Returns whether the trash is enabled for this filesystem |
boolean | moveToAppropriateTrash(FileSystem fs, Path p, Configuration conf) In case of the symlinks or mount points, one has to move the appropriate trashbin in the actual volume of the path p being deleted. |
boolean | moveToTrash(Path path) Move a file or directory to the current trash directory. |