App Engine Python SDK  v1.6.9 rev.445
The Python runtime is available as an experimental Preview feature.
Public Member Functions | Static Public Attributes | List of all members
google.appengine.ext.mapreduce.file_format_root._FilesStream Class Reference
Inheritance diagram for google.appengine.ext.mapreduce.file_format_root._FilesStream:
google.appengine.ext.mapreduce.file_format_root._RootFilesStream

Public Member Functions

def __init__
 
def advance
 
def current
 
def checkpoint
 
def to_json
 
def from_json
 

Static Public Attributes

string PREVIOUS_OFFSET = 'previous'
 
string INDEX = 'index'
 

Detailed Description

Provide FileFormat with a stream of file-like objects as inputs.

Attributes:
  current: the current file-like object to read from.

Constructor & Destructor Documentation

def google.appengine.ext.mapreduce.file_format_root._FilesStream.__init__ (   self,
  index,
  file_format_root,
  offset = 0,
  next_func = None 
)
Init.

Args:
  file_format_root: the FileFormatRoot this stream should talk to.
  index: the index of this stream within the FileFormatRoot.
  offset: the offset to start reading current file.
  next_func: a function that gives back the next file from the stream.

Member Function Documentation

def google.appengine.ext.mapreduce.file_format_root._FilesStream.advance (   self)
Advance _current to the next file-like object.

_FileStream should call this after consumed the current file-like object.

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