models.map_reduce_info module

class models.map_reduce_info.MapReduceInfo(app_property=None, aux_data=None, description=None, excluded_data_source_vec=None, id=None, is_system_defined=None, mapper_id=None, name=None, reducer_id=None, required_property_vec=None)[source]

Bases: object

Implementation of the ‘MapReduceInfo’ model.

This will be used to encapsulate information about mapper and reducer only. On UI this will be used to show the list of available apps to the user.

Attributes:

app_property (MapReduceInfo_AppProperty): TODO: Type description here. aux_data (MapReduceAuxData): Auxiliary data for map reduce. description (string): Map reduce job description. excluded_data_source_vec (list of long|int): List of all excluded data

sources for this app.

id (long|int): ID of map reduce job. is_system_defined (bool): Flag to denote if this is system pre-defined

app or user has written this app.

mapper_id (long|int): ID of the mapper to process the input. name (string): Map reduce job name. reducer_id (int): ID of the reducer. required_property_vec (list of MapReduceInfo_RequiredProperty): TODO:

Type description here.

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.