Back to index

python-biopython  1.60
Public Member Functions | Public Attributes | Static Public Attributes
Bio.DocSQL.QueryAll Class Reference
Inheritance diagram for Bio.DocSQL.QueryAll:
Inheritance graph
Collaboration diagram for Bio.DocSQL.QueryAll:
Collaboration graph

List of all members.

Public Member Functions

def __init__
def process_row
def __iter__
def __repr__
def cursor
def dump

Public Attributes


Static Public Attributes

string MSG_FAILURE = "Failure"
string MSG_SUCCESS = "Success"
string message = "not executed"
string error_message = ""
string prefix = ""
string suffix = ""
 row_class = QueryRow

Detailed Description

Definition at line 157 of file

Constructor & Destructor Documentation

def Bio.DocSQL.QueryAll.__init__ (   self,

Reimplemented from Bio.DocSQL.Query.

Definition at line 158 of file

00159     def __init__(self, *args, **keywds):
00160         Query.__init__(self, *args, **keywds)
00161         list.__init__(self, map(self.process_row, self.cursor().fetchall()))

Here is the call graph for this function:

Here is the caller graph for this function:

Member Function Documentation

def Bio.DocSQL.Query.__iter__ (   self) [inherited]

Definition at line 109 of file

00110     def __iter__(self):
00111         return IterationCursor(self, self.connection)

Here is the caller graph for this function:

def Bio.DocSQL.Query.__repr__ (   self) [inherited]

Definition at line 112 of file

00113     def __repr__(self):
00114         return "%s(message=%s)" % (self.__class__.__name__, self.message)

def Bio.DocSQL.Query.cursor (   self) [inherited]

Reimplemented in Bio.DocSQL.QuerySingle.

Definition at line 115 of file

00116     def cursor(self):
00117         return iter(self).cursor

Here is the caller graph for this function:

def Bio.DocSQL.Query.dump (   self) [inherited]

Definition at line 118 of file

00119     def dump(self):
00120         for item in self:
00121             print item

def Bio.DocSQL.QueryAll.process_row (   self,

Reimplemented in Bio.DocSQL.QueryAllFirstItem.

Definition at line 162 of file

00163     def process_row(self, row):
00164         return row

Here is the caller graph for this function:

Member Data Documentation

Definition at line 98 of file

Definition at line 102 of file

string Bio.DocSQL.Query.error_message = "" [static, inherited]

Definition at line 91 of file

string Bio.DocSQL.Query.message = "not executed" [static, inherited]

Reimplemented in Bio.DocSQL.Create.

Definition at line 90 of file

string Bio.DocSQL.Query.MSG_FAILURE = "Failure" [static, inherited]

Definition at line 88 of file

string Bio.DocSQL.Query.MSG_SUCCESS = "Success" [static, inherited]

Definition at line 89 of file

Definition at line 107 of file

string Bio.DocSQL.Query.prefix = "" [static, inherited]

Definition at line 92 of file

Bio.DocSQL.Query.row_class = QueryRow [static, inherited]

Definition at line 94 of file

Reimplemented in Bio.DocSQL.QueryGeneric.

Definition at line 106 of file

string Bio.DocSQL.Query.suffix = "" [static, inherited]

Definition at line 93 of file

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