Pool of append operations for records files.
def google.appengine.ext.mapreduce.output_writers.RecordsPool.__init__ |
( |
|
self, |
|
|
|
filename, |
|
|
|
flush_size_chars = _FILES_API_FLUSH_SIZE , |
|
|
|
ctx = None , |
|
|
|
exclusive = False |
|
) |
| |
Constructor.
Args:
filename: file name to write data to as string.
flush_size_chars: buffer flush threshold as int.
ctx: mapreduce context as context.Context.
exclusive: a boolean flag indicating if the pool has an exclusive
access to the file. If it is True, then it's possible to write
bigger chunks of data.
def google.appengine.ext.mapreduce.output_writers.RecordsPool.append |
( |
|
self, |
|
|
|
data |
|
) |
| |
def google.appengine.ext.mapreduce.output_writers.RecordsPool.flush |
( |
|
self | ) |
|
The documentation for this class was generated from the following file:
- code/googleappengine-read-only/python/google/appengine/ext/mapreduce/output_writers.py