Package Pyblio :: Package Stores :: Package bsddbstore
[show private | hide private]
[frames | no frames]

Package Pyblio.Stores.bsddbstore

Store implementation on top of Berkeley DB (>= 4.1)

This store is suitable for large databases, or for cases where the startup time is more important.
Classes
Database A Pyblio database stored in a Berkeley DB engine
ResultSet  
ResultSetStore  
RSDB Virtual result set that loops over the full database
View  
_NoTxnEnv I pretend to be a DBEnv, with overloadable txn management functions.
_TxnEnv I pretend to be a DBEnv, with overloadable txn management functions.

Function Summary
  dbcreate(path, schema, args)
  dbdestroy(path, nobackup)
  dbimport(target, source, args)
  dbopen(path, args)
  _checkver(module)
  _compare(a, b)
  _idxadd(_idx, id, words, txn)
Mark id as matching all the words.
  _idxdel(_idx, id, txn)
Remove any secondary index belonging to the entry
  _numver(txt)

Variable Summary
str description = 'Berkeley DB storage'
Logger log = <logging.Logger instance at 0xa788d0ac>
tuple _REQUIRED = (4, 3, 3, 0, 0)
dict _units = {'k': 1024, 'M': 1048576, 'G': 1073741824}

Function Details

_idxadd(_idx, id, words, txn)

Mark id as matching all the words.

_idxdel(_idx, id, txn)

Remove any secondary index belonging to the entry

Variable Details

description

Type:
str
Value:
'Berkeley DB storage'                                                  

log

Type:
Logger
Value:
<logging.Logger instance at 0xa788d0ac>                                

_REQUIRED

Type:
tuple
Value:
(4, 3, 3, 0, 0)                                                        

_units

Type:
dict
Value:
{'k': 1024, 'M': 1048576, 'G': 1073741824}                             

Generated by Epydoc 2.1 on Sun Sep 24 23:52:43 2006 http://epydoc.sf.net