models.hdfs_recover_job_params module

class models.hdfs_recover_job_params.HdfsRecoverJobParams(hdfs_exclude_pattern=None, hdfs_recover_pattern=None, target_directory=None)[source]

Bases: object

Implementation of the ‘HdfsRecoverJobParams’ model.

Contains any additional hdfs environment specific params for the recover job.

Attributes:
hdfs_exclude_pattern (list of string): Any path/Glob pattern from HDFS

that is to excluded.

hdfs_recover_pattern (list of string): Any path/Glob pattern from HDFS

that is to recovered.

target_directory (string): A target directory where all the recovered

entities are created

classmethod from_dictionary(dictionary)[source]

Creates an instance of this model from a dictionary

Args:

dictionary (dictionary): A dictionary representation of the object as obtained from the deserialization of the server’s response. The keys MUST match property names in the API description.

Returns:

object: An instance of this structure class.