bsddb.dbobj
index
/usr/local/lib/python2.3/bsddb/dbobj.py

#-------------------------------------------------------------------------
#  This file contains real Python object wrappers for DB and DBEnv
#  C "objects" that can be usefully subclassed.  The previous SWIG
#  based interface allowed this thanks to SWIG's shadow classes.
#   --  Gregory P. Smith
#-------------------------------------------------------------------------
#
# (C) Copyright 2001  Autonomous Zone Industries
#
# License:  This is free software.  You may use this software for any
#           purpose including modification/redistribution, so long as
#           this header remains intact and that you do not claim any
#           rights of ownership or authorship of this software.  This
#           software has been tested, but no warranty is expressed or
#           implied.
#

 
Modules
       
bsddb.db

 
Classes
       
DBEnv
UserDict.DictMixin
DB

 
class DB(UserDict.DictMixin)
     Methods defined here:
__delitem__(self, arg)
__getitem__(self, arg)
__init__(self, dbenv, *args, **kwargs)
__len__(self)
# TODO are there other dict methods that need to be overridden?
__setitem__(self, key, value)
append(self, *args, **kwargs)
associate(self, *args, **kwargs)
close(self, *args, **kwargs)
consume(self, *args, **kwargs)
consume_wait(self, *args, **kwargs)
cursor(self, *args, **kwargs)
delete(self, *args, **kwargs)
fd(self, *args, **kwargs)
get(self, *args, **kwargs)
get_both(self, *args, **kwargs)
get_byteswapped(self, *args, **kwargs)
get_size(self, *args, **kwargs)
get_type(self, *args, **kwargs)
has_key(self, *args, **kwargs)
items(self, *args, **kwargs)
join(self, *args, **kwargs)
key_range(self, *args, **kwargs)
keys(self, *args, **kwargs)
open(self, *args, **kwargs)
put(self, *args, **kwargs)
remove(self, *args, **kwargs)
rename(self, *args, **kwargs)
set_bt_minkey(self, *args, **kwargs)
set_cachesize(self, *args, **kwargs)
set_encrypt(self, *args, **kwargs)
set_flags(self, *args, **kwargs)
set_get_returns_none(self, *args, **kwargs)
set_h_ffactor(self, *args, **kwargs)
set_h_nelem(self, *args, **kwargs)
set_lorder(self, *args, **kwargs)
set_pagesize(self, *args, **kwargs)
set_q_extentsize(self, *args, **kwargs)
set_re_delim(self, *args, **kwargs)
set_re_len(self, *args, **kwargs)
set_re_pad(self, *args, **kwargs)
set_re_source(self, *args, **kwargs)
stat(self, *args, **kwargs)
sync(self, *args, **kwargs)
type(self, *args, **kwargs)
upgrade(self, *args, **kwargs)
values(self, *args, **kwargs)
verify(self, *args, **kwargs)

Methods inherited from UserDict.DictMixin:
__cmp__(self, other)
__contains__(self, key)
__iter__(self)
# second level definitions support higher levels
__repr__(self)
clear(self)
iteritems(self)
# third level takes advantage of second level definitions
iterkeys(self)
itervalues(self)
# fourth level uses definitions from lower levels
pop(self, key, *args)
popitem(self)
setdefault(self, key, default)
update(self, other)

 
class DBEnv
     Methods defined here:
__init__(self, *args, **kwargs)
close(self, *args, **kwargs)
dbremove(self, *args, **kwargs)
dbrename(self, *args, **kwargs)
lock_detect(self, *args, **kwargs)
lock_get(self, *args, **kwargs)
lock_id(self, *args, **kwargs)
lock_put(self, *args, **kwargs)
lock_stat(self, *args, **kwargs)
log_archive(self, *args, **kwargs)
open(self, *args, **kwargs)
remove(self, *args, **kwargs)
set_cachesize(self, *args, **kwargs)
set_data_dir(self, *args, **kwargs)
set_encrypt(self, *args, **kwargs)
set_flags(self, *args, **kwargs)
set_get_returns_none(self, *args, **kwargs)
set_lg_bsize(self, *args, **kwargs)
set_lg_dir(self, *args, **kwargs)
set_lg_max(self, *args, **kwargs)
set_lk_detect(self, *args, **kwargs)
set_lk_max(self, *args, **kwargs)
set_lk_max_lockers(self, *args, **kwargs)
set_lk_max_locks(self, *args, **kwargs)
set_lk_max_objects(self, *args, **kwargs)
set_mp_mmapsize(self, *args, **kwargs)
set_timeout(self, *args, **kwargs)
set_tmp_dir(self, *args, **kwargs)
set_tx_max(self, *args, **kwargs)
txn_begin(self, *args, **kwargs)
txn_checkpoint(self, *args, **kwargs)
txn_stat(self, *args, **kwargs)