models.get_map_reduce_app_runs_params module¶
-
class
models.get_map_reduce_app_runs_params.
GetMapReduceAppRunsParams
(app_id=None, app_instance_id=None, include_details=None, last_num_instances=None, max_run_end_time_in_secs=None, max_run_start_time_in_secs=None, min_run_end_time_in_secs=None, min_run_start_time_in_secs=None, page_size=None, run_status=None, start_offset=None)[source]¶ Bases:
object
Implementation of the ‘GetMapReduceAppRunsParams’ model.
GetMapReduceAppRunsParams specifies the input params to fetch the map reduce application runs.
- Attributes:
app_id (int): ApplicationId is the Id of the map reduce application. app_instance_id (int): ApplicationInstanceId is the Id of the map
reduce application instance.
- include_details (bool): If this flag is true, then send details of
instance, else send only RunInfo.
- last_num_instances (long|int): Give last N instance of an app based on
end time.
- max_run_end_time_in_secs (long|int): MaxRunEndTimestampInSecs
specifies the maximum job run end timestamp in seconds. App run instances with end time less than equal to MaxRunEndTimestampInSecs will be selected. Default is LONG_MAX (inf).
- max_run_start_time_in_secs (int|long): MaxRunStartTimestampInSecs
specifies the maximum job run start timestamp in seconds. App run instances with start time less than equal to MaxRunStartTimestampInSecs will be selected. Default is LONG_MAX (inf).
- min_run_end_time_in_secs (long|int): MinRunEndTimestampInSecs
specifies the minimum job run end timestamp in seconds. App run instances with end time greater than equal to MinRunEndTimestampInSecs will be selected. Default is 0, i.e. beginning of time.
- min_run_start_time_in_secs (int|long): MinRunStartTimestampInSecs
specifies the minimum job run start timestamp in seconds. App run instances with start time greater than equal to MinRunStartTimestampInSecs will be selected. Default is 0, i.e. beginning of time.
page_size (int|long): Number of results to be displayed on a page. run_status (string): Filter instances based on the map reduce
application run status.
- start_offset (int): Start offset for pagination from where
result needs to be fetched.
-
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.