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.api.logservice.logservice._LogQueryResult Class Reference
Inheritance diagram for google.appengine.api.logservice.logservice._LogQueryResult:

Public Member Functions

def __init__
 
def __iter__
 

Detailed Description

A container that holds a log request and provides an iterator to read logs.

A _LogQueryResult object is the standard returned item for a call to fetch().
It is iterable - each value returned is a log that the user has queried for,
and internally, it holds a cursor that it uses to fetch more results once the
current, locally held set, are exhausted.

Properties:
  _request: A LogReadRequest that contains the parameters the user has set for
    the initial fetch call, which will be updated with a more current cursor
    if more logs are requested.
  _logs: A list of RequestLogs corresponding to logs the user has asked for.
  _read_called: A boolean that indicates if a Read call has even been made
    with the request stored in this object.

Constructor & Destructor Documentation

def google.appengine.api.logservice.logservice._LogQueryResult.__init__ (   self,
  request,
  timeout = None 
)
Constructor.

Args:
  request: A LogReadRequest object that will be used for Read calls.

Member Function Documentation

def google.appengine.api.logservice.logservice._LogQueryResult.__iter__ (   self)
Provides an iterator that yields log records one at a time.

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