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.datastore.datastore_query._BaseQuery Class Reference
Inheritance diagram for google.appengine.datastore.datastore_query._BaseQuery:
google.appengine.datastore.datastore_query._BaseComponent google.appengine.datastore.datastore_query._AugmentedQuery google.appengine.datastore.datastore_query.Query

Public Member Functions

def run
 
def run_async
 
def __getstate__
 
- Public Member Functions inherited from google.appengine.datastore.datastore_query._BaseComponent
def __eq__
 
def __ne__
 

Detailed Description

A base class for query implementations.

Member Function Documentation

def google.appengine.datastore.datastore_query._BaseQuery.run (   self,
  conn,
  query_options = None 
)
Runs the query using provided datastore_rpc.Connection.

Args:
  conn: The datastore_rpc.Connection to use
  query_options: Optional query options to use

Returns:
  A Batcher that implicitly fetches query results asynchronously.

Raises:
  datastore_errors.BadArgumentError if any of the arguments are invalid.
def google.appengine.datastore.datastore_query._BaseQuery.run_async (   self,
  conn,
  query_options = None 
)
Runs the query using the provided datastore_rpc.Connection.

Args:
  conn: the datastore_rpc.Connection on which to run the query.
  query_options: Optional QueryOptions with which to run the query.

Returns:
  An async object that can be used to grab the first Batch. Additional
  batches can be retrieved by calling Batch.next_batch/next_batch_async.

Raises:
  datastore_errors.BadArgumentError if any of the arguments are invalid.

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