Joedb 9.1.4
The Journal-Only Embedded Database
|
#include <joedb/Selective_Writable.h>
Public Types | |
enum | Mode { schema = 1 , data = 2 , information = 4 , data_and_schema = 3 , data_and_information = 6 , all = 7 } |
Public Member Functions | |
Selective_Writable (Writable &writable, Mode mode) | |
bool | has_blobs () const |
void | create_table (const std::string &name) override |
void | drop_table (Table_Id table_id) override |
void | rename_table (Table_Id table_id, const std::string &name) override |
void | add_field (Table_Id table_id, const std::string &name, Type type) override |
void | drop_field (Table_Id table_id, Field_Id field_id) override |
void | rename_field (Table_Id table_id, Field_Id field_id, const std::string &name) override |
void | custom (const std::string &name) override |
void | comment (const std::string &comment) override |
void | timestamp (int64_t timestamp) override |
void | valid_data () override |
void | checkpoint (Commit_Level commit_level) override |
void | insert_into (Table_Id table_id, Record_Id record_id) override |
void | insert_vector (Table_Id table_id, Record_Id record_id, size_t size) override |
void | delete_from (Table_Id table_id, Record_Id record_id) override |
void | on_blob (Blob blob) final |
![]() | |
Writable (Commit_Level default_commit_level=Commit_Level::no_commit) | |
virtual void | flush () |
Commit_Level | get_default_commit_level () const |
void | default_checkpoint () |
virtual bool | wants_blob_data () const |
virtual Blob | write_blob_data (const std::string &data) |
virtual | ~Writable ()=default |
Definition at line 9 of file Selective_Writable.h.
Enumerator | |
---|---|
schema | |
data | |
information | |
data_and_schema | |
data_and_information | |
all |
Definition at line 13 of file Selective_Writable.h.
Definition at line 6 of file Selective_Writable.cpp.
|
overridevirtual |
Reimplemented from joedb::Writable.
Definition at line 36 of file Selective_Writable.cpp.
|
overridevirtual |
Reimplemented from joedb::Writable.
Definition at line 86 of file Selective_Writable.cpp.
|
overridevirtual |
Reimplemented from joedb::Writable.
Definition at line 68 of file Selective_Writable.cpp.
|
overridevirtual |
Reimplemented from joedb::Writable.
Definition at line 17 of file Selective_Writable.cpp.
|
overridevirtual |
Reimplemented from joedb::Writable.
Definition at line 59 of file Selective_Writable.cpp.
|
overridevirtual |
Reimplemented from joedb::Writable.
Definition at line 108 of file Selective_Writable.cpp.
Reimplemented from joedb::Writable.
Definition at line 44 of file Selective_Writable.cpp.
|
overridevirtual |
Reimplemented from joedb::Writable.
Definition at line 23 of file Selective_Writable.cpp.
|
inline |
Definition at line 33 of file Selective_Writable.h.
|
overridevirtual |
Reimplemented from joedb::Writable.
Definition at line 94 of file Selective_Writable.cpp.
|
overridevirtual |
Reimplemented from joedb::Writable.
Definition at line 100 of file Selective_Writable.cpp.
|
finalvirtual |
Reimplemented from joedb::Writable.
Definition at line 125 of file Selective_Writable.cpp.
|
overridevirtual |
Reimplemented from joedb::Writable.
Definition at line 51 of file Selective_Writable.cpp.
|
overridevirtual |
Reimplemented from joedb::Writable.
Definition at line 29 of file Selective_Writable.cpp.
|
overridevirtual |
Reimplemented from joedb::Writable.
Definition at line 74 of file Selective_Writable.cpp.
|
overridevirtual |
Reimplemented from joedb::Writable.
Definition at line 80 of file Selective_Writable.cpp.