Trees | Index | Help |
|
---|
Module ESMove :: Class ESMoveManager |
|
ESFileTypes
--+ |SQLUtil
--+ |ESInit
--+ | ESMoveManager
Method Summary | |
---|---|
Initialize database pointer, cursor, db type (MySQL or SQLite). | |
tuple |
Move a single fileIn to fileOut destination. |
integer |
High-level method to move a list of files to fileOut destination. |
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.
|
moveFileInES(self, fileIn, fileOut)Move a single fileIn to fileOut destination. First update FileID table and then physically copy file to new location.
|
moveFilesInES(self, iFileList, fileOut)High-level method to move a list of files to fileOut destination. All job is done by usingmoveFileInES method.
|
Trees | Index | Help |
|
---|
Generated by Epydoc 2.1 on Tue Jan 24 10:46:00 2006 | http://epydoc.sf.net |