BDB
Object Hierarchy:
Description:
[ Compact ]
[ CCode ( cname = "TCBDB" , cprefix = "tcbdb" , free_function = "tcbdbdel" ) ]
public class BDB
Content:
Classes:
Enums:
Properties:
- public uint64 length { get; }
- public uint64 size { get; }
Delegates:
- public delegate int Compare (uint8[] a, uint8[] b)
Static methods:
Creation methods:
Methods:
- public uint8[]? @get (uint8[] key)
- public double add_double (uint8[] key, double num)
- public int add_int (uint8[] key, int num)
- public bool append (uint8[] key, uint8[] value)
- public bool append_string (string key, string value)
- public bool clear ()
- public bool close ()
- public bool copy (string path)
- public List forward_matching_keys (uint8[] pbuf, int max)
- public List forward_matching_keys_string (string pstr, int max)
- public ErrorCode get_error_code ()
- public uint64 get_length ()
- public List get_list (uint8[] key)
- public uint64 get_size ()
- public string? get_string (string key)
- public Cursor iterator ()
- public bool open (string path, OpenMode mode = READER | WRITER | CREAT)
- public bool optimize (int32 lmemb, int32 nmemb, int64 bnum, int8 apow, int8 fpow, TuningOption opts)
- public unowned string path ()
- public bool put (uint8[] key, uint8[] value)
- public bool put_duplicate (uint8[] key, uint8[] value)
- public bool put_duplicate_string (string key, string value)
- public bool put_string (string key, string value)
- public List range (uint8[] bkey, bool binc, uint8[] ekey, bool einc, int max)
- public List range_string (string bkey, bool binc, string ekey, bool einc, int max)
- public bool remove (uint8[] key)
- public bool remove_string (string key)
- public bool replace (uint8[] key, uint8[] value)
- public bool replace_string (string key, string value)
- public bool set_compare_func (Compare cmp)
- public bool set_defragment_unit (int32 dfunit)
- public bool set_extra_mapped_size (int64 xmsiz)
- public bool set_mutex ()
- public bool sync ()
- public bool transaction_abort ()
- public bool transaction_begin ()
- public bool transaction_commit ()
- public bool tune (int32 lmemb, int32 nmemb, int64 bnum, int8 apow, int8 fpow, TuningOption opts)
- public int value_count (uint8[] key)
- public int value_count_string (string key)
- public int value_size (uint8[] key)
- public int value_size_string (string key)