![]() |
App Engine Python SDK
v1.6.9 rev.445
The Python runtime is available as an experimental Preview feature.
|
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" |
A sample InputReader that generates random strings as output. Primary usage is to as an example InputReader that can be use for test purposes.
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.
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.