App Engine Python SDK  v1.6.9 rev.445
The Python runtime is available as an experimental Preview feature.
Public Member Functions | List of all members
google.appengine.ext.mapreduce.mapreduce_pipeline.ReducePipeline Class Reference
Inheritance diagram for google.appengine.ext.mapreduce.mapreduce_pipeline.ReducePipeline:
google.appengine.ext.mapreduce.pipeline_base._OutputSlotsMixin google.appengine.ext.mapreduce.pipeline_base.PipelineBase

Public Member Functions

def run
 
- Public Member Functions inherited from google.appengine.ext.mapreduce.pipeline_base.PipelineBase
def start
 

Additional Inherited Members

- Static Public Attributes inherited from google.appengine.ext.mapreduce.pipeline_base._OutputSlotsMixin
list output_names = ["result_status"]
 

Detailed Description

Runs the reduce stage of MapReduce.

Merge-reads input files and runs reducer function on them.

Args:
  job_name: mapreduce job name as string.
  reader_spec: specification of reduce function.
  output_writer_spec: specification of output write to use with reduce
    function.
  params: mapper parameters to use as dict.
  filenames: list of filenames to reduce.
  combiner_spec: Optional. Specification of a combine function. If not
    supplied, no combine step will take place. The combine function takes a
    key, list of values and list of previously combined results. It yields
    combined values that might be processed by another combiner call, but will
    eventually end up in reducer. The combiner output key is assumed to be the
    same as the input key.
  shards: Optional. Number of output shards. Defaults to the number of
    input files.

Returns:
  filenames from output writer.

The documentation for this class was generated from the following file: