Package lemon :: Package external :: Package gadfly :: Module store
[show private | hide private]
[frames | no frames]

Module lemon.external.gadfly.store

Storage objects

:Author: Aaron Watters
:Maintainers: http://gadfly.sf.net/
:Copyright: Aaron Robert Watters, 1994
:Id: $Id: store.py,v 1.1 2003/08/12 09:17:12 thejimmyg Exp $:

Classes
Add_Tuples stored rel.add_tuples(tuples)...
Database0 Quick and dirty in core database representation.
DB_Logger quick and dirty global db logger.
Erase_Tuples stored rel.erase_tuples(seqnums)...
File_Storage0 quick and dirty file storage mechanism.
Index Index for tuples in relation.
Relation0 quick and dirty in core relation representation.
Reset_Tuples stored rel.reset_tuples(tups, seqnums)...
shadow_dict shadow dictionary.
Transaction_Logger quick and dirty Log implementation per transaction.
View view object, acts like relation, with addl operations.

Exceptions
StorageError error on checking of data integrity...

Function Summary
  backup_file(filename, backupname)
backup file, if unopenable ignore...
  checksum(string)
  checksum_dump(data, file)
checksum and dump marshallable data to file...
  checksum_undump(file)
undump marshallable data from file, checksum...
  del_file(filename)
delete file, ignore errors...
  recursive_dump(data, prefix)
for debugging...

Variable Summary
str ABORT = 'ABORT'
str COMMIT = 'COMMIT'
str START = 'START'
str UNREADABLE = 'UNREADABLE'
int verbosity = 0                                                                     

Function Details

backup_file(filename, backupname)

backup file, if unopenable ignore

checksum_dump(data, file)

checksum and dump marshallable data to file

checksum_undump(file)

undump marshallable data from file, checksum

del_file(filename)

delete file, ignore errors

recursive_dump(data, prefix='[')

for debugging

Variable Details

ABORT

Type:
str
Value:
'ABORT'                                                                

COMMIT

Type:
str
Value:
'COMMIT'                                                               

START

Type:
str
Value:
'START'                                                                

UNREADABLE

Type:
str
Value:
'UNREADABLE'                                                           

verbosity

Type:
int
Value:
0                                                                     

Generated by Epydoc 2.0 on Mon Nov 10 15:08:02 2003 http://epydoc.sf.net