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.api.map_job.sample_input_reader.SampleInputReader Class Reference
Inheritance diagram for google.appengine.ext.mapreduce.api.map_job.sample_input_reader.SampleInputReader:

Public Member Functions

def __init__
 
def __iter__
 
def from_json
 
def to_json
 
def split_input
 
def validate
 

Static Public Attributes

string COUNT = "count"
 
string STRING_LENGTH = "string_length"
 

Detailed Description

A sample InputReader that generates random strings as output.

Primary usage is to as an example InputReader that can be use for test
purposes.

Constructor & Destructor Documentation

def google.appengine.ext.mapreduce.api.map_job.sample_input_reader.SampleInputReader.__init__ (   self,
  count,
  string_length 
)
Initialize input reader.

Args:
  count: number of entries this shard should generate.
  string_length: the length of generated random strings.

Member Function Documentation

def google.appengine.ext.mapreduce.api.map_job.sample_input_reader.SampleInputReader.from_json (   cls,
  state 
)
Inherit docs.
def google.appengine.ext.mapreduce.api.map_job.sample_input_reader.SampleInputReader.split_input (   cls,
  job_config 
)
Inherit docs.
def google.appengine.ext.mapreduce.api.map_job.sample_input_reader.SampleInputReader.to_json (   self)
Inherit docs.
def google.appengine.ext.mapreduce.api.map_job.sample_input_reader.SampleInputReader.validate (   cls,
  job_config 
)
Inherit docs.

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