|
def | __init__ |
|
def | advance |
|
def | current |
|
def | checkpoint |
|
def | to_json |
|
def | from_json |
|
|
string | PREVIOUS_OFFSET = 'previous' |
|
string | INDEX = 'index' |
|
Provide FileFormat with a stream of file-like objects as inputs.
Attributes:
current: the current file-like object to read from.
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.
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:
- code/googleappengine-read-only/python/google/appengine/ext/mapreduce/file_format_root.py