Package pysql :: Module pysqldb :: Class BgQuery
[hide private]
[frames] | no frames]

Class BgQuery

source code


Background query to Oracle

Instance Methods [hide private]
 
__init__(self, connect_string, query, exceptions)
x.__init__(...) initializes x; see x.__class__.__doc__ for signature
source code
 
run(self)
Method executed when the thread object start() method is called
source code
 
getName(self)
Return a simple name: the ID of the python thread
source code
 
getStartTime(self) source code
 
getEndTime(self) source code
 
getExecutionTime(self) source code

Inherited from threading.Thread: __repr__, daemon, ident, isAlive, isDaemon, is_alive, join, name, setDaemon, setName, start

Inherited from threading.Thread (private): _set_daemon, _set_ident

Inherited from threading._Verbose (private): _note

Inherited from object: __delattr__, __format__, __getattribute__, __hash__, __new__, __reduce__, __reduce_ex__, __setattr__, __sizeof__, __str__, __subclasshook__

Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

__init__(self, connect_string, query, exceptions)
(Constructor)

source code 

x.__init__(...) initializes x; see x.__class__.__doc__ for signature

Parameters:
  • connect_string (str) - Oracle connection string to database
  • query (str) - SQL request to be executed in backgound
  • exceptions (list) - list of current exception to sum up error at exit
Overrides: object.__init__

run(self)

source code 

Method executed when the thread object start() method is called

Overrides: threading.Thread.run

getName(self)

source code 

Return a simple name: the ID of the python thread

Overrides: threading.Thread.getName