App Engine Python SDK  v1.6.9 rev.445
The Python runtime is available as an experimental Preview feature.
Public Member Functions | List of all members
google.appengine.ext.ndb.tasklets.ReducingFuture Class Reference
Inheritance diagram for google.appengine.ext.ndb.tasklets.ReducingFuture:
google.appengine.ext.ndb.tasklets.Future

Public Member Functions

def __init__
 
def complete
 
def set_exception
 
def putq
 
def add_dependent
 
- Public Member Functions inherited from google.appengine.ext.ndb.tasklets.Future
def __init__
 
def __repr__
 
def dump
 
def dump_stack
 
def add_callback
 
def add_immediate_callback
 
def set_result
 
def set_exception
 
def done
 
def state
 
def wait
 
def get_exception
 
def get_traceback
 
def check_success
 
def get_result
 
def wait_any
 
def wait_all
 

Additional Inherited Members

- Static Public Attributes inherited from google.appengine.ext.ndb.tasklets.Future
 IDLE = apiproxy_rpc.RPC.IDLE
 
 RUNNING = apiproxy_rpc.RPC.RUNNING
 
 FINISHING = apiproxy_rpc.RPC.FINISHING
 

Detailed Description

A Queue following the same protocol as MultiFuture.

However the result, instead of being a list of results of dependent
Futures, is computed by calling a 'reducer' tasklet.  The reducer tasklet
takes a list of values and returns a single value.  It may be called
multiple times on sublists of values and should behave like
e.g. sum().

NOTE: The reducer input values may be reordered compared to the
order in which they were added to the queue.

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