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.file_format_root.FileFormatRoot Class Reference
Inheritance diagram for google.appengine.ext.mapreduce.file_format_root.FileFormatRoot:
google.appengine.ext.mapreduce.json_util.JsonMixin

Public Member Functions

def __init__
 
def __repr__
 
def __iter__
 
def to_json
 
def from_json
 
def next
 
- Public Member Functions inherited from google.appengine.ext.mapreduce.json_util.JsonMixin
def to_json_str
 
def from_json_str
 

Detailed Description

FileFormatRoot.

FileFormatRoot takes a list of FileFormats as processing units and
a list of _FileRanges as inputs. It provides an interface to
iterate through all the inputs. All inputs will be processed by each
processing unit in a cascaded manner before being emitted.

The order of the list of FileFormats matters. The last
FileFormat's output is returned by FileFormatRoot.
Each FileFormat asks FileFormatRoot for inputs, which are either outputs
from its previous FileFormat or, in the case of the first FileFormat,
outputs directly from FileFormatRoot.

FileFormats don't know each other. FileFormatRoot coordinates all
their initializations, (de)serialization, and communications.

Constructor & Destructor Documentation

def google.appengine.ext.mapreduce.file_format_root.FileFormatRoot.__init__ (   self,
  formats,
  inputs,
  files_streams_json = None 
)
Init.

Args:
  formats: A list of _FileFormats.
  inputs: A list of _FileRanges.
  init_files_streams: If to initialize files streams to default value.

Member Function Documentation

def google.appengine.ext.mapreduce.file_format_root.FileFormatRoot.next (   self)
Iterate over inputs.

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