Java org.apache.hadoop.fs TrashPolicy fields, constructors, methods, implement or subclass

Example usage for Java org.apache.hadoop.fs TrashPolicy fields, constructors, methods, implement or subclass

Introduction

In this page you can find the methods, fields and constructors for org.apache.hadoop.fs TrashPolicy.

The text is from its open source code.

Method

PathgetCurrentTrashDir()
Get the current working directory of the Trash Policy This API does not work with files deleted from encryption zone when HDFS data encryption at rest feature is enabled as rename file between encryption zones or encryption zone and non-encryption zone is not allowed.
TrashPolicygetInstance(Configuration conf, FileSystem fs, Path home)
Get an instance of the configured TrashPolicy based on the value of the configuration parameter fs.trash.classname.