Trees | Index | Help |
|
---|
Module ESDelete :: Class ESDeleteManager |
|
ESFileTypes
--+ |SQLUtil
--+ |ESInit
--+ | ESDeleteManager
Method Summary | |
---|---|
Initialize database pointer, cursor, db type (MySQL or SQLite). | |
'Delete' given grade/timeS in EventStore. | |
Remove entries in KeyFile and Location tables. | |
Form a dictionary dict[id]=runList where id is file id | |
Remove element from dict[id]=runList | |
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.
|
deleteGrade(self, grade, timeS)'Delete' given grade/timeS in EventStore. Information about such grade is still available but its state is marked as removed and its information moved into OrphanFile table. |
doDelete(self, dict, table)Remove entries in KeyFile and Location tables. When it's done remove physically file from the system. |
formDict(self, tup)Form a dictionary dict[id]=runList where id is file id |
removeElementFromDict(self, dict, minR, maxR)Remove element from dict[id]=runList |
Trees | Index | Help |
|
---|
Generated by Epydoc 2.1 on Tue Jan 24 10:46:01 2006 | http://epydoc.sf.net |