Db

Undocumented in source.
class Db {}

Constructors

this
this(DbEnv dbenv, uint32_t flags)
Undocumented in source.

Destructor

~this
~this()
Undocumented in source.

Members

Functions

associate
void associate(DbTxn txnid, Db secondary, int function(Db secondary, ref const(Dbt) key, ref const(Dbt) data, out Dbt result) callback, uint32_t flags)
Undocumented in source. Be warned that the author may not have intended to support it.
associate_foreign
void associate_foreign(Db secondary, int function(Db secondary, ref const(Dbt) key, out Dbt data, ref const(Dbt) foreignkey, out int changed) callback, uint32_t flags)
Undocumented in source. Be warned that the author may not have intended to support it.
close
void close(uint32_t flags)
Undocumented in source. Be warned that the author may not have intended to support it.
compact
void compact(DbTxn txnid, Dbt* start, Dbt* stop, DbCompact* c_data, uint32_t flags, Dbt* end)
Undocumented in source. Be warned that the author may not have intended to support it.
cursor
Dbc cursor(DbTxn txnid, uint32_t flags)
Undocumented in source. Be warned that the author may not have intended to support it.
del
int del(DbTxn txnid, Dbt* key, uint32_t flags)
Undocumented in source. Be warned that the author may not have intended to support it.
err
void err(int error, string fmt, T args)
Undocumented in source. Be warned that the author may not have intended to support it.
errx
void errx(string fmt, T args)
Undocumented in source. Be warned that the author may not have intended to support it.
exists
int exists(DbTxn txnid, Dbt* key, uint32_t flags)
Undocumented in source. Be warned that the author may not have intended to support it.
fd
int fd()
Undocumented in source. Be warned that the author may not have intended to support it.
get
int get(DbTxn txnid, Dbt* key, Dbt* data, uint32_t flags)
Undocumented in source. Be warned that the author may not have intended to support it.
get_blob_dir
string get_blob_dir()
Undocumented in source. Be warned that the author may not have intended to support it.
get_blob_threshold
uint32_t get_blob_threshold()
Undocumented in source. Be warned that the author may not have intended to support it.
get_bt_minkey
uint32_t get_bt_minkey()
Undocumented in source. Be warned that the author may not have intended to support it.
get_byteswapped
int get_byteswapped()
Undocumented in source. Be warned that the author may not have intended to support it.
get_cachesize
void get_cachesize(uint32_t gbytes, uint32_t bytes, int ncache)
Undocumented in source. Be warned that the author may not have intended to support it.
get_cachesize
void get_cachesize(uint64_t bytes, int ncache)
Undocumented in source. Be warned that the author may not have intended to support it.
get_cachesize
uint64_t get_cachesize(int ncache)
Undocumented in source. Be warned that the author may not have intended to support it.
get_create_dir
string get_create_dir()
Undocumented in source. Be warned that the author may not have intended to support it.
get_dbname
void get_dbname(string filename, string dbname)
Undocumented in source. Be warned that the author may not have intended to support it.
get_encrypt_flags
uint32_t get_encrypt_flags()
Undocumented in source. Be warned that the author may not have intended to support it.
get_env
DbEnv get_env()
Undocumented in source. Be warned that the author may not have intended to support it.
get_errfile
File get_errfile()
Undocumented in source. Be warned that the author may not have intended to support it.
get_errpfx
string get_errpfx()
Undocumented in source. Be warned that the author may not have intended to support it.
get_flags
uint32_t get_flags()
Undocumented in source. Be warned that the author may not have intended to support it.
get_h_ffactor
uint32_t get_h_ffactor()
Undocumented in source. Be warned that the author may not have intended to support it.
get_h_nelem
uint32_t get_h_nelem(uint32_t* h_nelemp)
Undocumented in source. Be warned that the author may not have intended to support it.
get_heap_regionsize
uint32_t get_heap_regionsize()
Undocumented in source. Be warned that the author may not have intended to support it.
get_heapsize
void get_heapsize(uint32_t gbytes, uint32_t bytes)
Undocumented in source. Be warned that the author may not have intended to support it.
get_heapsize
uint64_t get_heapsize()
Undocumented in source. Be warned that the author may not have intended to support it.
get_lk_exclusive
void get_lk_exclusive(int onoff, int nowait)
Undocumented in source. Be warned that the author may not have intended to support it.
get_lorder
int get_lorder()
Undocumented in source. Be warned that the author may not have intended to support it.
get_mpf
DbMpoolfile get_mpf()
Undocumented in source. Be warned that the author may not have intended to support it.
get_msgfile
File get_msgfile()
Undocumented in source. Be warned that the author may not have intended to support it.
get_multiple
int get_multiple()
Undocumented in source. Be warned that the author may not have intended to support it.
get_open_flags
uint32_t get_open_flags()
Undocumented in source. Be warned that the author may not have intended to support it.
get_pagesize
uint32_t get_pagesize()
Undocumented in source. Be warned that the author may not have intended to support it.
get_partition_callback
void get_partition_callback(uint32_t parts, uint32_t function(Db dbp, Dbt* key) callback_fcn)
Undocumented in source. Be warned that the author may not have intended to support it.
get_partition_dirs
string[] get_partition_dirs()
Undocumented in source. Be warned that the author may not have intended to support it.
get_partition_keys
void get_partition_keys(uint32_t parts, Dbt[] keys)
Undocumented in source. Be warned that the author may not have intended to support it.
get_partition_keys
Dbt[] get_partition_keys()
Undocumented in source. Be warned that the author may not have intended to support it.
get_priority
DbCachePriority get_priority()
Undocumented in source. Be warned that the author may not have intended to support it.
get_q_extentsize
uint32_t get_q_extentsize()
Undocumented in source. Be warned that the author may not have intended to support it.
get_re_delim
int get_re_delim()
Undocumented in source. Be warned that the author may not have intended to support it.
get_re_len
uint32_t get_re_len()
Undocumented in source. Be warned that the author may not have intended to support it.
get_re_pad
int get_re_pad()
Undocumented in source. Be warned that the author may not have intended to support it.
get_re_source
string get_re_source()
Undocumented in source. Be warned that the author may not have intended to support it.
get_transactional
int get_transactional()
Undocumented in source. Be warned that the author may not have intended to support it.
get_type
DBTYPE get_type()
Undocumented in source. Be warned that the author may not have intended to support it.
join
Dbc join(Dbc[] curslist, uint32_t flags)
Undocumented in source. Be warned that the author may not have intended to support it.
key_range
DbKeyRange key_range(DbTxn txnid, Dbt* key, uint32_t flags)
Undocumented in source. Be warned that the author may not have intended to support it.
open
void open(DbTxn txnid, string file, string database, DBTYPE type, uint32_t flags, int mode)
Undocumented in source. Be warned that the author may not have intended to support it.
pget
int pget(DbTxn txnid, Dbt* key, Dbt* pkey, Dbt* data, uint32_t flags)
Undocumented in source. Be warned that the author may not have intended to support it.
put
int put(DbTxn txnid, Dbt* key, Dbt* data, uint32_t flags)
Undocumented in source. Be warned that the author may not have intended to support it.
remove
void remove(string file, string database, uint32_t flags)
Undocumented in source. Be warned that the author may not have intended to support it.
rename
void rename(string file, string database, string newname, uint32_t flags)
Undocumented in source. Be warned that the author may not have intended to support it.
set_alloc
void set_alloc(void* function(size_t) app_malloc, void* function(void*, size_t) app_realloc, void function(void*) app_free)
Undocumented in source. Be warned that the author may not have intended to support it.
set_append_recno
void set_append_recno(int function(Db db, Dbt* data, db_recno_t recno) db_append_recno_fcn)
Undocumented in source. Be warned that the author may not have intended to support it.
set_blob_dir
void set_blob_dir(string dir)
Undocumented in source. Be warned that the author may not have intended to support it.
set_blob_threshold
void set_blob_threshold(uint32_t bytes, uint32_t flags)
Undocumented in source. Be warned that the author may not have intended to support it.
set_bt_compare
void set_bt_compare(bt_compare_fcn_t bt_compare_fcn)
Undocumented in source. Be warned that the author may not have intended to support it.
set_bt_compress
void set_bt_compress(int function(Db db, const(Dbt)* prevKey, const(Dbt)* prevData, const(Dbt)* key, const(Dbt)* data, Dbt* dest) bt_compress_fcn, int function(Db db, const(Dbt)* prevKey, const(Dbt)* prevData, Dbt* compressed, Dbt* destKey, Dbt* destData) bt_decompress_fcn)
Undocumented in source. Be warned that the author may not have intended to support it.
set_bt_minkey
void set_bt_minkey(uint32_t bt_minkey)
Undocumented in source. Be warned that the author may not have intended to support it.
set_bt_prefix
void set_bt_prefix(size_t function(Db, const(Dbt)* dbt1, const(Dbt)* dbt2) bt_prefix_fcn)
Undocumented in source. Be warned that the author may not have intended to support it.
set_cachesize
void set_cachesize(uint32_t gbytes, uint32_t bytes, int ncache)
Undocumented in source. Be warned that the author may not have intended to support it.
set_cachesize
void set_cachesize(uint64_t bytes, int ncache)
Undocumented in source. Be warned that the author may not have intended to support it.
set_create_dir
void set_create_dir(string dir)
Undocumented in source. Be warned that the author may not have intended to support it.
set_dup_compare
void set_dup_compare(dup_compare_fcn_t dup_compare_fcn)
Undocumented in source. Be warned that the author may not have intended to support it.
set_encrypt
void set_encrypt(string passwd, uint32_t flags)
Undocumented in source. Be warned that the author may not have intended to support it.
set_errfile
void set_errfile(File errfile)
Undocumented in source. Be warned that the author may not have intended to support it.
set_errpfx
void set_errpfx(string errpfx)
Undocumented in source. Be warned that the author may not have intended to support it.
set_feedback
void set_feedback(void function(Db db, int opcode, int percent) db_feedback_fcn)
Undocumented in source. Be warned that the author may not have intended to support it.
set_flags
void set_flags(uint32_t flags)
Undocumented in source. Be warned that the author may not have intended to support it.
set_h_compare
void set_h_compare(compare_fcn_t compare_fcn)
Undocumented in source. Be warned that the author may not have intended to support it.
set_h_ffactor
void set_h_ffactor(uint32_t h_ffactor)
Undocumented in source. Be warned that the author may not have intended to support it.
set_h_hash
void set_h_hash(uint32_t function(Db dbp, const(ubyte)[] bytes) h_hash_fcn)
Undocumented in source. Be warned that the author may not have intended to support it.
set_h_nelem
void set_h_nelem(uint32_t h_nelem)
Undocumented in source. Be warned that the author may not have intended to support it.
set_heap_regionsize
void set_heap_regionsize(uint32_t npages)
Undocumented in source. Be warned that the author may not have intended to support it.
set_heapsize
void set_heapsize(uint32_t gbytes, uint32_t bytes, uint32_t flags)
Undocumented in source. Be warned that the author may not have intended to support it.
set_heapsize
void set_heapsize(uint64_t bytes, uint32_t flags)
Undocumented in source. Be warned that the author may not have intended to support it.
set_lk_exclusive
void set_lk_exclusive(int nowait_onoff)
Undocumented in source. Be warned that the author may not have intended to support it.
set_lorder
void set_lorder(int lorder)
Undocumented in source. Be warned that the author may not have intended to support it.
set_msgcall
void set_msgcall(void function(const DbEnv dbenv, string msg) db_msgcall_fcn)
Undocumented in source. Be warned that the author may not have intended to support it.
set_msgcall
void set_msgcall(void function(const(DB_ENV)* dbenv, const(char)* msg) db_msgcall_fcn)
Undocumented in source. Be warned that the author may not have intended to support it.
set_msgfile
void set_msgfile(File msgfile)
Undocumented in source. Be warned that the author may not have intended to support it.
set_pagesize
void set_pagesize(uint32_t pagesize)
Undocumented in source. Be warned that the author may not have intended to support it.
set_partition
void set_partition(uint32_t parts, Dbt[] keys, uint32_t function(Db db, Dbt* key) db_partition_fcn)
Undocumented in source. Be warned that the author may not have intended to support it.
set_partition_dirs
void set_partition_dirs(string[] dirs)
Undocumented in source. Be warned that the author may not have intended to support it.
set_priority
void set_priority(DbCachePriority priority)
Undocumented in source. Be warned that the author may not have intended to support it.
set_q_extentsize
void set_q_extentsize(uint32_t extentsize)
Undocumented in source. Be warned that the author may not have intended to support it.
set_re_delim
void set_re_delim(int re_delim)
Undocumented in source. Be warned that the author may not have intended to support it.
set_re_len
void set_re_len(uint32_t re_len)
Undocumented in source. Be warned that the author may not have intended to support it.
set_re_pad
void set_re_pad(int re_pad)
Undocumented in source. Be warned that the author may not have intended to support it.
set_re_source
void set_re_source(string source)
Undocumented in source. Be warned that the author may not have intended to support it.
stat
void stat(DbTxn txnid, void* sp, uint32_t flags)
Undocumented in source. Be warned that the author may not have intended to support it.
stat_print
void stat_print(uint32_t flags)
Undocumented in source. Be warned that the author may not have intended to support it.
sync
void sync(uint32_t flags)
Undocumented in source. Be warned that the author may not have intended to support it.
truncate
uint32_t truncate(DbTxn txnid, uint32_t flags)
Undocumented in source. Be warned that the author may not have intended to support it.
upgrade
void upgrade(string file, uint32_t flags)
Undocumented in source. Be warned that the author may not have intended to support it.
verify
void verify(string file, string database, File outfile, uint32_t flags)
Undocumented in source. Be warned that the author may not have intended to support it.

Properties

_DB
DB* _DB [@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.
_dbenv
DbEnv _dbenv [@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.
_opened
int _opened [@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.

Meta