Trees | Index | Help |
|
---|
Module ESDump :: Class ESDumpManager |
|
ESFileTypes
--+ |SQLUtil
--+ |ESInit
--+ | ESDumpManager
Method Summary | |
---|---|
Initialize database pointer, cursor, db type (MySQL or SQLite). | |
Dump EventStore DB content in user readable format. | |
Prints all available runs in given run range. | |
Show all dependencies for given data version name. | |
Prints table content. | |
Prints table schema. | |
Find file(s) associated with given run. | |
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.
|
dumpInfo(self, timeStamp)Dump EventStore DB content in user readable format. It uses sql_util module to do the job. |
dumpRuns(self, minRun, maxRun)Prints all available runs in given run range. It uses sql_util module to do the job. |
dumpShowDepend(self, childName)Show all dependencies for given data version name. It uses sql_util module to do the job. |
dumpTable(self, dbTable)Prints table content. It uses sql_util module to do the job. |
dumpTableSchema(self, tableName)Prints table schema. It uses sql_util module to do the job. |
findFile(self, searchRun)Find file(s) associated with given run. It uses sql_util module to do the job. |
Trees | Index | Help |
|
---|
Generated by Epydoc 2.1 on Tue Jan 24 10:46:01 2006 | http://epydoc.sf.net |