def google.appengine.ext.mapreduce.key_ranges.KeyRangesFactory.create_from_list |
( |
|
cls, |
|
|
|
list_of_key_ranges |
|
) |
| |
Create a KeyRanges object.
Args:
list_of_key_ranges: a list of key_range.KeyRange object.
Returns:
A _KeyRanges object.
def google.appengine.ext.mapreduce.key_ranges.KeyRangesFactory.create_from_ns_range |
( |
|
cls, |
|
|
|
ns_range |
|
) |
| |
Create a KeyRanges object.
Args:
ns_range: a namespace_range.NameSpace Range object.
Returns:
A _KeyRanges object.
def google.appengine.ext.mapreduce.key_ranges.KeyRangesFactory.from_json |
( |
|
cls, |
|
|
|
json |
|
) |
| |
Deserialize from json.
Args:
json: a dict of json compatible fields.
Returns:
a KeyRanges object.
Raises:
ValueError: if the json is invalid.
The documentation for this class was generated from the following file:
- code/googleappengine-read-only/python/google/appengine/ext/mapreduce/key_ranges.py