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_stub_util.ListCursor Class Reference
Inheritance diagram for google.appengine.datastore.datastore_stub_util.ListCursor:
google.appengine.datastore.datastore_stub_util.BaseCursor

Public Member Functions

def __init__
 
def PopulateQueryResult
 
- Public Member Functions inherited from google.appengine.datastore.datastore_stub_util.BaseCursor
def __init__
 

Additional Inherited Members

- Public Attributes inherited from google.appengine.datastore.datastore_stub_util.BaseCursor
 keys_only
 
 property_names
 
 group_by
 
 app
 
 cursor
 

Detailed Description

A query cursor over a list of entities.

Public properties:
  keys_only: whether the query is keys_only

Constructor & Destructor Documentation

def google.appengine.datastore.datastore_stub_util.ListCursor.__init__ (   self,
  query,
  dsquery,
  orders,
  index_list,
  results 
)
Constructor.

Args:
  query: the query request proto
  dsquery: a datastore_query.Query over query.
  orders: the orders of query as returned by _GuessOrders.
  index_list: the list of indexes used by the query.
  results: list of entity_pb.EntityProto

Member Function Documentation

def google.appengine.datastore.datastore_stub_util.ListCursor.PopulateQueryResult (   self,
  result,
  count,
  offset,
  compile = False,
  first_result = False 
)
Populates a QueryResult with this cursor and the given number of results.

Args:
  result: datastore_pb.QueryResult
  count: integer of how many results to return
  offset: integer of how many results to skip
  compile: boolean, whether we are compiling this query
  first_result: whether the query result is the first for this query

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