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.model.MapreduceControl Class Reference
Inheritance diagram for google.appengine.ext.mapreduce.model.MapreduceControl:
google.appengine.ext.db.Model

Public Member Functions

def kind
 
def get_key_by_job_id
 
def abort
 
- Public Member Functions inherited from google.appengine.ext.db.Model
def __new__
 
def __init__
 
def key
 
def put
 
def delete
 
def is_saved
 
def has_key
 
def dynamic_properties
 
def instance_properties
 
def parent
 
def parent_key
 
def to_xml
 
def get
 
def get_by_key_name
 
def get_by_id
 
def get_or_insert
 
def all
 
def gql
 
def from_entity
 
def kind
 
def entity_type
 
def properties
 
def fields
 

Static Public Attributes

string ABORT = "abort"
 
tuple command = db.TextProperty(choices=_COMMANDS, required=True)
 
- Static Public Attributes inherited from google.appengine.ext.db.Model
 save = put
 

Detailed Description

Datastore entity used to control mapreduce job execution.

Only one command may be sent to jobs at a time.

Properties:
  command: The command to send to the job.

Member Function Documentation

def google.appengine.ext.mapreduce.model.MapreduceControl.abort (   cls,
  mapreduce_id,
  kwargs 
)
Causes a job to abort.

Args:
  mapreduce_id: The job to abort. Not verified as a valid job.
def google.appengine.ext.mapreduce.model.MapreduceControl.get_key_by_job_id (   cls,
  mapreduce_id 
)
Retrieves the Key for a mapreduce ID.

Args:
  mapreduce_id: The job to fetch.

Returns:
  Datastore Key for the command for the given job ID.
def google.appengine.ext.mapreduce.model.MapreduceControl.kind (   cls)
Returns entity kind.

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