Joedb 9.1.3
The Journal-Only Embedded Database
|
Shortcut to directly build a Client from a file name. More...
#include <tutorial/File_Client.h>
Public Member Functions | |
File_Client (const char *file_name) | |
File_Client (const std::string &file_name) | |
![]() | |
Client (joedb::Buffered_File &file, joedb::Connection &connection, bool content_check=true, joedb::Readonly_Journal::Check check=joedb::Readonly_Journal::Check::all, joedb::Commit_Level commit_level=joedb::Commit_Level::no_commit) | |
const Database & | get_database () const |
template<typename F > | |
void | transaction (F transaction) |
Execute a write transaction. | |
![]() | |
Client (Readonly_Journal &journal, Connection &connection, bool content_check=true) | |
bool | is_readonly () const |
const Readonly_Journal & | get_journal () const |
int64_t | get_checkpoint () const |
std::string | read_blob_data (Blob blob) const |
int64_t | get_server_checkpoint () const |
int64_t | get_checkpoint_difference () const |
int64_t | pull (std::chrono::milliseconds wait=std::chrono::milliseconds(0)) |
void | push_unlock () |
virtual | ~Client () |
Additional Inherited Members | |
![]() | |
void | read_journal () override |
![]() | |
template<typename F > | |
void | transaction (F transaction) |
Definition at line 38 of file File_Client.h.
|
inline |
Definition at line 41 of file File_Client.h.
|
inline |
Definition at line 47 of file File_Client.h.