#include <honey_lazytable.h>
|
| | HoneyLazyTable (const char *name_, const std::string &path_, bool readonly) |
| | Create a new lazy table. More...
|
| |
| | HoneyLazyTable (const char *name_, int fd, off_t offset_, bool readonly) |
| |
| | HoneyTable (const char *, const std::string &path_, bool read_only_, bool lazy_=false) |
| |
| | HoneyTable (const char *, int fd, off_t offset_, bool read_only_, bool lazy_=false) |
| |
| | ~HoneyTable () |
| |
| bool | is_writable () const |
| |
| int | get_flags () const |
| |
| void | create_and_open (int flags_, const Honey::RootInfo &root_info) |
| |
| void | open (int flags_, const Honey::RootInfo &root_info, honey_revision_number_t) |
| |
| void | close (bool permanent) |
| |
| const std::string & | get_path () const |
| |
| void | add (std::string_view key, const char *val, size_t val_size, bool compressed=false) |
| |
| void | add (std::string_view key, std::string_view val, bool compressed=false) |
| |
| void | flush_db () |
| |
| void | cancel (const Honey::RootInfo &, honey_revision_number_t) |
| |
| void | commit (honey_revision_number_t, Honey::RootInfo *root_info) |
| |
| bool | sync () |
| |
| bool | empty () const |
| |
| bool | get_exact_entry (std::string_view key, std::string &tag) const |
| |
| bool | key_exists (const std::string &key) const |
| |
| bool | del (const std::string &) |
| |
| bool | readahead_key (const std::string &) const |
| |
| bool | is_modified () const |
| |
| HoneyCursor * | cursor_get () const |
| |
| bool | exists () const |
| |
| bool | is_open () const |
| |
| honey_tablesize_t | get_entry_count () const |
| |
| honey_tablesize_t | get_approx_entry_count () const |
| | Return an approximation of the number of entries in the table. More...
|
| |
| off_t | get_root () const |
| |
| off_t | get_offset () const |
| |
Definition at line 26 of file honey_lazytable.h.
◆ HoneyLazyTable() [1/2]
| HoneyLazyTable::HoneyLazyTable |
( |
const char * |
name_, |
|
|
const std::string & |
path_, |
|
|
bool |
readonly |
|
) |
| |
|
inline |
Create a new lazy table.
- Parameters
-
| name_ | The table's name. |
| path_ | The path for the table. |
| readonly | true if the table is read-only, else false. |
Definition at line 34 of file honey_lazytable.h.
◆ HoneyLazyTable() [2/2]
| HoneyLazyTable::HoneyLazyTable |
( |
const char * |
name_, |
|
|
int |
fd, |
|
|
off_t |
offset_, |
|
|
bool |
readonly |
|
) |
| |
|
inline |
The documentation for this class was generated from the following file: