| Trees | Index | Help |
|
|---|
| Module ESMergeSVManager :: Class ESMergeSVManager |
|
ESFileTypes--+ |SQLUtil--+ |ESInit--+ | ESMergeSVManager
| Method Summary | |
|---|---|
Initialize database pointer, cursor, db type (MySQL or SQLite). | |
Main routine to merge and update all tables using given data version list: | |
Set grade to be used | |
Set time stamp to be used | |
Update KeyFile table | |
Update Location table | |
Update Version and GraphPath tables | |
| Inherited from ESFileTypes | |
| integer |
Check if given file type is allowed in EventStore. |
| integer |
Check if given file type is allowed for injection in EventStore. |
| list |
Return a list of known file types supported in EventStore. |
| list |
Return a list of known file types supported in EventStore which allowed for injection. |
| integer |
Check if given file type is data file. |
| integer |
Check if given file type is index file. |
| integer |
Check if given file type is location file. |
| Inherited from SQLUtil | |
Close cursor and db connector | |
Explicit commit | |
Create table(s) in EventStore database. | |
Drop table in EventStore | |
Update EventStore db log and invoke COMMIT transaction. | |
Update a EventStore log and retrieve all rows for given query | |
Update a EventStore log and retrieve one row for given query | |
Find location of the data file holding given run | |
Get all parents for given child name | |
Get isolation level of SQLite DB | |
Get last autoincemented id for given table | |
Return a list of table names in EventStore DB | |
Return list of tables from DB | |
Return EventStore table schema | |
| |
Lock tables in EventStore. | |
Return the following dictionary: dict[time]=[(grade,minR,maxR,svName)] | |
Print content of given table in EventStore DB | |
Dump EventStore DB content in user readable format. | |
Print list of runs for given run range | |
Rollback transaction | |
Set flag which will inform underlying DB what to do with transaction commits. | |
Set isolation level for internal DB (necessary to perform SQLite transactions. | |
Set verbose level, 0 low, 1 is high. | |
Print all dependencies for given data version name. | |
Update EventStore db log and invoke BEGIN transaction. | |
Unlock all locked tables in EventStore | |
| |
Update EventStore log and execute given query. | |
Update EventStore db log with time/pid/msg signature | |
| Method Details |
|---|
__init__(self,
db,
dbType,
logFile)
Initialize database pointer, cursor, db type (MySQL or SQLite).
Retrieve information about table names from underlying DB.
|
merge(self, svList)Main routine to merge and update all tables using given data version list:
|
setGrade(self, grade)Set grade to be used |
setTime(self, timeS)Set time stamp to be used |
updateKeyFile(self, newgid, gidList)Update KeyFile table |
updateLocation(self, newgid, gidList)Update Location table |
updateVersion(self, svList)Update Version and GraphPath tables |
| Trees | Index | Help |
|
|---|
| Generated by Epydoc 2.1 on Tue Jan 24 10:46:01 2006 | http://epydoc.sf.net |