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.output_writers.RecordsPool Class Reference
Inheritance diagram for google.appengine.ext.mapreduce.output_writers.RecordsPool:
google.appengine.ext.mapreduce.context.Pool

Public Member Functions

def __init__
 
def append
 
def flush
 
def __enter__
 
def __exit__
 
- Public Member Functions inherited from google.appengine.ext.mapreduce.context.Pool
def flush
 

Detailed Description

Pool of append operations for records files.

Constructor & Destructor Documentation

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.

Member Function Documentation

def google.appengine.ext.mapreduce.output_writers.RecordsPool.append (   self,
  data 
)
Append data to a file.
def google.appengine.ext.mapreduce.output_writers.RecordsPool.flush (   self)
Flush pool contents.

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