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.input_readers.RandomStringInputReader Class Reference
Inheritance diagram for google.appengine.ext.mapreduce.input_readers.RandomStringInputReader:
google.appengine.ext.mapreduce.input_readers.InputReader google.appengine.ext.mapreduce.json_util.JsonMixin

Public Member Functions

def __init__
 
def __iter__
 
def split_input
 
def validate
 
def from_json
 
def to_json
 
- Public Member Functions inherited from google.appengine.ext.mapreduce.input_readers.InputReader
def __iter__
 
def next
 
def from_json
 
def to_json
 
def split_input
 
def validate
 
- Public Member Functions inherited from google.appengine.ext.mapreduce.json_util.JsonMixin
def to_json_str
 
def from_json_str
 

Static Public Attributes

string COUNT = "count"
 
string STRING_LENGTH = "string_length"
 
int DEFAULT_STRING_LENGTH = 10
 
- Static Public Attributes inherited from google.appengine.ext.mapreduce.input_readers.InputReader
 expand_parameters = False
 
string NAMESPACE_PARAM = "namespace"
 
string NAMESPACES_PARAM = "namespaces"
 

Detailed Description

RandomStringInputReader generates random strings as output.

Primary usage is to populate output with testing entries.

Constructor & Destructor Documentation

def google.appengine.ext.mapreduce.input_readers.RandomStringInputReader.__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.

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